金蝶云星空对接外部管易云系统

对接源平台:管易云
金蝶管易云是金蝶集团旗下以电商和新零售为核心业务的子公司,公司于2008年成立,拥有从事电商及新零售业务相关专业知识工作者超过1000人。为伊利、网易有道、东阿阿胶、金龙鱼、海康、科大讯飞等超过110000家企业客户提供专业服务,用户数超过100万人。金蝶管易云与淘宝、天猫、京东、拼多多、抖音等超过150+主流电商平台建立合作关系。
接通系统:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
数据接口配置方案
集成方案是整个轻易云集成平台的核心,每一个集成方案代表一种业务的对接策略(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息),用户可以根据业务的不同新建多个不同规则的集成方案。比如:采购订单同步,线上销售出库同步,线下销售出库同步。一个集成方案必须要配置源系统:管易云,源系统 API:发货单查询,目标系统:金蝶云星空,目标系统 API销售出库新增。在新增集成方案之前需要确定两个系统的连接器都已经配置完成。


管易云接口明细
- API:gy.erp.trade.deliverys.history.get
- NAME:发货单查询
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
start_delivery_date | 发货时间开始段 | {{LAST_SYNC_TIME datetime}} |
end_delivery_date | 发货时间结束段 | {{CURRENT_TIME datetime}} |
page_size | 分页大小 | {{PAGINATION_PAGE_SIZE}} |
page_no | 页号 | {{PAGINATION_START_PAGE}} |
响应参数
接口字段 | 名称 | 预设值 |
id | id | |
code | 单据编号 | |
warehouse_code | 仓库代码 | |
shop_code | 店铺代码 | |
outer_code | 平台单号 | |
print | 打印状态 | |
scan | 扫描状态 | |
delivery | 发货状态 | |
cod | 货到付款状态 | |
vip_name | 会员名称 | |
create_date | 制单时间 | |
modify_date | 修改时间 | |
cancel | 取消状态 | |
payment | 已付金额 | |
pay_time | 支付时间 | |
invoiceDate | 确认开票时间 | |
bigchar | 大头笔 | |
unpaid_amount | 未付金额 | |
cod_fee | 货到付款服务费 | |
post_cost | 物流成本 | |
plan_delivery_date | 预计发货时间 | |
buyer_memo | 买家留言 | |
seller_memo | 卖家备注 | |
receiver_name | 收货人姓名 | |
receiver_phone | 收货人电话 | |
receiver_mobile | 收货人手机 | |
receiver_zip | 收货邮编 | |
receiver_address | 收货地址 | |
create_name | 制单人 | |
express_no | 快递单号 | |
shop_name | 店铺名称 | |
area_name | 收货地区 | |
warehouse_name | 仓库名称 | |
location_code | 库位代码 | |
express_code | 快递公司代码 | |
express_name | 快递公司名称 | |
tag_name | 订单标记名称 | |
seller_memo_late | 二次备注 | |
shelf_no | 格子号 | |
details | 商品列表 | |
details.qty | 商品数量 | |
details.price | 实际单价 | |
details.amount | 商品总价 | |
details.refund | 退款状态 | |
details.itemCategoryName | 商品类别名称 | |
details.itemUnitName | 商品单位 | |
details.barcode | 商品条码 | |
details.tariff | 关税 | |
details.memo | 备注 | |
details.picUrl | 图片地址 | |
details.oid | 子订单号 | |
details.trade_code | 销售订单号 | |
details.item_id | 商品ID | |
details.item_sku_id | 规格ID | |
details.item_code | 商品代码 | |
details.item_name | 商品名称 | |
details.sku_code | 规格代码 | |
details.sku_name | 规格名称 | |
details.sku_note | 商品的规格备注 | |
details.discount_fee | 让利金额 | |
details.amount_after | 让利后金额 | |
details.post_fee | 物流费用 | |
details.order_type | 订单类型 | |
details.platform_flag | 平台旗帜 | |
details.detail_unique | 唯一码列表 | |
details.detail_batch | 批次列表 | |
details.is_gift | 是否赠品 | |
details.businessman_name | 业务员 | |
details.platform_code | 平台单号 | |
details.tax_rate | 税率 | |
details.tax_amount | 税额 | |
details.tax_no | 税号 | |
details.other_service_fee | 其他服务费 | |
details.gift_source_view | 赠品来源 | |
details.currency_code | 币别代码 | |
details.currency_name | 币别名称 | |
details.delivery_statusInfo | 单据状态信息 | |
details.invoices | 发票列表 | |
details.vip_code | 会员代码 | |
details.vip_real_name | 真实姓名 | |
details.vip_id_card | 身份证号码 | |
details.package_center_code | 集包地代码 | |
details.package_center_name | 集包地名称 | |
details.sync_status | 数据同步状态 | |
details.sync_memo | 数据同步备注 | |
details.picture_bill | 是否多包裹 | |
details.drp_tenant_name | 分销商名称 | |
details.drp_tenant_mobile | 分销商手机号 | |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:销售出库新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FBillTypeID | 单据类型 | string | XSCKD01_SYS |
FBillNo | 单据编号 | string | {{code}} |
FDate | 日期 | string | {{create_date date}} |
FSaleOrgId | 销售组织 | string | 100 |
FCustomerID | 客户 | string | {{shop_name}} |
FSaleDeptID | 销售部门 | string | {{shop_name}} |
FCorrespondOrgId | 对应组织 | string | 100 |
FCarriageNO | 运输单号 | string | |
FStockOrgId | 发货组织 | string | 100 |
FDeliveryDeptID | 发货部门 | string | {{shop_name}} |
FLinkPhone | 联系电话 | string | |
FLinkMan | 收货人姓名 | string | |
FNote | 备注 | string | |
FReceiveAddress | 收货方地址 | string | |
FOwnerTypeIdHead | 货主类型 | string | BD_OwnerOrg |
FSHOPNUMBER | 网店编码 | string | |
FSALECHANNEL | 销售渠道 | string | |
FOwnerIdHead | 货主 | string | 100 |
FEntity | 明细信息 | array | details |
FEntity.FCustMatID | 客户物料编码 | string | |
FEntity.FMaterialID | 物料编码 | string | {{details.sku_code}} |
FEntity.FBarcode | 零售条形码 | string | |
FEntity.FRealQty | 实发数量 | string | {{details.qty}} |
FEntity.FPrice | 单价 | string | |
FEntity.FTaxPrice | 含税单价 | string | function {{details.amount_after}}/{{details.qty}} |
FEntity.FIsFree | 是否赠品 | string | _function CASE {{details.price}} when 0 then 'true' else 'false' end |
FEntity.FLot | 批号 | string | |
FEntity.FProduceDate | 生产日期 | string | |
FEntity.FExpiryDate | 有效期至 | string | |
FEntity.FEntryTaxRate | 税率% | string | {{details.tax_rate}} |
FEntity.FEntryTaxAmount | 税额 | string | |
FEntity.FAmount | 金额 | string | |
FEntity.FAllAmount | 价税合计 | string | |
FEntity.FStockID | 仓库 | string | {{warehouse_code}} |
FEntity.FStockLocID | 仓位 | string | |
FEntity.FStockStatusID | 库存状态 | string | |
FEntity.FMtoNo | 计划跟踪号 | string | |
FEntity.FEntrynote | 备注 | string | |
FEntity.FSoorDerno | 订单单号 | string | |
FEntity.FDiscountRate | 折扣率% | string | |
FEntity.FBillLy | 订单来源类型 | string | API |
FEntity.FormId | 业务对象表单Id | string | SAL_OUTSTOCK |
FEntity.Operation | 执行的操作 | string | Save |
FEntity.IsAutoSubmitAndAudit | 提交并审核 | bool | true |
FEntity.IsVerifyBaseDataField | 验证基础资料 | bool | false |
FEntity.SubSystemId | 系统模块 | string | 21 |
数据对接价值
通过轻易云集成平台系列产品线可以协助企业轻易快捷的构建基于微服务架构的新一代企业服务总线,传统基于SOA架构的ESB产品主要解决的数据集成和协议转换等基础功能,已完全不能满足基于微服务架构、混合云集成架构、跨组织、跨单位的总线解决方案。 而轻易云集成平台的每个产品线都是新一代的按照最新的互联网架构模式进行研发的产品线,能快速协助企业从传统的SOA架构转向微服务架构的服务总线解决方案。
