|
用api工具调用,返回200了。可是在采购入库列表里看不到。第二个问题是交易类型在哪里定义接口要必传,可以系统里没有,api工具里写的是,A20001,有具体含义么?
这个是返回:
{
"code": "200",
"message": "操作成功",
"data": {
"bustype_code": "A20001",
"currency_code": "CNY",
"code": "CGRK000020230409000001",
"exchRate": 1,
"exchRateType": "n6uqh0ke",
"invoiceVendor_code": "0001000006",
"natCurrency_code": "CNY",
"org_code": "001",
"purchaseOrders": [
{
"inInvoiceOrg_code": "001",
"inOrg_code": "001",
"invExchRate": 1,
"natMoney": 412000,
"natSum": 12000,
"natTax": 0,
"natTaxUnitPrice": 0,
"natUnitPrice": 0,
"oriMoney": 4000000,
"oriSum": 412000,
"oriTax": 12000,
"oriTaxUnitPrice": 206,
"oriUnitPrice": 200,
"taxitems_code": "VAT9",
"priceQty": 2000,
"product_cCode": "87654321",
"priceUOM_Code": "KGM",
"purUOM_Code": "KGM",
"qty": 2000,
"subQty": 2000,
"unitExchangeTypePrice": 0,
"unitExchangeType": 0,
"invPriceExchRate": 0.1,
"unit_code": "KGM",
"isGiftProduct": true,
"inInvoiceOrg": "1680603575638556728",
"inInvoiceOrg__transferValue": true,
"purUOM_Precision": 2,
"purUOM": 1684296551743619080,
"purUOMImport": 1684296551743619080,
"purUOMImport_Name": "千克",
"purUOM__transferValue": true,
"priceUOM": 1684296551743619080,
"priceUOM_Precision": 2,
"priceUOMImport": 1684296551743619080,
"priceUOMImport_Name": "千克",
"priceUOM__transferValue": true,
"unit": 1684296551743619080,
"unit__transferValue": true,
"inOrg": "1680603575638556728",
"inOrg__transferValue": true,
"taxRate": 9,
"taxitems_import": "1680600594952749101",
"taxitems": "1680600594952749101",
"taxitems__transferValue": true,
"product": 1697826248471347206,
"product__transferValue": true,
"paymentProgressACKs": [],
"stockSensClue": "~",
"id": 1699021297358995463,
"mainid": 1699021297358995462,
"proDescFlag": "0",
"demandOrg": "1680603575638556728",
"lineno": 10,
"pubts": "2023-04-09 06:15:11",
"ytenant": "n6uqh0ke"
}
],
"vendor_code": "0001000006",
"vouchdate": "2023-04-09 05:00:00",
"resubmitCheckKey": "OPENAPI_66f9b3aaec324974a183c74739e473b6_n6uqh0ke_951ada30e0969e954f5d9058fff6a516",
"exchRateType__transferValue": true,
"natCurrency": "1680600594952749084",
"natCurrency__transferValue": true,
"currency": "1680600594952749084",
"currencyImport": "1680600594952749084",
"currency__transferValue": true,
"vendor": 1697876052924170249,
"vendor__transferValue": true,
"org": "1680603575638556728",
"org__transferValue": true,
"invoiceVendor": 1697876052924170249,
"invoiceVendor__transferValue": true,
"bustype": "1680600594950651943",
"bustype__transferValue": true,
"id": 1699021297358995462,
"exchRateDate": "2023-04-09 05:00:00",
"generalPurchaseOrderType": "1",
"isMaxLimitPrice": false,
"inventoryowner": 0,
"creatorId": 1680599985052188672,
"creator": "默认用户",
"createTime": "2023-04-09 06:15:11",
"createDate": "2023-04-09 06:15:11",
"barCode": "st_purchaseorder|1699021297358995462",
"status": 0,
"isWfControlled": false,
"pubts": "2023-04-09 06:15:11",
"tenant": 3205488861139648,
"yTenantId": "n6uqh0ke",
"isFirstBillno": false,
"totalQuantity": 2000,
"moneysum": 412000
}
}
|
|