金蝶云星空和管易云·奇门单据接口对接

数据源系统:管易云·奇门
管易云是金蝶旗下专注提供电商企业管理软件服务的子品牌,先后开发了C-ERP、EC-OMS、EC-WMS、E店管家、BBC、B2B、B2C商城网站建设等产品和服务,涵盖电商业务全流程。
目标系统:金蝶云星空
金蝶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 | |
delivery | 发货状态 | string | |
shop_code | 店铺代码 | string | |
drp_tenant_name | 分销商名称 | string | |
page_size | 分页大小 | string | |
page_no | 页号 | 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
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
FBillNo | 出库单号 | {{code}} | 出库单号 |
FBillTypeID | 单据类型 | XSCKD01_SYS | 单据类型 |
FDate | 日期 | {{modify_date_new}} | 日期 |
FSaleOrgId | 销售组织 | 103 | 组织 |
FCustomerID | 客户 | {{shop_code}} | 基础资料 |
FStockOrgId | 发货组织 | 103 | 组织 |
FNote | 备注 | | 多行文本 |
FAPI | API | true | 多行文本 |
FReceiveAddress | 收货人地址 | | 文本 |
FEntity | 明细信息 | details | |
FEntity.FMaterialID | 物料编码 | {{details.details_item_code}} | 基础资料 |
FEntity.FUnitID | 库存单位 | findCollection find FPurchaseUnitId_FNumber from 66da8241-98f4-39f9-8fee-cac02e30e532 where FNumber={{details.details_item_code}} | 基础资料 |
FEntity.FRealQty | 实发数量 | {{details.details_detail_batch_qty}} | 数量 |
FEntity.FPriceUnitId | 计价单位 | _findCollection find FPurchaseUnitId_FNumber from 66da8241-98f4-39f9-8fee-cac02e30e532 where FNumber={{details.details_item_code}} | 基础资料 |
FEntity.FSalUnitID | 销售单位 | findCollection find FPurchaseUnitId_FNumber from 66da8241-98f4-39f9-8fee-cac02e30e532 where FNumber={{details.details_item_code}} | 基础资料 |
FEntity.FTaxPrice | 含税单价 | _function case when {{details.details_amount_after_price}}<0 then '0' else '{{details.details_amount_after_price}}' end | 单价 |
FEntity.FEntryTaxRate | 税率% | 13 | 小数 |
FEntity.FStockID | 仓库 | {{warehouse_code}} | 基础资料 |
FEntity.FLot | 批次号 | {{details.details_detail_batch_batchNumber}} | |
FEntity.FProduceDate | 生产日期 | _function case _findCollection find FIsKFPeriod from 66da8241-98f4-39f9-8fee-cac02e30e532 where FNumber={{details.details_item_code}} endFind when true then '{{details.details_detail_batch_productionTime}}' else '' end | |
FEntity.FExpiryDate | 有效期至 | | |
FEntity.FEntrynote | 备注 | _function case when {{details.details_amount_after_price}}<0 then '换货品' else '' end | 文本 |
FEntity.FSOORDERNO | 订单单号 | | 金蝶自定义 |
FEntity.FTHIRDENTRYID | 管易订单单号 | {{code}} | 金蝶自定义 |
FEntity.FORDERNUM | 管易订单单号 | {{code}} | 金蝶自定义 |
FEntity.FPLATFORMNUM | 管易平台单号 | {{platform_code}} | 金蝶自定义 |
FEntity.SubHeadEntity | 财务信息 | | |
FEntity.SubHeadEntity.FSettleOrgID | 结算组织 | 103 | 组织 |
FEntity.SubHeadEntity.FThirdBillNo | 第三方单据编号 | {{code}} | 第三方单据编号 |
FEntity.SubHeadEntity.FThirdBillId | 第三方单据平台单号 | {{platform_code}} | 第三方单据平台单号 |
FEntity.SubHeadEntity.FormId | 业务对象表单Id | SAL_OUTSTOCK | 必须填写金蝶的表单ID如😛UR_PurchaseOrder |
FEntity.SubHeadEntity.Operation | 执行的操作 | Save | |
FEntity.SubHeadEntity.IsAutoSubmitAndAudit | 提交并审核 | true | |
FEntity.SubHeadEntity.IsVerifyBaseDataField | 验证基础资料 | false | 是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
FEntity.SubHeadEntity.InterationFlags | 允许负库存 | STK_InvCheckResult | |
数据对接价值
异构系统都具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。采用“轻易云集成方案”的解决方案,可以满足客户的实际业务需求,推动软件工程的规范化,使开发人员遵循统一的概要设计开发实现,降低系统实现的风险,做到系统设计资料的规范性与全面性,以利于系统的实现、测试、维护、版本升级等。通过轻易云系统集成平台完美结合:打破企业内部数据孤岛,无需繁琐的处理工序,与数据集成服务完美结合,让数据真正通起来。 资源互补:汇集各种行业解决方案,资源互补,企业管理融合提升。
