旺店通·企业奇门与用友BIP盘盈单-v
源数据平台 | 旺店通·企业奇门数据对接 |
调用请求API | 查询入库单管理 |
请求定时 | */3 8-23 * * * |
目标平台 | 用友BIP写入数据接口 |
调用执行API | 其他入库单个保存 |
执行定时 | 2-59/5 * * * * |
接口数据对接字段明细
序号 | 旺店通·企业奇门字段 | 旺店通·企业奇门字段名 | 用友BIP字段 | 用友BIP字段名 | 描述 |
---|---|---|---|---|---|
1 | stockin_no | 入库单号 | resubmitCheckKey | 保证请求的幂等性 | 该值由客户端生成,并且必须是全局唯一的,长度不能超过32位。更多信息,请参见«MDD幂等性» |
2 | src_order_id | 入库id | id | 主表id | |
3 | false | 固定值 | needCalcLines | 表体行计算标识 | 不传或传入false时不对子表进行二次计算,需调用方保证数据的完整及正确性;为true时,以数量反算件数、以成本金额反算单价。 例:false |
4 | stockin_no | 入库单号 | code | 单据编号 | 以系统编码规则配置为准,系统设置为手工编号时必输,系统设置为自动编号时非必输;更新操作时必填 例:QTRK0000001 |
5 | outer_no | 外部单号 | defines!define1 | defines!define1 | 以系统编码规则配置为准,系统设置为手工编号时必输,系统设置为自动编号时非必输;更新操作时必填 例:QTRK0000001 |
6 | _findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code=warehouse_no | 关联查询函数 | org | 库存组织 | ,传入id或code 例:wzyqzn |
7 | _findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code=warehouse_no | 关联查询函数 | accountOrg | 会计主体 | 传入id或code 例:wzyqzn |
8 | check_time | 审核时间 | vouchdate | 单据日期 | 例:2021-03-05 |
9 | 001 | 固定值 | bustype | 交易类型 | 传入id或code 例:A08001 |
10 | warehouse_no | 仓库编号 | warehouse | 仓库 | 传入id或code 例:ck01 |
11 | remark | 备注 | memo | 备注 | 例:XXX |
12 | Insert | 固定值 | _status | 操作标识, | Insert:新增、Update:更新 例:Insert |
13 | details_list | 货品列表节点 | othInRecords | 其他入库单子表 | |
14 | 固定值 | othInRecords.id | 子表id | ||
15 | 固定值 | othInRecords.rowno | 行号 | 例:1 | |
16 | 固定值 | othInRecords.isSerialNoManage | 序列号管理 | true:是、false:否、 例:false | |
17 | details_list.goods_no | 固定值 | othInRecords.product | 物料 | 传入id或code 例:PD0817000001 |
18 | details_list.spec_no | 固定值 | othInRecords.productsku | 物料SKU | 传入id或code 例:PD08170000010004 |
19 | 固定值 | othInRecords.batchno | 批次号 | 例:SH01 | |
20 | 固定值 | othInRecords.producedate | 生产日期 | 例:2020-09-24 00:00:00 | |
21 | 固定值 | othInRecords.invaliddate | 有效期至 | 例:2020-09-24 00:00:00 | |
22 | 固定值 | othInRecords.contactsQuantity | 应收数量 | 应收数量与实收数量不能同时为空 例:10 | |
23 | 固定值 | othInRecords.contactsPieces | 应收件数 | 例:10 | |
24 | details_list.goods_count | 固定值 | othInRecords.qty | 数量,实收数量与应收数量不能同时为空 | 例:10 |
25 | _findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name=goods_unit | 关联查询函数 | othInRecords.unit | 主计量单位,传入id或code | 例:KGM |
26 | 1 | 固定值 | othInRecords.invExchRate | 换算率 | 例:件(精度2) |
27 | details_list.goods_count | 固定值 | othInRecords.subQty | 件数 | 例:件(精度2) |
28 | _findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name=goods_unit | 关联查询函数 | othInRecords.stockUnitId | 库存单位 | 传入id或code 例:KGM |
29 | 固定值 | othInRecords.natUnitPrice | 单价 | 例:10 | |
30 | 固定值 | othInRecords.natMoney | 金额 | 例:100 | |
31 | 固定值 | othInRecords.goodsposition | 货位 | 传入id或code,仓库开启货位记存量时必输 例:ck01_hw01 | |
32 | 固定值 | othInRecords.project | 项目 | 传入id或code 例:2411545234969600 | |
33 | 0 | 固定值 | othInRecords.unitExchangeType | 库存换算率换算方式 | ,0固定换算,1浮动换算 例:1 |
34 | 固定值 | othInRecords.autoCalcCost | 存货自动计算成本标识 | 是否由存货核算回写成本金额、成本单价 例:false | |
35 | 固定值 | othInRecords.isBatchManage | 是否批次管理 | true:是;false:否 例:false | |
36 | 固定值 | othInRecords.isExpiryDateManage | 是否效期管理 | true:是;false:否 例:false | |
37 | details_list.remark | 固定值 | othInRecords.memo | 备注 | 例:XXX |
38 | Insert | 固定值 | othInRecords._status | 操作标识 | Insert:新增、Update:更新 例:Insert |