金蝶云星空、管易云·奇门通过接口配置数据对接

数据源系统:管易云·奇门
管易云是上海管易云计算软件有限公司旗下的专注提供电商企业管理软件服务的品牌,总部位于中国上海张江高科技产业园区。管易云旗下拥有管易云C-ERP、EC-OMS、EC-WMS、B2C/B2B/BBC/微商城开发、PDA无纸化仓储解决方案、新零售一体化解决方案等产品
对接目标平台:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
数据接口配置方案
在轻易云平台进行集成方案的配置时,为了实现快速搭建,轻易云平台还提供了现有的市场方案进行复制参考。用户可以在创建集成方案的时候在第四步选择引用市场方案,参考市场主流所进行的字段配置完成集成方案的自定义化快速配置,即便是第一次使用轻易云平台的用户也能轻松搭建属于自己的数据同步方案。向导式配置,让配置更加清晰,首先确定该方方案的对接内容,第二歩获取筛选数据源平台的数据,第三步数据源与写入目标形成映射关系配置。完成配置后一键启用系统数据集成平台更加专注于数据集成与流程自动化的应用连接器,通过自研引擎,与各个平台或者服务完成对接,从而打通数据孤岛,实现数据的跨系统自由流转,让数据真正成为企业的核心生产力。



管易云·奇门接口明细
- API:gy.erp.trade.deliverys.get
- NAME:发货单查询
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
start_create | 创建时间开始段 | |
end_create | 创建时间结束段 | |
start_delivery_date | 发货时间开始段 | {{LAST_SYNC_TIME datetime}} |
end_delivery_date | 发货时间结束段 | {{CURRENT_TIME datetime}} |
start_modify_date | 修改时间开始段 | |
end_modify_date | 修改时间结束段 | |
del | 返回是否作废的单据 | |
shop_code | 店铺代码 | 004 |
code | 单据编号 | |
page_no | 页号 | {{PAGINATION_START_PAGE}} |
page_size | 分页大小 | {{PAGINATION_PAGE_SIZE}} |
响应参数
接口字段 | 名称 | 预设值 |
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
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FBillNo | 出库单号 | string | {{code}} |
FBillTypeID | 单据类型 | string | XSCKD01_SYS |
FDate | 日期 | string | {{modify_date_new}} |
FSaleOrgId | 销售组织 | string | 104 |
FCustomerID | 客户 | string | {{shop_code}} |
FStockOrgId | 发货组织 | string | 104 |
FNote | 备注 | string | |
FAPI | API | string | true |
FReceiveAddress | 收货人地址 | string | |
FEntity | 明细信息 | array | details |
FEntity.FMaterialID | 物料编码 | string | {{details.details_item_code}} |
FEntity.FUnitID | 库存单位 | string | findCollection find FPurchaseUnitId_FNumber from 66da8241-98f4-39f9-8fee-cac02e30e532 where FNumber={{details.details_item_code}} |
FEntity.FRealQty | 实发数量 | string | {{details.details_detail_batch_qty}} |
FEntity.FPriceUnitId | 计价单位 | string | _findCollection find FPurchaseUnitId_FNumber from 66da8241-98f4-39f9-8fee-cac02e30e532 where FNumber={{details.details_item_code}} |
FEntity.FSalUnitID | 销售单位 | string | findCollection find FPurchaseUnitId_FNumber from 66da8241-98f4-39f9-8fee-cac02e30e532 where FNumber={{details.details_item_code}} |
FEntity.FTaxPrice | 含税单价 | string | _function case when {{details.details_amount_after_price}}<0 then '0' else '{{details.details_amount_after_price}}' end |
FEntity.FEntryTaxRate | 税率% | string | 13 |
FEntity.FStockID | 仓库 | string | function case '{{shop_code}}' when '004' then '01SP' else '{{warehousein_code}}' end |
FEntity.FLot | 批次号 | string | {{details.details_detail_batch_batchNumber}} |
FEntity.FProduceDate | 生产日期 | string | _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 | 有效期至 | string | |
FEntity.FEntrynote | 备注 | string | _function case when {{details.details_amount_after_price}}<0 then '换货品' else '' end |
FEntity.FSOORDERNO | 订单单号 | string | |
FEntity.FTHIRDENTRYID | 管易订单单号 | string | {{code}} |
FEntity.FORDERNUM | 管易订单单号 | string | {{code}} |
FEntity.FPLATFORMNUM | 管易平台单号 | string | {{platform_code}} |
FEntity.SubHeadEntity | 财务信息 | object | |
FEntity.SubHeadEntity.FSettleOrgID | 结算组织 | string | 104 |
FEntity.SubHeadEntity.FThirdBillNo | 第三方单据编号 | string | {{code}} |
FEntity.SubHeadEntity.FThirdBillId | 第三方单据平台单号 | string | {{platform_code}} |
FEntity.SubHeadEntity.FormId | 业务对象表单Id | string | SAL_OUTSTOCK |
FEntity.SubHeadEntity.Operation | 执行的操作 | string | Save |
FEntity.SubHeadEntity.IsAutoSubmitAndAudit | 提交并审核 | bool | true |
FEntity.SubHeadEntity.IsVerifyBaseDataField | 验证基础资料 | bool | false |
FEntity.SubHeadEntity.InterationFlags | 允许负库存 | string | STK_InvCheckResult |
系统数据对接
当企业规模逐渐增大时,作为支撑业务运营的IT建设也变得越来越重要,不过往往企业的IT建设过程中会发现某一家软件供应商基本不能完全覆盖企业所有的业务运营流程,这样的结果就是,企业上的IT系统很多很全,从ERP到HR、CRM、PDM、OA等,貌似所有的业务都覆盖到了,但实际上因为这些系统的不集成,而形成了企业很多新的信息孤岛,非常不利于企业的后续的管理和战略发展。从现今和往后的发展趋势来看,也不可避免会遇到上述问题,毕竟企业经营的多样化,并不是所有的业务都能在一个系统中完成,所以我们必须在产品架构上支持更好的与外部系统进行协同。通过轻易云集成平台统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。

