旺店通·企业奇门与金蝶云星辰wk_采购入库单
源数据平台 | 旺店通·企业奇门数据对接 |
调用请求API | 查询采购入库单 |
请求定时 | */15 * * * * |
目标平台 | 金蝶云星辰V1写入数据接口 |
调用执行API | 采购入库单保存新增 |
执行定时 | * * * * * |
接口数据对接字段明细
序号 | 旺店通·企业奇门字段 | 旺店通·企业奇门字段名 | 金蝶云星辰V1字段 | 金蝶云星辰V1字段名 | 描述 |
---|---|---|---|---|---|
1 | true | 固定值 | ignoreconfirm | 忽略操作确认提示,当price不传或等于0时ignoreconfirm需要为true | 忽略操作确认提示,当price不传或等于0时ignoreconfirm需要为true |
2 | order_no | 入库单号 | billno | 单据编码 | 单据编码 |
3 | details_list | 明细节点 | material_entity | 商品分录 | 商品分录 |
4 | _findCollection find id from b36e2f56-3e1b-3d60-9748-c59ec4c9d95f where number=details_list.spec_no | 关联查询函数 | material_entity.materialid_id | 商品 | 商品 |
5 | _findCollection find id from dfb624bb-d6b8-33fc-a971-c3df53cf9288 where name=warehouse_name | 关联查询函数 | material_entity.stockid_id | 仓库 | 仓库 |
6 | _function case when details_list.tax_price> 0 then 'False' else 'True' end | 计算函数 | material_entity.is_free | 是否赠品 | 是否赠品 |
7 | details_list.right_num | 固定值 | material_entity.qty | 数量 | 数量 |
8 | 固定值 | material_entity.cost | 入库成本 | 入库成本 | |
9 | 固定值 | material_entity.comment | 行备注 | 行备注 | |
10 | details_list.tax_price | 固定值 | material_entity.taxprice | 含税单价 | 含税单价 |
11 | details_list.tax | 固定值 | material_entity.cess | 税率 | 税率 |
12 | created_time|date| | 固定值 | billdate | 单据日期 | 单据日期 |
13 | 2 | 固定值 | transtype | 业务类型,1:限购,2:赊购,3:直运采购,4:受托入库 | 业务类型,1:限购,2:赊购,3:直运采购,4:受托入库 |
14 | remark | 备注 | remark | 备注 | 备注 |
15 | _findCollection find id from 9278fe4a-f123-3198-94b2-69703d296326 where number=provider_no | 关联查询函数 | supplierid_id | 供应商 | 供应商 |