聚水潭和金蝶云星空接口打通对接实战

接通系统:聚水潭
聚水潭SaaSERP于2014年4月上线,目前累计超过2.5万商家注册使用,成为淘宝应用服务市场ERP类目商家数和商家月订单增速最快的ERP。2014年及2015年“双十一”当天,聚水潭SaaSERP平稳、安全、顺畅的处理了近千万订单,超过了淘宝对ERP系统吞吐量极限要求的16倍,成为行业里的新标杆。截止目前,聚水潭客户已超2.5万家,其中有南极人、POVOS奔腾,恒源祥,柚子美衣,洁丽雅,FLYCO飞科,波司登,满速,欧丝璐等,并与知名电商圈“老A电商学院”达成深度合作。
对接目标系统:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
数据接口配置
通过轻易云系统数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:聚水潭,并且选择对应的连接器(关于聚水潭的接口连接器如何配置可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息)。选择对应的调拨单查询接口作为数据对接来源。然后再通过写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器。选择对应的调拨单新增接口作为数据写入动作,既可以完成第一步的数据对接配置;打破跨系统连接,让数据轻易互通成为现实。



聚水潭接口明细
- 调用接口:allocate.query
- 接口名称:调拨单查询
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
modified_begin | 修改开始时间 | string | {{LAST_SYNC_TIME datetime}} |
modified_end | 修改结束时间 | string | {{CURRENT_TIME datetime}} |
so_ids | 线上单号 | string | |
page_index | 开始页码 | string | 1 |
page_size | 每页条数 | string | {{PAGINATION_PAGE_SIZE}} |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
items | 商品集合 | array | |
items.ioi_id | 子单号 | string | |
items.sku_id | 商品编码 | array | |
items.qty | 数量 | string | |
items.name | 商品名称 | string | |
items.properties_value | 颜色及规格 | string | |
items.io_id | 调拨单号 | string | |
items.wms_co_id | 分仓编号,调拨出为发起方,调拨入为接收方 | string | |
items.io_date | 单据日期 | string | |
items.batchs | 批次集合 | array | |
items.batchs.batch_no | 批次号 | string | |
items.batchs.sku_id | 商品编码 | string | |
items.batchs.qty | 数量 | string | |
items.batchs.product_date | 批次日期 | string | |
items.batchs.supplier_id | 供应商编号 | string | |
items.batchs.supplier_name | 供应商名称 | string | |
items.batchs.modified | 修改时间 | string | |
items.batchs.status | 单据状态 | string | |
items.batchs.warehouse | 调拨出仓库名称 | string | |
items.batchs.link_warehouse | 调拨入仓库名称 | string | |
items.batchs.f_status | 财务状态 | string | |
items.batchs.type | 调拨类型 | string | |
items.batchs.wh_id | 调拨出仓库编号 | string | |
items.batchs.link_wh_id | 调拨入仓库编号 | string | |
items.batchs.link_wms_co_id | 调拨入分仓编号,调拨出为接收方,调拨入为发起方 | string | |
items.batchs.link_io_id | 调拨入关联单号 | string | |
items.batchs.so_id | 线上单号 | string | |
items.batchs.remark | 备注 | string | |
items.batchs.creator_name | 创建人 | string | |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:调拨单新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FBillNo | 单据编号 | string | {{io_id}} |
FBillTypeID | 单据类型 | string | ZJDB01_SYS |
FBizType | 业务类型 | string | NORMAL |
FTransferDirect | 调拨方向 | string | GENERAL |
FTransferBizType | 调拨类型 | string | InnerOrgTransfer |
FStockOutOrgId | 调出库存组织 | string | 100 |
FOwnerTypeOutIdHead | 调出货主类型 | string | BD_OwnerOrg |
FOwnerOutIdHead | 调出货主 | string | 100 |
FStockOrgId | 调入库存组织 | string | 100 |
FDate | 日期 | string | {{io_date}} |
FNote | 备注 | string | {{remark}} |
FBillEntry | 明细信息 | array | batchs |
FBillEntry.FMaterialId | 物料编码 | string | {{batchs.sku_id}} |
FBillEntry.FCMKBarCode | 零售条形码 | string | |
FBillEntry.FQty | 调拨数量 | string | {{batchs.qty}} |
FBillEntry.FLot | 调出批号 | string | {{batchs.batch_no}} |
FBillEntry.FProduceDate | 生产日期 | string | {{batchs.product_date}} |
FBillEntry.FSrcStockId | 调出仓库 | string | {{link_wms_co_id}} |
FBillEntry.FDestStockId | 调入仓库 | string | {{wms_co_id}} |
FBillEntry.FNoteEntry | 备注 | string | |
FBillEntry.FISFREE | 赠品 | string | |
FBillEntry.FormId | 业务对象表单Id | string | STK_TransferDirect |
FBillEntry.IsAutoSubmitAndAudit | 提交并审核 | bool | true |
FBillEntry.IsVerifyBaseDataField | 验证基础资料 | bool | false |
FBillEntry.Operation | 执行的操作 | string | Save |
FBillEntry.InterationFlags | 允许负库存 | string | STK_InvCheckResult |
系统数据对接
从API服务总线层面解决企业烟囱式业务系统集成现状 相互连接企业各业务系统,实现流程端到端打通,复用已有的业务系统能力,让集成架构、服务关系更清晰 使用统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。
