聚水潭与金蝶云星空退换货对接销售退货-v

系统接口数据集成
源数据平台 聚水潭数据对接
调用请求API 退货退款查询
请求定时 2-59/31 6-23 * * *
将企业的所有应用及数据链接起来
目标平台 金蝶云星空写入数据接口
调用执行API [聚水潭][销售退货单标准新增]-v1
执行定时 3-59/40 6-23 * * *

接口数据对接字段明细

序号 聚水潭字段 聚水潭字段名 金蝶云星空字段 金蝶云星空字段名 描述
1 XSTHD01_SYS 固定值 FBillTypeID 单据类型 单据类型
2 as_id ERP售后单号 FBillNo 单据编号 单据编号
3 _findCollection find F_PSEH_OrgId from 255f7565-c782-3985-9020-59aa6a647e61 where FName=shop_name 关联查询函数 FSaleOrgId 销售组织 销售组织
4 batchs_receive_date 固定值 FDate 日期 日期
5 100 固定值 FStockOrgId 库存组织 库存组织
6 _findCollection find FNumber from 255f7565-c782-3985-9020-59aa6a647e61 where FName=shop_name 关联查询函数 FRetcustId 退货客户 退货客户
7 PRE001 固定值 FSettleCurrId 结算币别 结算币别
8 as_id ERP售后单号 FHeadNote 备注 备注
9 reftables 固定值 FEntity 明细信息 明细信息
10 reftables.batchs_sku_id 固定值 FEntity.FMaterialId 物料编码 物料编码
11 reftables.batchs_qty 固定值 FEntity.FRealQty 实退数量 实退数量
12 reftables.batchs_price 固定值 FEntity.FPrice 单价 单价
13 reftables.batchs_price 固定值 FEntity.FTaxPrice 含税单价 含税单价
14 固定值 FEntity.FIsFree 是否赠品 是否赠品
15 固定值 FEntity.FEntryTaxRate 税率% 税率%
16 THLX01_SYS 固定值 FEntity.FReturnType 退货类型 退货类型
17 BD_OwnerOrg 固定值 FEntity.FOwnerTypeId 货主类型 货主类型
18 100 固定值 FEntity.FOwnerId 货主 货主
19 reftables.warehouse 固定值 FEntity.FStockId 仓库  仓库 
20 固定值 FEntity.FNote 备注  备注 
21 reftables.so_id 固定值 FEntity.F_PSEH_TEXT 网上订单号
22 SAL_OUTSTOCK 固定值 FEntity.FSrcBillTypeID 源单类型
23 _findCollection find FBillNo from f58fe563-79a6-313e-a1bd-4be16eb7ff7a where F_PSEH_TEXT=reftables.batchs_outer_oi_id FMaterialID_FNumber=reftables.batchs_sku_id 关联查询函数 FEntity.FSrcBillNo 源单编号
24 固定值 FEntity.F_PSEH_AMOUNT1 管易价税合计
25 固定值 FEntity.FDISCOUNT 折扣额
26 _function case _findCollection find FIsBatchManage from d36b5c74-bdf8-3bcb-a345-22dac34d52aa where FNumber=reftables.batchs_sku_id _endFind when true then 'reftables.batchs_batch_no' else '' end 关联查询函数 FEntity.FLot 批次号
27 _function case _findCollection find FIsBatchManage from d36b5c74-bdf8-3bcb-a345-22dac34d52aa where FNumber=reftables.batchs_sku_id _endFind when true then 'reftables.batchs_product_date' else '' end 关联查询函数 FEntity.FProduceDate 生产日期
28 _function case _findCollection find FIsBatchManage from d36b5c74-bdf8-3bcb-a345-22dac34d52aa where FNumber=reftables.batchs_sku_id _endFind when true then 'reftables.batchs_expiration_date' else '' end 关联查询函数 FEntity.FExpiryDate 有效期至
29 固定值 FEntity.FEntity_Link 关联关系表
30 固定值 SubHeadEntity 财务信息 财务信息
31 _findCollection find F_PSEH_OrgId from 255f7565-c782-3985-9020-59aa6a647e61 where FName=shop_name 关联查询函数 SubHeadEntity.FSettleOrgId 结算组织 结算组织
32 固定值 SubHeadEntity.FAllDisCount FAllDisCount

源平台配置元数据

目标平台配置元数据