聚水潭、金蝶云星空通过接口配置数据对接

对接系统:聚水潭
聚水潭SaaSERP于2014年4月上线,目前累计超过2.5万商家注册使用,成为淘宝应用服务市场ERP类目商家数和商家月订单增速最快的ERP。2014年及2015年“双十一”当天,聚水潭SaaSERP平稳、安全、顺畅的处理了近千万订单,超过了淘宝对ERP系统吞吐量极限要求的16倍,成为行业里的新标杆。截止目前,聚水潭客户已超2.5万家,其中有南极人、POVOS奔腾,恒源祥,柚子美衣,洁丽雅,FLYCO飞科,波司登,满速,欧丝璐等,并与知名电商圈“老A电商学院”达成深度合作。
集成系统:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
接口方案配置
集成方案是整个轻易云集成平台的核心,每一个集成方案代表一种业务的对接策略(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息),用户可以根据业务的不同新建多个不同规则的集成方案。比如:采购订单同步,线上销售出库同步,线下销售出库同步。一个集成方案必须要配置源系统:聚水潭,源系统 API:销售出库查询,目标系统:金蝶云星空,目标系统 API销售出库新增。在新增集成方案之前需要确定两个系统的连接器都已经配置完成。数据管道ETL:构建一体化的数据融合平台。高级数据转换: 支持公式转换数据格式、支持脚本直接进行数据转换、支持可视化多维度数据处理。高性能实时处理:针对不同数据节点类型提供TB级吞吐量,秒级延迟的增量数据处理能力。自动将旧版web服务转变为基于云端微服务的API,统一接口输出标准。支持接口开放服务,实现内外部能力接入。

