聚水潭·奇门与金蝶云星空对接集成订单查询打通销售出库新增

数据源系统:聚水潭·奇门
聚水潭是SaaS协同平台、电商ERP软件。聚水潭成立于2014年,创始人兼CEO骆海东拥有近三十年传统及电商ERP的研发和实施部署经验。聚水潭创建之初,以电商SaaSERP切入市场,凭借出色的产品和服务,快速获得市场的肯定。
目标系统:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
配置集成方案
通过数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:聚水潭·奇门,并且选择对应的连接器(关于聚水潭·奇门的接口连接器如何配置可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息)。选择对应的订单查询接口作为数据对接来源。然后再通过写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器。选择对应的销售出库新增接口作为数据写入动作,既可以完成第一步的数据对接配置;打破跨系统连接,让数据轻易互通成为现实。


聚水潭·奇门接口明细
- 接口:jushuitan.saleout.list.query
- 接口名称:订单查询
- 接口方法:POST
请求参数
字段 | 名称 | 类型 |
start_time | 开始时间 | string |
end_time | 结束时间 | string |
page_size | 页数 | string |
page_index | 页码 | string |
响应参数
字段 | 名称 | 类型 | 描述 |
co_id | co_id | string | autoFillResponse |
f_freight | f_freight | string | _autoFillResponse |
f_weight | f_weight | string | autoFillResponse |
free_amount | free_amount | string | _autoFillResponse |
freight | freight | string | autoFillResponse |
is_cod | is_cod | string | _autoFillResponse |
items | items | array | autoFillResponse |
items.amount | amount | string | _autoFillResponse |
items.base_price | base_price | string | autoFillResponse |
items.i_id | i_id | string | _autoFillResponse |
items.is_gift | is_gift | string | autoFillResponse |
items.is_presale | is_presale | string | _autoFillResponse |
items.item_status | item_status | string | autoFillResponse |
items.name | name | string | _autoFillResponse |
items.oi_id | oi_id | string | autoFillResponse |
items.outer_oi_id | outer_oi_id | string | _autoFillResponse |
items.pic | pic | string | autoFillResponse |
items.price | price | string | _autoFillResponse |
items.properties_value | properties_value | string | autoFillResponse |
items.qty | qty | string | _autoFillResponse |
items.raw_so_id | raw_so_id | string | autoFillResponse |
items.shop_i_id | shop_i_id | string | _autoFillResponse |
items.shop_sku_id | shop_sku_id | string | autoFillResponse |
items.sku_id | sku_id | string | _autoFillResponse |
items.sku_type | sku_type | string | autoFillResponse |
items.labels | labels | string | _autoFillResponse |
items.modified | modified | string | autoFillResponse |
items.o_id | o_id | string | _autoFillResponse |
items.oaid | oaid | string | autoFillResponse |
items.open_id | open_id | string | _autoFillResponse |
items.order_date | order_date | string | autoFillResponse |
items.order_from | order_from | string | _autoFillResponse |
items.paid_amount | paid_amount | string | autoFillResponse |
items.pay_amount | pay_amount | string | _autoFillResponse |
items.pay_date | pay_date | string | autoFillResponse |
items.pays | pays | array | _autoFillResponse |
items.pays.amount | amount | string | autoFillResponse |
items.pays.buyer_account | buyer_account | string | _autoFillResponse |
items.pays.is_order_pay | is_order_pay | string | autoFillResponse |
items.pays.outer_pay_id | outer_pay_id | string | _autoFillResponse |
items.pays.pay_date | pay_date | string | autoFillResponse |
items.pays.pay_id | pay_id | string | _autoFillResponse |
items.pays.payment | payment | string | autoFillResponse |
items.pays.status | status | string | _autoFillResponse |
items.pays.question_type | question_type | string | autoFillResponse |
items.pays.receiver_city | receiver_city | string | _autoFillResponse |
items.pays.receiver_district | receiver_district | string | autoFillResponse |
items.pays.receiver_state | receiver_state | string | _autoFillResponse |
items.pays.referrer_id | referrer_id | string | autoFillResponse |
items.pays.referrer_name | referrer_name | string | _autoFillResponse |
items.pays.seller_flag | seller_flag | string | autoFillResponse |
items.pays.send_date | send_date | string | _autoFillResponse |
items.pays.shop_buyer_id | shop_buyer_id | string | autoFillResponse |
items.pays.shop_id | shop_id | string | _autoFillResponse |
items.pays.shop_name | shop_name | string | autoFillResponse |
items.pays.shop_status | shop_status | string | _autoFillResponse |
items.pays.so_id | so_id | string | autoFillResponse |
items.pays.status | status | string | _autoFillResponse |
items.pays.type | type | string | autoFillResponse |
items.pays.weight | weight | string | _autoFillResponse |
items.pays.wms_co_id | wms_co_id | string | _autoFillResponse |
金蝶云星空接口明细
- API:batchSave
- NAME:销售出库新增
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
FBillTypeID | 单据类型 | XSCKD01_SYS |
FBillNo | 单据编号 | {{o_id}} |
FDate | 日期 | {{io_date}} |
F_XC_ASSISTANT | 快递公司 | {{lc_id}} |
FSaleOrgId | 销售组织 | 101 |
FCustomerID | 客户 | ADTKSWW01 |
FStockOrgId | 发货组织 | 100 |
FNote | 备注 | {{remark}} |
F_XC_Text6 | 业务员 | {{order_staff_name}} |
FEntity | 明细信息 | batch |
FEntity.FMaterialID | 物料编码 | {{items.sku_id}} |
FEntity.FRealQty | 实发数量 | {{items.qty}} |
FEntity.FLot | 批号 | {{items.batch_no}} |
FEntity.FProduceDate | 生产日期 | {{items.product_date}} |
FEntity.FPrice | 单价 | |
FEntity.FTaxPrice | 含税单价 | {{items.sale_price}} |
FEntity.FEntryTaxRate | 税率% | |
FEntity.FOwnerTypeId | 货主类型 | BD_OwnerOrg |
FEntity.FOwnerId | 货主 | 101 |
FEntity.FStockID | 仓库 | CK001 |
FEntity.FEntrynote | 备注 | |
FEntity.FIsFree | 是否赠品 | function case when '{{items.sale_price}}'='0' then 'true' when LOCATE('仔细','{{remark}}')>0 then 'true' else 'false' end |
FEntity.F_XC_TEXT1 | 快递单号 | {{l_id}} |
FEntity.F_XC_Text | 电商单号 | _findCollection find so_id from 64023c69-0029-319b-932b-a5bce3416df4 where o_id={{o_id}} |
FEntity.FEXPIRYDATE | 有效期至 | {{items.expiration_date}} |
FEntity.F_PSEH_TEXT | 网上订单号 | {{so_id}} |
FEntity.F_PSEH_AMOUNT2 | 管易不含税金额 | {{pay_amount}} |
FEntity.F_PSEH_AMOUNT | 管易税额 | |
FEntity.F_PSEH_AMOUNT1 | 管易价税合计 | {{pay_amount}} |
FEntity.FDISCOUNT | 折扣额 | {{pay_amount}} |
FEntity.FDiscountRate | 折扣率 | 13 |
FEntity.SubHeadEntity | 财务信息 | |
FEntity.SubHeadEntity.FSettleOrgID | 结算组织 | 101 |
FEntity.SubHeadEntity.FSETTLECURRID | 结算币别 | PRE001 |
FEntity.SubHeadEntity.FAllDisCount | FAllDisCount | _function case when '{{batchs.free_amount}}'>0 then '{{batchs.free_amount}}' else '' end |
FEntity.SubHeadEntity.FormId | 业务对象表单Id | SAL_OUTSTOCK |
FEntity.SubHeadEntity.Operation | 执行的操作 | Save |
FEntity.SubHeadEntity.IsAutoSubmitAndAudit | 提交并审核 | false |
FEntity.SubHeadEntity.IsVerifyBaseDataField | 验证基础资料 | false |
FEntity.SubHeadEntity.SubSystemId | 系统模块 | 21 |
FEntity.SubHeadEntity.InterationFlags | 允许负库存 | |
数据对接价值
全新的API数据集成模式,赋能企业业务创新 传统企业集成主要采用点对点或ESB集成方式,基于全新API战略中台的API新型集成方式通过解耦系统资源,降低系统间对接难度,实现快速业务需求响应,提升对接效率,助力企业满足快速业务交付需求,实现业务创新。通过构建API生态,助力能力开放与共享 基于API战略中台梳理并整合内部API资源与IT资产,可实现内部资源共享,满足内部开发人员资源使用需求,例如:金蝶云星空与聚水潭·奇门之间数据集成;并将API资源对外可控开放,打造面向开发者的生态服务,为您打通自身和上下游合作伙伴,创造共赢价值链。开展API战略中台,重塑IT 帮助您基于内部资源构建不同业务能力中心,打造企业统一API战略中台,赋能企业发展,实现对业务频繁变化的快速响应。同时您在能力中心基础上构建新业务时,无需从“零”组建各业务模块,提升开发效率,重塑IT组织及交付能力。
