管易云·奇门与金蝶云星空对接集成发货单查询打通销售出库新增

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


管易云·奇门接口明细
- 接口:gy.erp.trade.deliverys.get
- 接口名称:发货单查询
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
start_create | 创建时间开始段 | string | |
end_create | 创建时间结束段 | string | |
start_delivery_date | 发货时间开始段 | string | |
end_delivery_date | 发货时间结束段 | string | |
start_modify_date | 修改时间开始段 | string | |
end_modify_date | 修改时间结束段 | string | |
del | 返回是否作废的单据 | string | |
shop_code | 店铺编码 | string | |
page_no | 页号 | string | 默认1 |
page_size | 分页大小 | string | {{PAGINATION_PAGE_SIZE}} |
响应参数
字段 | 名称 | 类型 | 描述 |
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 | |
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 | 商品列表 | string | |
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 | 批次列表 | string | |
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.delivery_statusInfo | 单据状态信息 | string | |
details.invoices | 发票列表 | string | |
details.vip_code | 会员代码 | string | |
details.vip_real_name | 真实姓名 | string | |
details.vip_id_card | 身份证号码 | string | |
details.package_center_code | 集包地代码 | string | |
details.package_center_name | 集包地名称 | string | |
details.sync_status | 数据同步状态 | string | |
details.sync_memo | 数据同步备注 | string | |
details.picture_bill | 是否多包裹 | string | |
details.drp_tenant_name | 分销商名称 | string | |
details.drp_tenant_mobile | 分销商手机号 | string | |
金蝶云星空接口明细
- API:batchSave
- NAME:销售出库新增
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
FStockOrgId | 发货组织 | 200 | 组织 |
FSaleOrgId | 销售组织 | 200 | 组织 |
FBillTypeID | 单据类型 | XSCKD07_SYS | 单据类型 |
FBillNo | 单据编号 | {{code}} | 单据编号 |
FDate | 日期 | {{delivery_statusInfo.delivery_date}} | 日期 |
FCustomerID | 客户 | findCollection find FNumber from b353fb96-f353-3263-bd21-f418c7d9ca19 where FShopCode={{shop_code}} | 基础资料 |
FPlatformCode | 管易平台单号 | {{platform_code}} | 基础资料 |
FAPI | FAPI | true | 文本 |
FApproveDate1 | 出货日期 | {{modify_date}} | 基础资料 |
FNote | 备注 | | 多行文本 |
FOwnerTypeIdHead | 货主类型 | BD_OwnerOrg | 多类别基础资料列表 |
FOwnerIdHead | 货主 | 200 | 多类别基础资料 |
SubHeadEntity | 财务信息 | | |
SubHeadEntity.FSettleOrgID | 结算组织 | 200 | 组织 |
SubHeadEntity.FEntity | 明细信息 | details | |
SubHeadEntity.FEntity.FMaterialID | 物料编码 | {{details.item_code}} | 基础资料 |
SubHeadEntity.FEntity.FRealQty | 实发数量 | {{details.qty}} | 数量 |
SubHeadEntity.FEntity.FPrice | 单价 | | 单价 |
SubHeadEntity.FEntity.FTaxPrice | 含税单价 | _function {{details.amount_after}}/{{details.qty}} | 单价 |
SubHeadEntity.FEntity.FIsFree | 是否赠品 | _function case '{{details.amount_after}}' when '0' then true else false end | 复选框 |
SubHeadEntity.FEntity.FLot | 批号 | | 批次 |
SubHeadEntity.FEntity.FProduceDate | 生产日期 | | 日期 |
SubHeadEntity.FEntity.FExpiryDate | 有效期至 | | 日期 |
SubHeadEntity.FEntity.FEntryTaxRate | 税率% | | 小数 |
SubHeadEntity.FEntity.FEntryTaxAmount | 税额 | | 金额 |
SubHeadEntity.FEntity.FAmount | 金额 | | 金额 |
SubHeadEntity.FEntity.FAllAmount | 价税合计 | {{details.amount_after}} | 金额 |
SubHeadEntity.FEntity.FStockID | 仓库 | {{warehouse_code}} | 基础资料 |
SubHeadEntity.FEntity.FEntrynote | 备注 | | 文本 |
SubHeadEntity.FEntity.FormId | 业务对象表单Id | SAL_OUTSTOCK | 必须填写金蝶的表单ID如😛UR_PurchaseOrder |
SubHeadEntity.FEntity.Operation | 执行的操作 | Save | |
SubHeadEntity.FEntity.IsAutoSubmitAndAudit | 提交并审核 | true | |
SubHeadEntity.FEntity.IsVerifyBaseDataField | 验证基础资料 | false | 是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
SubHeadEntity.FEntity.SubSystemId | 系统模块 | 21 | 默认仓库模块 |
SubHeadEntity.FEntity.InterationFlags | 允许负库存 | STK_InvCheckResult | |
系统对接概况
全新的API数据集成模式,赋能企业业务创新 传统企业集成主要采用点对点或ESB集成方式,基于全新API战略中台的API新型集成方式通过解耦系统资源,降低系统间对接难度,实现快速业务需求响应,提升对接效率,助力企业满足快速业务交付需求,实现业务创新。通过构建API生态,助力能力开放与共享 基于API战略中台梳理并整合内部API资源与IT资产,可实现内部资源共享,满足内部开发人员资源使用需求,例如:金蝶云星空与管易云·奇门之间数据集成;并将API资源对外可控开放,打造面向开发者的生态服务,为您打通自身和上下游合作伙伴,创造共赢价值链。开展API战略中台,重塑IT 帮助您基于内部资源构建不同业务能力中心,打造企业统一API战略中台,赋能企业发展,实现对业务频繁变化的快速响应。同时您在能力中心基础上构建新业务时,无需从“零”组建各业务模块,提升开发效率,重塑IT组织及交付能力。

