管易云和金蝶云星空接口打通对接实战

数据源平台:管易云
金蝶管易云是金蝶集团旗下以电商和新零售为核心业务的子公司,公司于2008年成立,拥有从事电商及新零售业务相关专业知识工作者超过1000人。为伊利、网易有道、东阿阿胶、金龙鱼、海康、科大讯飞等超过110000家企业客户提供专业服务,用户数超过100万人。金蝶管易云与淘宝、天猫、京东、拼多多、抖音等超过150+主流电商平台建立合作关系。
目标系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
配置集成方案
通过数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:管易云,并且选择对应的连接器(关于管易云的接口连接器如何配置可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息)。选择对应的发货单查询接口作为数据对接来源。然后再通过写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器。选择对应的销售出库新增接口作为数据写入动作,既可以完成第一步的数据对接配置;打破跨系统连接,让数据轻易互通成为现实。

管易云接口明细
- 接口:gy.erp.trade.deliverys.get
- 接口名称:发货单查询
- 接口方法:POST
请求参数
字段 | 名称 | 类型 |
code | 单据编号 | string |
end_delivery_date | 发货时间结束段 | string |
del | 返回是否作废的单据 | string |
start_create | 创建时间开始段 | string |
delivery | 发货状态 | string |
end_create | 创建时间结束段 | string |
end_ modify_date | 修改时间结束段 | string |
start_ modify_date | 修改时间开始段 | string |
page_no | 页号 | string |
start_delivery_date | 发货时间开始段 | string |
page_size | 分页大小 | string |
响应参数
字段 | 名称 | 类型 | 描述 |
id | id | string | |
code | 单据编号 | string | |
warehouse_code | 仓库代码 | string | |
shop_code | 店铺代码 | string | |
outer_code | 平台单号 | string | |
print | 打印状态 | string | |
scan | 扫描状态 | string | |
delivery | 发货状态 | string | |
cod | 货到付款状态 | string | |
vip_name | 会员名称 | string | |
create_date | 制单时间 | string | |
modify_date | 修改时间 | string | |
delivery_date | 发货时间 | string | |
cancel | 取消状态 | string | |
payment | 已付金额 | string | |
pay_time | 支付时间 | string | |
invoiceDate | 确认开票时间 | string | |
bigchar | 大头笔 | string | |
unpaid_amount | 未付金额 | string | |
cod_fee | 货到付款服务费 | string | |
post_cost | 物流成本 | string | |
plan_delivery_date | 预计发货时间 | string | |
buyer_memo | 买家留言 | string | |
seller_memo | 卖家备注 | string | |
receiver_name | 收货人姓名 | string | |
receiver_phone | 收货人电话 | string | |
receiver_mobile | 收货人手机 | string | |
receiver_zip | 收货邮编 | string | |
receiver_address | 收货地址 | string | |
create_name | 制单人 | string | |
express_no | 快递单号 | string | |
shop_name | 店铺名称 | string | |
area_name | 收货地区 | string | |
warehouse_name | 仓库名称 | string | |
location_code | 库位代码 | string | |
express_code | 快递公司代码 | string | |
express_name | 快递公司名称 | string | |
tag_name | 订单标记名称 | string | |
seller_memo_late | 二次备注 | string | |
shelf_no | 格子号 | string | |
details | 商品列表 | array | |
details.qty | 商品数量 | string | |
details.price | 实际单价 | string | |
details.amount | 商品总价 | string | |
details.refund | 退款状态 | string | |
details.itemCategoryName | 商品类别名称 | string | |
details.itemUnitName | 商品单位 | string | |
details.barcode | 商品条码 | string | |
details.tariff | 关税 | string | |
details.memo | 备注 | string | |
details.picUrl | 图片地址 | string | |
details.oid | 子订单号 | string | |
details.trade_code | 销售订单号 | string | |
details.item_id | 商品ID | string | |
details.item_sku_id | 规格ID | string | |
details.item_code | 商品代码 | string | |
details.item_name | 商品名称 | string | |
details.sku_code | 规格代码 | string | |
details.sku_name | 规格名称 | string | |
details.sku_note | 商品的规格备注 | string | |
details.discount_fee | 让利金额 | string | |
details.amount_after | 让利后金额 | string | |
details.post_fee | 物流费用 | string | |
details.order_type | 订单类型 | string | |
details.platform_flag | 平台旗帜 | string | |
details.detail_unique | 唯一码列表 | string | |
details.detail_batch | 批次列表 | array | |
details.is_gift | 是否赠品 | string | |
details.businessman_name | 业务员 | string | |
details.platform_code | 平台单号 | string | |
details.tax_rate | 税率 | string | |
details.tax_amount | 税额 | string | |
details.tax_no | 税号 | string | |
details.other_service_fee | 其他服务费 | string | |
details.gift_source_view | 赠品来源 | string | |
details.currency_code | 币别代码 | string | |
details.currency_name | 币别名称 | string | |
details.detail_batch | 批次列表 | array | |
details.detail_batch.batchNumber | 批次号 | string | |
details.detail_batch.qty | 数量 | string | |
details.detail_batch.productionTime | 生产日期 | string | |
details.detail_batch.validTime | 有效日期 | string | |
details.detail_batch.delivery_statusInfo | 单据状态信息 | array | |
details.detail_batch.delivery_statusInfo.delivery_date | 发货时间 | string | |
details.detail_batch.delivery_statusInfo.invoices | 发票列表 | string | |
details.detail_batch.delivery_statusInfo.vip_code | 会员代码 | string | |
details.detail_batch.delivery_statusInfo.vip_real_name | 真实姓名 | string | |
details.detail_batch.delivery_statusInfo.vip_id_card | 身份证号码 | string | |
details.detail_batch.delivery_statusInfo.package_center_code | 集包地代码 | string | |
details.detail_batch.delivery_statusInfo.package_center_name | 集包地名称 | string | |
details.detail_batch.delivery_statusInfo.sync_status | 数据同步状态 | string | |
details.detail_batch.delivery_statusInfo.sync_memo | 数据同步备注 | string | |
details.detail_batch.delivery_statusInfo.picture_bill | 是否多包裹 | string | |
details.detail_batch.delivery_statusInfo.drp_tenant_name | 分销商名称 | string | |
details.detail_batch.delivery_statusInfo.drp_tenant_mobile | 分销商手机号 | string | |
金蝶云星空接口明细
- API:batchSave
- NAME:销售出库新增
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
FBillTypeID | 单据类型 | XSCKD01_SYS |
FBillNo | 单据编号 | {{code}} |
FDate | 日期 | {{delivery_statusInfo.delivery_date}} |
FSaleOrgId | 销售组织 | {{shop_code}} |
FCustomerID | 客户 | {{shop_code}} |
FSaleDeptID | 销售部门 | {{shop_code}} |
FStockOrgId | 发货组织 | 101 |
FNote | 备注 | |
F_sms_Text | 管易平台单号 | {{platform_code}} |
F_sms_Text1 | 管易物流单号 | {{express_no}} |
SubHeadEntity | 财务信息 | |
SubHeadEntity.FSettleOrgID | 结算组织 | {{shop_code}} |
SubHeadEntity.FSETTLECURRID | 结算币别 | PRE001 |
SubHeadEntity.FEntity | 明细信息 | details |
SubHeadEntity.FEntity.FMaterialID | 物料编码 | {{details.sku_code}} |
SubHeadEntity.FEntity.FRealQty | 实发数量 | {{details.qty}} |
SubHeadEntity.FEntity.FPrice | 单价 | |
SubHeadEntity.FEntity.FTaxPrice | 含税单价 | |
SubHeadEntity.FEntity.FIsFree | 是否赠品 | |
SubHeadEntity.FEntity.FLot | 批号 | |
SubHeadEntity.FEntity.FProduceDate | 生产日期 | |
SubHeadEntity.FEntity.FExpiryDate | 有效期至 | |
SubHeadEntity.FEntity.FEntryTaxRate | 税率% | |
SubHeadEntity.FEntity.FAmount | 金额 | |
SubHeadEntity.FEntity.FAllAmount | 价税合计 | {{details.amount_after}} |
SubHeadEntity.FEntity.FStockID | 仓库 | {{warehouse_code}} |
SubHeadEntity.FEntity.FOwnerTypeId | 货主类型 | BD_OwnerOrg |
SubHeadEntity.FEntity.FOwnerId | 货主 | 101 |
SubHeadEntity.FEntity.FEntrynote | 备注 | {{memo}} |
SubHeadEntity.FEntity.F_sms_Text2 | 触发更新 | 1 |
SubHeadEntity.FEntity.FormId | 业务对象表单Id | SAL_OUTSTOCK |
SubHeadEntity.FEntity.Operation | 执行的操作 | Save |
SubHeadEntity.FEntity.IsAutoSubmitAndAudit | 提交并审核 | false |
SubHeadEntity.FEntity.IsVerifyBaseDataField | 验证基础资料 | true |
SubHeadEntity.FEntity.SubSystemId | 相应位置 | 21 |
数据对接效果
数据集成中台设计中心Web界面以“拖拽”式交互设计,使用鼠标即可构建设计多异构系统数据集成流程,低代码平台大大降低流程设计者上手门槛。还有丰富的组件库快速满足复杂业务需求,结合不同模块即可生成不同业务流程,提升流程设计效率。平台支持多种高度灵活部署,高并发、高性能、高可用,可以通过多节点组成集群实现性能的横向扩展。适度集群配置其数据集成处理能力可达GB级/秒,为业务流提供更高数据吞吐量。平台已集成数据回压、优先级队列等能力,保障运行稳定性。完善的企业API运营管理机制帮助您构建“API生产者、API管理者、API消费者”三者结合的统一API数字化生态。支持市面上主流厂家软件如:金蝶、用友、SAP、泛微、蓝凌、旺店通、聚水潭、马帮、小满CRM等等。

