聚水潭·奇门与金蝶云星空发货单对接销售出库-V
源数据平台 | 聚水潭·奇门数据对接 |
调用请求API | 订单查询 |
请求定时 | 4-59/31 6-23 * * * |
目标平台 | 金蝶云星空写入数据接口 |
调用执行API | 销售出库新增 |
执行定时 | 2-59/41 6-23 * * * |
接口数据对接字段明细
序号 | 聚水潭·奇门字段 | 聚水潭·奇门字段名 | 金蝶云星空字段 | 金蝶云星空字段名 | 描述 |
---|---|---|---|---|---|
1 | XSCKD01_SYS | 固定值 | FBillTypeID | 单据类型 | |
2 | io_id | 出库单号 | FBillNo | 单据编号 | |
3 | io_date | 固定值 | FDate | 日期 | |
4 | _findCollection find F_PSEH_OrgId from 255f7565-c782-3985-9020-59aa6a647e61 where FName=shop_name | 关联查询函数 | FSaleOrgId | 销售组织 | |
5 | _findCollection find FNumber from 255f7565-c782-3985-9020-59aa6a647e61 where FName=shop_name | 关联查询函数 | FCustomerID | 客户 | |
6 | order_staff_name | 固定值 | FSalesManID | 销售员 | |
7 | 固定值 | FSaleDeptID | 销售部门 | ||
8 | 100 | 固定值 | FStockOrgId | 发货组织 | |
9 | remark | 固定值 | FNote | 备注 | |
10 | batchs | 固定值 | FEntity | 明细信息 | |
11 | batchs.sku_id | 固定值 | FEntity.FMaterialID | 物料编码 | |
12 | batchs.qty | 固定值 | FEntity.FRealQty | 实发数量 | |
13 | _function case _findCollection find FIsBatchManage from d36b5c74-bdf8-3bcb-a345-22dac34d52aa where FNumber=batchs.sku_id _endFind when true then 'batchs.batch_no' else '' end | 关联查询函数 | FEntity.FLot | 批号 | |
14 | _function case _findCollection find FIsBatchManage from d36b5c74-bdf8-3bcb-a345-22dac34d52aa where FNumber=batchs.sku_id _endFind when true then 'batchs.product_date' else '' end | 关联查询函数 | FEntity.FProduceDate | 生产日期 | |
15 | _function case _findCollection find FIsBatchManage from d36b5c74-bdf8-3bcb-a345-22dac34d52aa where FNumber=batchs.sku_id _endFind when true then 'batchs.expiration_date' else '' end | 关联查询函数 | FEntity.FEXPIRYDATE | 有效期至 | 批次 |
16 | 固定值 | FEntity.FPrice | 单价 | ||
17 | batchs.sale_price | 固定值 | FEntity.FTaxPrice | 含税单价 | |
18 | 固定值 | FEntity.FEntryTaxRate | 税率% | ||
19 | BD_OwnerOrg | 固定值 | FEntity.FOwnerTypeId | 货主类型 | |
20 | 100 | 固定值 | FEntity.FOwnerId | 货主 | |
21 | _findCollection find name from e63fcb86-2968-3715-a33f-d36010737265 where wms_co_id=wms_co_id | 关联查询函数 | FEntity.FStockID | 仓库 | |
22 | 固定值 | FEntity.FEntrynote | 备注 | ||
23 | _function case 'batchs.sale_price' when '0' then true else false end | 计算函数 | FEntity.FIsFree | 是否赠品 | |
24 | so_id | so_id | FEntity.F_PSEH_TEXT | 网上订单号 | |
25 | 固定值 | SubHeadEntity | 财务信息 | ||
26 | _findCollection find F_PSEH_OrgId from 255f7565-c782-3985-9020-59aa6a647e61 where FName=shop_name | 关联查询函数 | SubHeadEntity.FSettleOrgID | 结算组织 | |
27 | PRE001 | 固定值 | SubHeadEntity.FSETTLECURRID | 结算币别 | |
28 | free_amount | free_amount | SubHeadEntity.FAllDisCount | 整单折扣额 |