聚水潭·奇门与金蝶云星空销售出库对接
接口数据对接字段明细
序号 | 聚水潭·奇门字段 | 聚水潭·奇门字段名 | 金蝶云星空字段 | 金蝶云星空字段名 | 描述 |
---|---|---|---|---|---|
1 | XSCKD01_SYS | 固定值 | FBillTypeID | 单据类型 | |
2 | o_id | o_id | FBillNo | 单据编号 | |
3 | io_date | 固定值 | FDate | 日期 | |
4 | lc_id | 固定值 | F_XC_ASSISTANT | 快递公司 | |
5 | 101 | 固定值 | FSaleOrgId | 销售组织 | |
6 | ADTKSWW01 | 固定值 | FCustomerID | 客户 | |
7 | 100 | 固定值 | FStockOrgId | 发货组织 | |
8 | remark | 固定值 | FNote | 备注 | |
9 | order_staff_name | 固定值 | F_XC_Text6 | 业务员 | |
10 | batch | 固定值 | FEntity | 明细信息 | |
11 | items.sku_id | 固定值 | FEntity.FMaterialID | 物料编码 | |
12 | items.qty | 固定值 | FEntity.FRealQty | 实发数量 | |
13 | items.batch_no | 固定值 | FEntity.FLot | 批号 | |
14 | items.product_date | 固定值 | FEntity.FProduceDate | 生产日期 | |
15 | 固定值 | FEntity.FPrice | 单价 | ||
16 | items.sale_price | 固定值 | FEntity.FTaxPrice | 含税单价 | |
17 | 0 | 固定值 | FEntity.FEntryTaxRate | 税率% | |
18 | BD_OwnerOrg | 固定值 | FEntity.FOwnerTypeId | 货主类型 | |
19 | 101 | 固定值 | FEntity.FOwnerId | 货主 | |
20 | CK001 | 固定值 | FEntity.FStockID | 仓库 | |
21 | 固定值 | FEntity.FEntrynote | 备注 | ||
22 | _function case when 'items.sale_price'='0' then 'true' when LOCATE('仔细','remark')>0 then 'true' else 'false' end | 计算函数 | FEntity.FIsFree | 是否赠品 | |
23 | l_id | 固定值 | FEntity.F_XC_TEXT1 | 快递单号 | |
24 | _findCollection find so_id from 64023c69-0029-319b-932b-a5bce3416df4 where o_id=o_id | 关联查询函数 | FEntity.F_XC_Text | 电商单号 | |
25 | items.expiration_date | 固定值 | FEntity.FEXPIRYDATE | 有效期至 | 批次 |
26 | so_id | so_id | FEntity.F_PSEH_TEXT | 网上订单号 | |
27 | pay_amount | pay_amount | FEntity.F_PSEH_AMOUNT2 | 管易不含税金额 | |
28 | 固定值 | FEntity.F_PSEH_AMOUNT | 管易税额 | ||
29 | pay_amount | pay_amount | FEntity.F_PSEH_AMOUNT1 | 管易价税合计 | |
30 | pay_amount | pay_amount | FEntity.FDISCOUNT | 折扣额 | |
31 | 13 | 固定值 | FEntity.FDiscountRate | 折扣率 | |
32 | 固定值 | SubHeadEntity | 财务信息 | ||
33 | 101 | 固定值 | SubHeadEntity.FSettleOrgID | 结算组织 | |
34 | PRE001 | 固定值 | SubHeadEntity.FSETTLECURRID | 结算币别 | |
35 | _function case when 'batchs.free_amount'>0 then 'batchs.free_amount' else '' end | 计算函数 | SubHeadEntity.FAllDisCount | FAllDisCount |