从聚水潭到金蝶云星空通过接口配置打通数据

对接源平台:聚水潭
聚水潭成立于2014年,创始人兼CEO骆海东拥有近三十年传统及电商ERP的研发和实施部署经验。聚水潭创建之初,以电商SaaSERP切入市场,凭借出色的产品和服务,快速获得市场的肯定。随着客户需求的不断变化,如今聚水潭已经发展成为以SaaSERP为核心,集多种商家服务为一体的SaaS协同平台。经过8年多的发展,公司员工从2014年成立之初的9人增加到现在近4000人。聚水潭已在全国设立了超过100个线下服务网点,服务范围覆盖超过400个城镇,为客户提供及时、周到和专业的服务。
写入目标:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
接口方案配置
通过可视化界面的拖、拉、拽即可轻松快速构建数据集成流程,将聚水潭、金蝶云星空之间接口数据联通,支持数据在线预览、数据集成流程全过程调试,Web界面追踪调试日志等功能。 平台兼具实时数据处理和数据集成分发功能,用户通过可视化的拖、拽即可完成数据处理逻辑,将数据加工处理后分发到下游业务系统或其他异构存储中。

聚水潭接口明细
- 调用接口: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.sku_id | 批次号 | 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 | 101 |
FOwnerTypeOutIdHead | 调出货主类型 | string | BD_OwnerOrg |
FOwnerOutIdHead | 调出货主 | string | 101 |
FStockOrgId | 调入库存组织 | string | 101 |
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 | {{wms_co_id}} |
FBillEntry.FDestStockId | 调入仓库 | string | {{link_wms_co_id}} |
FBillEntry.FNoteEntry | 备注 | string | |
FBillEntry.FISFREE | 赠品 | string | |
FBillEntry.FormId | 业务对象表单Id | string | STK_TransferDirect |
FBillEntry.IsAutoSubmitAndAudit | 提交并审核 | bool | false |
FBillEntry.IsVerifyBaseDataField | 验证基础资料 | bool | false |
FBillEntry.Operation | 执行的操作 | string | Save |
系统数据集成价值
全新的API数据集成模式,赋能企业业务创新 传统企业集成主要采用点对点或ESB集成方式,基于全新API战略中台的API新型集成方式通过解耦系统资源,降低系统间对接难度,实现快速业务需求响应,提升对接效率,助力企业满足快速业务交付需求,实现业务创新。通过构建API生态,助力能力开放与共享 基于API战略中台梳理并整合内部API资源与IT资产,可实现内部资源共享,满足内部开发人员资源使用需求,例如:金蝶云星空与聚水潭之间数据集成;并将API资源对外可控开放,打造面向开发者的生态服务,为您打通自身和上下游合作伙伴,创造共赢价值链。开展API战略中台,重塑IT 帮助您基于内部资源构建不同业务能力中心,打造企业统一API战略中台,赋能企业发展,实现对业务频繁变化的快速响应。同时您在能力中心基础上构建新业务时,无需从“零”组建各业务模块,提升开发效率,重塑IT组织及交付能力。
