旺店通·企业奇门与用友BIP调拨出库对接调出单(关联)
源数据平台 | 旺店通·企业奇门数据对接 |
调用请求API | 查询出库单管理 |
请求定时 | */3 * * * * |
目标平台 | 用友BIP写入数据接口 |
调用执行API | 调出保存 |
执行定时 | 2-59/3 * * * * |
接口数据对接字段明细
序号 | 旺店通·企业奇门字段 | 旺店通·企业奇门字段名 | 用友BIP字段 | 用友BIP字段名 | 描述 |
---|---|---|---|---|---|
1 | _findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code=warehouse_no | 关联查询函数 | outorg | 调出组织id或code | 调出组织id或code |
2 | src_order_no | 源单号 | code | 单据编号 | 单据编号 |
3 | _findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code=warehouse_no | 关联查询函数 | outaccount | 调出会计主体id或code | 调出会计主体id或code |
4 | consign_time | 出库时间 | vouchdate | 单据日期 | 单据日期 |
5 | 2742928410236945 | 固定值 | bustype | 交易类型id或code | 交易类型id或code |
6 | 0 | 固定值 | bizType | 自动调拨 | 自动调拨 默认值为0,0:手工,1:订单审核自动调出调入,2:调出保存自动调入,5:订单审核自动调出 |
7 | warehouse_no | 仓库编号 | outwarehouse | 调出仓库id或code | 调出仓库id或code |
8 | _findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code=warehouse_no | 关联查询函数 | inorg | 调入组织id或code | 调入组织id或code |
9 | _findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code=warehouse_no | 关联查询函数 | inaccount | 调入会计主体id或code | 调入会计主体id或code |
10 | 固定值 | memo | 备注 | 备注 | |
11 | src_order_no | 源单号 | srcBillNO | 来源单据 | 来源单据 |
12 | st_transferapply | 固定值 | srcBillType | 来源上级单据类型 | 来源上级单据类型, st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
13 | 2022-06-22 14:36:06 | 固定值 | pubts | 时间戳 | 时间戳,格式为:yyyy-MM-dd HH:mm:ss |
14 | Insert | 固定值 | _status | 操作标识 | 操作标识, Insert:新增、Update:更新 |
15 | details_list | Sku详情节点 | details | 调出单子表 | 调出单子表[st.storeout.StoreOutDetail] |
16 | details_list.goods_no | 固定值 | details.product | 物料id或code | 物料id或code |
17 | details_list.goods_no | 固定值 | details.product_cCode | 物料编码 | 物料编码 |
18 | details_list.goods_name | 固定值 | details.product_cName | 物料名称 | 物料名称 |
19 | details_list.goods_no | 固定值 | details.productsku | 商品SKUid或code | 商品SKUid或code |
20 | details_list.spec_no | 固定值 | details.productsku_cCode | 物料sku编码 | 物料sku编码 |
21 | details_list.goods_name | 固定值 | details.productsku_cName | 物料sku名称 | 物料sku名称 |
22 | 固定值 | details.batchno | 批次号 | 批次号 | |
23 | 固定值 | details.producedate | 生产日期 | 生产日期 | |
24 | 固定值 | details.invaliddate | 有效期至 | 有效期至 | |
25 | 固定值 | details.pubts | 时间戳 | 时间戳,格式为:yyyy-MM-dd HH:mm:ss | |
26 | details_list.goods_count | 固定值 | details.contactsQuantity | 应发数量 | 应发数量 |
27 | details_list.goods_count | 固定值 | details.contactsPieces | 应发件数 | 应发件数 |
28 | details_list.goods_count | 固定值 | details.qty | 数量 | 数量 |
29 | _findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name=goods_unit | 关联查询函数 | details.unit | 主计量id或code | 主计量id或code |
30 | 1 | 固定值 | details.invExchRate | 换算率 | 换算率 |
31 | details_list.goods_count | 固定值 | details.subQty | 件数 | 件数 |
32 | _findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name=goods_unit | 关联查询函数 | details.stockUnitId | 库存单位id或code | 库存单位id或code |
33 | cost_price | 固定值 | details.costprice | 成本价 | 成本价 |
34 | st_transferapply | 固定值 | details.source | 上游单据类型 | 上游单据类型, st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
35 | _findCollection find new_id from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode=details_list.goods_no code=src_order_no | 关联查询函数 | details.sourceid | 上游单据主表id | 上游单据主表id |
36 | _findCollection find new_transferApplys_id from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode=details_list.goods_no code=src_order_no | 关联查询函数 | details.sourceautoid | 上游单据子表id | 上游单据子表id |
37 | _findCollection find code from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode=details_list.goods_no code=src_order_no | 关联查询函数 | details.upcode | 上游单据号 | 上游单据号 |
38 | st_transferapply | 固定值 | details.makeRuleCode | 生单规则编号 | 生单规则编号 |
39 | 固定值 | details.memo | 备注 | 备注 | |
40 | Insert | 固定值 | details._status | 操作标识 | 操作标识, Insert:新增、Update:更新 |