接口配置打通金蝶云星空和聚水潭·奇门数据对接

源系统:聚水潭·奇门
聚水潭是SaaS协同平台、电商ERP软件。聚水潭成立于2014年,创始人兼CEO骆海东拥有近三十年传统及电商ERP的研发和实施部署经验。聚水潭创建之初,以电商SaaSERP切入市场,凭借出色的产品和服务,快速获得市场的肯定。
目标系统:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
数据接口配置方案
系统对接前期需要通过调研公司的业务,规划出最便捷,效率最高的整体流程。通过流程我们需要建立对应的方案来吧这些流程一一的落地,轻易云集成平台开箱即用的、可视化拖、拉、拽实现接口服务编排与聚合。只需要根据指引设定好对应的参数即可启动使用。设定好源平台:聚水潭·奇门的接口参数设置,以及设定好目标平台:金蝶云星空的映射,即可启动方案进行测试数据管道ETL:构建一体化的数据融合平台。高级数据转换: 支持公式转换数据格式、支持脚本直接进行数据转换、支持可视化多维度数据处理。高性能实时处理:针对不同数据节点类型提供TB级吞吐量,秒级延迟的增量数据处理能力。自动将旧版web服务转变为基于云端微服务的API,统一接口输出标准。支持接口开放服务,实现内外部能力接入。



聚水潭·奇门接口明细
- 接口:jushuitan.refund.list.query
- 接口名称:订单查询
- 接口方法:POST
请求参数
字段 | 名称 | 类型 |
page_index | 页码 | string |
page_size | 页数 | string |
start_time | 开始时间 | string |
end_time | 结束时间 | string |
响应参数
字段 | 名称 | 类型 | 描述 |
as_id | as_id | string | autoFillResponse |
as_date | as_date | string | _autoFillResponse |
outer_as_id | outer_as_id | string | autoFillResponse |
so_id | so_id | string | _autoFillResponse |
type | type | string | autoFillResponse |
modified | modified | string | _autoFillResponse |
items | items | array | autoFillResponse |
items.amount | amount | string | _autoFillResponse |
items.combine_sku_id | combine_sku_id | string | autoFillResponse |
items.asi_id | asi_id | string | _autoFillResponse |
items.sku_id | sku_id | string | autoFillResponse |
items.qty | qty | string | _autoFillResponse |
items.price | price | string | autoFillResponse |
items.name | name | string | _autoFillResponse |
items.type | type | string | autoFillResponse |
items.properties_value | properties_value | string | _autoFillResponse |
items.r_qty | r_qty | string | _autoFillResponse |
items.shop_name | shop_name | string | |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:[聚水潭][销售退货单标准新增]-v1
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FBillTypeID | 单据类型 | string | XSTHD01_SYS |
FBillNo | 单据编号 | string | {{as_id}} |
FSaleOrgId | 销售组织 | string | 101 |
FDate | 日期 | string | {{batchs_receive_date}} |
FStockOrgId | 库存组织 | string | 100 |
FRetcustId | 退货客户 | string | findCollection find shop_name from 936fe7e0-c4ef-36f6-b441-fa7827de7efb where shop_id={{shop_id}} |
FSettleCurrId | 结算币别 | string | PRE001 |
FHeadNote | 备注 | string | {{as_id}} |
FEntity | 明细信息 | array | reftables |
FEntity.FMaterialId | 物料编码 | string | {{reftables.batchs_sku_id}} |
FEntity.FRealQty | 实退数量 | string | {{reftables.batchs_qty}} |
FEntity.FPrice | 单价 | string | {{reftables.batchs_price}} |
FEntity.FTaxPrice | 含税单价 | string | {{reftables.batchs_price}} |
FEntity.FIsFree | 是否赠品 | string | |
FEntity.FEntryTaxRate | 税率% | string | |
FEntity.FReturnType | 退货类型 | string | THLX01_SYS |
FEntity.FOwnerTypeId | 货主类型 | string | BD_OwnerOrg |
FEntity.FOwnerId | 货主 | string | 101 |
FEntity.FStockId | 仓库 | string | {{reftables.warehouse}} |
FEntity.FNote | 备注 | string | |
FEntity.F_PSEH_TEXT | 网上订单号 | string | {{reftables.so_id}} |
FEntity.FSrcBillTypeID | 源单类型 | string | SAL_OUTSTOCK |
FEntity.FSrcBillNo | 源单编号 | string | _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.F_PSEH_AMOUNT1 | 管易价税合计 | string | |
FEntity.FDISCOUNT | 折扣额 | string | |
FEntity.FProduceDate | 生产日期 | string | _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.FLot | 批次号 | string | _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.FExpiryDate | 有效期至 | string | _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.FEntity_Link | 关联关系表 | array | |
FEntity.FEntity_Link.FEntity_Link_FRuleId | 转换规则 | string | OutStock-SalReturnStock |
FEntity.FEntity_Link.FEntity_Link_FSTableName | 源单表 | string | T_SAL_OUTSTOCKENTRY |
FEntity.FEntity_Link.FEntity_Link_FSBillId | 源单内码 | string | _findCollection find FID from f58fe563-79a6-313e-a1bd-4be16eb7ff7a where F_PSEH_TEXT={{reftables.batchs_outer_oi_id}} FMaterialID_FNumber={{reftables.batchs_sku_id}} |
FEntity.FEntity_Link.FEntity_Link_FSId | 源单分录内码 | string | _findCollection find FEntity_FENTRYID from f58fe563-79a6-313e-a1bd-4be16eb7ff7a where F_PSEH_TEXT={{reftables.batchs_outer_oi_id}} FMaterialID_FNumber={{reftables.batchs_sku_id}} |
FEntity.SubHeadEntity | 财务信息 | object | |
FEntity.SubHeadEntity.FSettleOrgId | 结算组织 | string | 101 |
FEntity.SubHeadEntity.FAllDisCount | FAllDisCount | string | |
FEntity.SubHeadEntity.FormId | 业务对象表单Id | string | SAL_RETURNSTOCK |
FEntity.SubHeadEntity.Operation | 执行的操作 | string | BatchSave |
FEntity.SubHeadEntity.IsAutoSubmitAndAudit | 提交并审核 | bool | true |
FEntity.SubHeadEntity.IsVerifyBaseDataField | 验证基础资料 | bool | false |
系统对接总览
当企业规模逐渐增大时,作为支撑业务运营的IT建设也变得越来越重要,不过往往企业的IT建设过程中会发现某一家软件供应商基本不能完全覆盖企业所有的业务运营流程,这样的结果就是,企业上的IT系统很多很全,从ERP到HR、CRM、PDM、OA等,貌似所有的业务都覆盖到了,但实际上因为这些系统的不集成,而形成了企业很多新的信息孤岛,非常不利于企业的后续的管理和战略发展。从现今和往后的发展趋势来看,也不可避免会遇到上述问题,毕竟企业经营的多样化,并不是所有的业务都能在一个系统中完成,所以我们必须在产品架构上支持更好的与外部系统进行协同。通过轻易云集成平台统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。


