管易云与金蝶云星空管易退货单对接金蝶销售退货单

系统接口数据集成
源数据平台 管易云数据对接
调用请求API 退货单查询
请求定时 1-59/2 8-22 * * *
将企业的所有应用及数据链接起来
目标平台 金蝶云星空写入数据接口
调用执行API 销售退货新增
执行定时 */2 8-22 * * *

接口数据对接字段明细

序号 管易云字段 管易云字段名 金蝶云星空字段 金蝶云星空字段名 描述
1 XSTHD01_SYS 固定值 FBillTypeID 单据类型 单据类型
2 code 单据编号 FBillNo 单据编号 单据编号
3 103 固定值 FSaleOrgId 销售组织 组织
4 receive_date 入库时间 FDate 日期 日期
5 103 固定值 FStockOrgId 库存组织 组织
6 shop_code 店铺代码 FRetcustId 退货客户 基础资料
7 固定值 FXSLX 销售类型 多行文本
8 true 固定值 FAPI API 多行文本
9 details 退入商品列表 FEntity 明细信息
10 details.details_item_code 固定值 FEntity.FMaterialId 物料编码 基础资料
11 _findCollection find FPurchaseUnitId_FNumber from 66da8241-98f4-39f9-8fee-cac02e30e532 where FNumber=details.details_item_code 关联查询函数 FEntity.FUnitID 库存单位 数量
12 details.details_detail_batch_qty 固定值 FEntity.FRealQty 实退数量 数量
13 _findCollection find FPurchaseUnitId_FNumber from 66da8241-98f4-39f9-8fee-cac02e30e532 where FNumber=details.details_item_code 关联查询函数 FEntity.FPriceUnitId 计价单位 数量
14 _findCollection find FPurchaseUnitId_FNumber from 66da8241-98f4-39f9-8fee-cac02e30e532 where FNumber=details.details_item_code 关联查询函数 FEntity.FSalUnitID 销售单位 数量
15 details.details_amount_after_price 固定值 FEntity.FTaxPrice 含税单价 单价
16 13 固定值 FEntity.FEntryTaxRate 税率% 小数
17 warehousein_code 退入仓库代码 FEntity.FStockId 仓库 基础资料
18 details.details_detail_batch_batchNumber 固定值 FEntity.FLot 批次号
19 _function case _findCollection find FIsKFPeriod from 66da8241-98f4-39f9-8fee-cac02e30e532 where FNumber=details.details_item_code _endFind when true then 'details.details_detail_batch_productionTime' else '' end 关联查询函数 FEntity.FProduceDate 生产日期
20 _function case _findCollection find FIsKFPeriod from 66da8241-98f4-39f9-8fee-cac02e30e532 where FNumber=details.details_item_code _endFind when true then 'details.details_detail_batch_validTime' else '' end 关联查询函数 FEntity.FExpiryDate 有效期至
21 固定值 FEntity.FNote 备注 文本
22 platform_code 平台单号 FEntity.FOrderNo 订单单号
23 固定值 SubHeadEntity 财务信息
24 103 固定值 SubHeadEntity.FSettleOrgId 结算组织 组织
25 code 单据编号 SubHeadEntity.FThirdBillNo 第三方单据编号
26 platform_code 平台单号 SubHeadEntity.FThirdBillId 第三方单据平台单号

源平台配置元数据

目标平台配置元数据