旺店通·企业奇门与用友BIP调拨入库对接调入单-v
源数据平台 | 旺店通·企业奇门数据对接 |
调用请求API | 查询入库单管理 |
请求定时 | 4-59/10 6-23 * * * |
目标平台 | 用友BIP写入数据接口 |
调用执行API | 调入保存 |
执行定时 | 9-59/10 6-23 * * * |
接口数据对接字段明细
序号 | 旺店通·企业奇门字段 | 旺店通·企业奇门字段名 | 用友BIP字段 | 用友BIP字段名 | 描述 |
---|---|---|---|---|---|
1 | _findCollection find outorg from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where code=YScode | 关联查询函数 | outorg | 调出组织id或code | |
2 | stockin_no | 入库单号 | code | 单据编号 | |
3 | _findCollection find outorg from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where code=YScode | 关联查询函数 | outaccount | 调出会计主体id或code | |
4 | check_time | 审核时间 | vouchdate | 单据日期 | |
5 | A07001 | 固定值 | bustype | 交易类型id或code | |
6 | 0 | 固定值 | bizType | 自动调拨 | 1:订单审核自动调出调入、0:手工、2:调出保存自动调入 |
7 | _findCollection find breturn from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where code=YScode | 关联查询函数 | breturn | 调拨退货 | true:是、false:否、 |
8 | _findCollection find from_warehouse_no from 8674f0f9-9d0d-3386-8fc7-a6fd09225b55 where transfer_no=src_order_no | 关联查询函数 | outwarehouse | 调出仓库id或code | |
9 | _findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code=warehouse_no | 关联查询函数 | inorg | 调入组织id或code | |
10 | _findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code=warehouse_no | 关联查询函数 | inaccount | 调入会计主体id或code | |
11 | warehouse_no | 仓库编号 | inwarehouse | 调入仓库id或code | |
12 | 固定值 | memo | 备注 | ||
13 | 固定值 | srcBill | 来源单据id | ||
14 | 固定值 | srcBillNO | 来源单据号 | ||
15 | st_storeout | 固定值 | srcBillType | 来源单据类型 | st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
16 | Insert | 固定值 | _status | 操作标识 | Insert:新增、Update:更新 |
17 | details_list | 货品列表节点 | details | 调入单 | 子表[st.storein.StoreInDetail] |
18 | details_list.goods_no | 固定值 | details.product | 物料id或code | |
19 | details_list.goods_no | 固定值 | details.product_cCode | 物料编码 | |
20 | details_list.goods_name | 固定值 | details.product_cName | 物料名称 | |
21 | details_list.goods_no | 固定值 | details.productsku | 商品SKUid或code | |
22 | details_list.goods_no | 固定值 | details.productsku_cCode | 物料sku编码 | |
23 | details_list.goods_name | 固定值 | details.productsku_cName | 物料sku名称 | |
24 | 固定值 | details.isBatchManage | 是否批次管理 | true:是、false:否 | |
25 | 固定值 | details.isExpiryDateManage | 是否效期管理 | true:是、false:否 | |
26 | 固定值 | details.batchno | 批次号 | ||
27 | 固定值 | details.invaliddate | 有效期至 | ||
28 | 固定值 | details.expireDateNo | 保质期 | ||
29 | 天 | 固定值 | details.expireDateUnit | 保质期单位 | 1:年、2:月、6:天、 |
30 | details_list.goods_count | 固定值 | details.contactsQuantity | 应收数量 | |
31 | details_list.goods_count | 固定值 | details.qty | 数量 | |
32 | 固定值 | details.mainid | 主表id | ||
33 | _findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name=goods_unit | 关联查询函数 | details.stockUnitId | 库存单位id或code | |
34 | _findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name=goods_unit | 关联查询函数 | details.stockUnit_name | 库存单位 | |
35 | 固定值 | details.costprice | 成本价 | ||
36 | 固定值 | details.natTaxUnitPrice | 含税单价 | ||
37 | details_list.tax | 固定值 | details.taxRate | 税率 | |
38 | st_storeout | 固定值 | details.source | 上游单据类型 | st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
39 | _findCollection find new_id from 979e2233-57c6-3896-854c-ad4efaebd1ef where upcode=YScode | 关联查询函数 | details.sourceid | 上游单据主表id | |
40 | _findCollection find new_details_id from 979e2233-57c6-3896-854c-ad4efaebd1ef where upcode=YScode product_cCode=details_list.spec_no | 关联查询函数 | details.sourceautoid | 上游单据子表id | |
41 | _findCollection find code from 979e2233-57c6-3896-854c-ad4efaebd1ef where upcode=YScode | 关联查询函数 | details.upcode | 上游单据号 | |
42 | _findCollection find lineno from 979e2233-57c6-3896-854c-ad4efaebd1ef where upcode=YScode product_cCode=details_list.spec_no | 关联查询函数 | details.uplineno | 来源单据行号 | 上游单据号 |
43 | storeoutTostorein | 固定值 | details.makeRuleCode | 生单规则编号 | |
44 | st_transferapply | 固定值 | details.firstsource | 源头单据类型 | st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
45 | _findCollection find new_id from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode=goods_no code=YScode | 关联查询函数 | details.firstsourceid | 源头单据主表id | |
46 | _findCollection find new_transferApplys_id from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode=details_list.goods_no code=YScode | 关联查询函数 | details.firstsourceautoid | 源头单据子表id | |
47 | YScode | 固定值 | details.firstupcode | 源头单据号 | |
48 | _findCollection find lineno from 979e2233-57c6-3896-854c-ad4efaebd1ef where upcode=YScode product_cCode=details_list.spec_no | 关联查询函数 | details.firstuplineno | 源头单据行号 | 物料id或code |
49 | 固定值 | details.memo | 备注 | ||
50 | Insert | 固定值 | details._status | 操作标识 | Insert:新增、Update:更新 |