聚水潭接口明细
- 接口:orders.out.simple.query
- 接口名称:销售出库查询
- 接口方法:POST
请求参数
字段 | 名称 | 类型 |
so_ids | 线上单号 | string |
is_offline_shop | shop_id为0且is_offline_shop为true查询线下店铺单据 | string |
modified_begin | 修改开始时间 | string |
page_size | 每页行数 | string |
status | 单据状态 | string |
shop_id | 店铺编码 | string |
modified_end | 修改结束时间 | string |
page_index | 页数 | string |
响应参数
字段 | 名称 | 类型 | 描述 |
co_id | 公司编号 | string | |
shop_id | 店铺编号 | string | |
io_id | 出库单号 | string | |
o_id | 内部单号 | string | |
so_id | 线上单号 | string | |
created | 创建时间 | string | |
modified | 修改时间 | string | |
status | 状态 | string | |
order_type | 单据类型 | string | |
invoice_title | 发票抬头 | string | |
shop_buyer_id | 买家帐号 | string | |
receiver_country | 国家 | string | |
receiver_state | 省 | string | |
receiver_city | 市 | string | |
receiver_district | 区 | string | |
receiver_town | 街道 | string | |
receiver_address | 地址 | string | |
receiver_name | 收件人姓名 | string | |
receiver_phone | 收件人手机 | string | |
receiver_mobile | 收件人电话 | string | |
buyer_message | 买家留言 | string | |
remark | 备注 | string | |
is_cod | 是否货到付款 | string | |
pay_amount | 应付金额 | string | |
l_id | 物流单号 | string | |
io_date | 出库时间 | string | |
lc_id | 快递公司编码 | string | |
stock_enabled | 是否启用库存管理 | string | |
drp_co_id_from | 分销商编号 | string | |
labels | 标记 | 多标签 | string | |
paid_amount | 实付金额 | string | |
free_amount | 优惠金额 | string | |
freight | 运费 | string | |
weight | 预估重量 | string | |
f_weight | 实称重量 | string | |
merge_so_id | 合并订单号 | string | |
wms_co_id | 分仓编号 | string | |
business_staff | 业务人员 | string | |
currency | 货币类型 | string | |
items | 商品集合 | array | |
items.ioi_id | 子单号 | string | |
items.pic | 图片 | string | |
items.sku_id | 商品编码 | string | |
items.qty | 数量 | string | |
items.name | 商品名称 | string | |
items.properties_value | 颜色规格 | string | |
items.sale_price | 单价 | string | |
items.sale_amount | 金额 | string | |
items.i_id | 款式编码 | string | |
items.sale_base_price | 原价 | 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.expiration_date | 有效期至 | string | |
items.batchs.sns | 唯一码集合 | array | |
items.batchs.sns.sn | 唯一码 | string | |
items.batchs.sns.pay_date | 支付时间 | string | |
items.batchs.sns.code | 错误码 | string | |
items.batchs.sns.issuccess | true代表成功 | string | |
items.batchs.sns.msg | 执行描述 | string | |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:销售出库新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FBillTypeID | 单据类型 | string | XSCKD01_SYS |
FBillNo | 单据编号 | string | {{io_id}} |
FDate | 日期 | string | {{io_date}} |
FSaleOrgId | 销售组织 | string | 102 |
FCustomerID | 客户 | string | function case '{{drp_co_id_from}}' when '0' then '{{shop_id}}' when '' then '{{shop_id}}' when 'null' then '{{shop_id}}' when 'NULL;' then '{{shop_id}}' else '{{drp_co_id_from}}' end |
FSalesManID | 销售员 | string | {{order_staff_name}} |
FSaleDeptID | 销售部门 | string | {{shop_id}} |
FStockOrgId | 发货组织 | string | 101 |
FNote | 备注 | string | {{remark}} |
FEntity | 明细信息 | array | batchs |
FEntity.FMaterialID | 物料编码 | string | {{batchs.sku_id}} |
FEntity.FRealQty | 实发数量 | string | {{batchs.qty}} |
FEntity.FLot | 批号 | string | {{batchs.batch_no}} |
FEntity.FProduceDate | 生产日期 | string | {{batchs.product_date}} |
FEntity.FEXPIRYDATE | 有效期至 | string | |
FEntity.FPrice | 单价 | string | |
FEntity.FTaxPrice | 含税单价 | string | {{items.sale_price}} |
FEntity.FEntryTaxRate | 税率% | string | |
FEntity.FOwnerTypeId | 货主类型 | string | BD_OwnerOrg |
FEntity.FOwnerId | 货主 | string | 101 |
FEntity.FStockID | 仓库 | string | {{wms_co_id}} |
FEntity.FEntrynote | 备注 | string | |
FEntity.FIsFree | 是否赠品 | string | _function case '{{items.sale_price}}' when '0' then true else false end |
FEntity.SubHeadEntity | 财务信息 | object | |
FEntity.SubHeadEntity.FSettleOrgID | 结算组织 | string | 102 |
FEntity.SubHeadEntity.FSETTLECURRID | 结算币别 | string | PRE001 |
FEntity.SubHeadEntity.FAllDisCount | 整单折扣额 | string | {{free_amount}} |
FEntity.SubHeadEntity.FormId | 业务对象表单Id | string | SAL_OUTSTOCK |
FEntity.SubHeadEntity.Operation | 执行的操作 | string | Save |
FEntity.SubHeadEntity.IsAutoSubmitAndAudit | 提交并审核 | bool | false |
FEntity.SubHeadEntity.IsVerifyBaseDataField | 验证基础资料 | bool | true |
FEntity.SubHeadEntity.SubSystemId | 系统模块 | string | 21 |
系统对接概况
当企业规模逐渐增大时,作为支撑业务运营的IT建设也变得越来越重要,不过往往企业的IT建设过程中会发现某一家软件供应商基本不能完全覆盖企业所有的业务运营流程,这样的结果就是,企业上的IT系统很多很全,从ERP到HR、CRM、PDM、OA等,貌似所有的业务都覆盖到了,但实际上因为这些系统的不集成,而形成了企业很多新的信息孤岛,非常不利于企业的后续的管理和战略发展。从现今和往后的发展趋势来看,也不可避免会遇到上述问题,毕竟企业经营的多样化,并不是所有的业务都能在一个系统中完成,所以我们必须在产品架构上支持更好的与外部系统进行协同。通过轻易云集成平台统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。


