Qeasy Cloud
Get Started

金蝶云星空 采购入库写入-资产建模 API

Type
EXECUTE
Effect
EXECUTE
API Version
1.0
Adapter
\Adapter\K3Cloud\K3CloudExecuteAdapter
Auth Mode
OTHER
Updated At
2023-03-20

采购入库写入-资产建模

POSTbatchSave
Factory
{
  "operation": {
    "method": "none"
  }
}

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1FBillTypeID单据类型string_findCollection find FBillTypeID_FNumber from 79585043-7d60-34fb-b435-fce80b5afb1e where FBillNo={{outer_no}}Optional单据类型
2FBusinessType业务类型string_findCollection find FBusinessType from 79585043-7d60-34fb-b435-fce80b5afb1e where FBillNo={{outer_no}}Optional业务类型
3FBillNo单据编号string{{order_no}}Optional单据编号
4FDate入库日期string{{check_time}}Optional入库日期
5FStockOrgId收料组织string_findCollection find FReceiveOrgId_FNumber from 79585043-7d60-34fb-b435-fce80b5afb1e where FBillNo={{outer_no}}Optional收料组织
6FPurchaseOrgId采购组织string_findCollection find FPurchaseOrgId_FNumber from 79585043-7d60-34fb-b435-fce80b5afb1e where FBillNo={{outer_no}}Optional采购组织
7FSupplierId供应商string{{provider_no}}Optional供应商
8FPurchaseDeptId采购部门stringBM000027Optional采购部门
9FDeliveryBill送货单号stringOptional送货单号
10FTakeDeliveryBill提货单号stringOptional提货单号
11FInStockFin财务信息objectOptional财务信息
11.1FSettleOrgId结算组织string_findCollection find FPurchaseOrgId_FNumber from 79585043-7d60-34fb-b435-fce80b5afb1e where FBillNo={{outer_no}}Optional结算组织
11.2FPayOrgId付款组织string_findCollection find FPurchaseOrgId_FNumber from 79585043-7d60-34fb-b435-fce80b5afb1e where FBillNo={{outer_no}}Optional付款组织
12FInStockEntry明细信息arraydetails_listOptional明细信息
12.1FMaterialId物料编码string{{details_list.goods_no}}Optional物料编码
12.2FMustQty应收数量string{{details_list.right_num}}Optional应收数量
12.3FRealQty实收数量string{{details_list.right_num}}Optional实收数量
12.4FTaxPrice含税单价string_findCollection find FPrice from 10168512-4512-351c-978e-81c3e88d889c where FBillNo={{outer_no}} FMaterialId_FNumber={{details_list.goods_no}}Optional含税单价
12.5FEntryTaxRate税率(%)string0Optional税率(%)
12.6FStockId仓库string{{warehouse_no}}Optional仓库
12.7FNote备注string{{details_list.remark}}Optional备注
12.8FSRCBILLTYPEID源单类型stringPUR_PurchaseOrderOptional源单类型
12.9FSRCBillNo源单编号string{{outer_no}}Optional源单编号
12.10FPOOrderNo订单编号string{{outer_no}}Optional订单编号
12.11FOWNERID货主string_findCollection find FRequireOrgId_FNumber from 79585043-7d60-34fb-b435-fce80b5afb1e where FBillNo={{outer_no}} F_TUXM_BaseProperty3={{details_list.spec_no}}Optional货主
12.12FInStockEntry_Link关联关系arrayOptional关联关系
12.12.1FInStockEntry_Link_FSTableName源单表名stringt_PUR_POOrderEntryOptional源单表名
12.12.2FInStockEntry_Link_FRuleId下推关系stringPUR_PurchaseOrder-STK_InStockOptional下推关系
12.12.3FInStockEntry_Link_FSBillId源单IDstring_mongoQuery 79585043-7d60-34fb-b435-fce80b5afb1e findField=content.FID where= {"content.FBillNo" : {"$eq":"{{outer_no}}"},"content.F_TUXM_BaseProperty3": { "$eq":"{{details_list.spec_no}}" } }Optional源单ID
12.12.4FInStockEntry_Link_FSId表体IDstring_mongoQuery 79585043-7d60-34fb-b435-fce80b5afb1e findField=content.FPOOrderEntry_FEntryId where={"content.FBillNo" : {"$eq":"{{outer_no}}"},"content.F_TUXM_BaseProperty3": { "$eq":"{{details_list.spec_no}}" } }Optional表体ID

Response Parameters

No parameter reference available

The 采购入库写入-资产建模 API (batchSave) of 金蝶云星空 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 金蝶云星空 version updates.

Need to integrate this API?

Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.