金蝶云星空与管易云对接集成发货单查询2.0连通销售出库新增(新版管易发货单对接销售出库(104))

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

管易云接口明细
- 调用接口:gy.erp.kingdeecloud.delivery.orders.querybydate
- 接口名称:发货单查询2.0
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_date | 创建时间开始段 | string | {{LAST_SYNC_TIME datetime}} |
end_date | 创建时间结束段 | string | {{CURRENT_TIME datetime}} |
del | 返回是否作废的单据 | string | |
delivery | 发货状态 | string | 1 |
shop_code | 店铺代码 | string | 004 |
page_size | 分页大小 | string | {{PAGINATION_PAGE_SIZE}} |
page_no | 页号 | string | {{PAGINATION_START_PAGE}} |
detailApi | 详情查询api | object | |
detailApi.api | api | string | gy.erp.kingdeecloud.delivery.details.querybycode |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
code | 单据编号 | String | |
tagName | 标记名 | String | |
tagCode | 标记码 | String | |
shop_code | 店铺代码 | String | |
warehouse_code | 仓库代码 | String | |
delivery_time | 交货时间 | String | |
vip_code | 会员代码 | String | |
vip_name | 会员名称 | String | |
receiver_name | 收货人姓名 | String | |
receiver_phone | 收货人电话 | String | |
receiver_mobile | 审核人 | String | |
area_name | 收货地区 | String | |
receiver_address | 收货地址 | String | |
express_code | 快递公司代码 | String | |
express_name | 快递公司名称 | String | |
express_no | 快递单号 | String | |
listId | 列表Id | String | |
detailApi | 详细Api | String | |
details | 商品列表 | array | |
details.platform_code | 平台单号 | String | |
details.qty | 商品数量 | String | |
details.price | 实际单价 | String | |
details.amount | 商品总价 | String | |
details.memo | 备注 | String | |
details.batchs | 批次 | String | |
details.sns | 社交网络 | String | |
details.goods_id | 商品标识 | String | |
details.is_gift | 是否赠品 | String | |
details.discount_fee | 让利金额 | String | |
details.amount_after | 让利后金额 | String | |
details.post_fee | 物流费用 | String | |
details.post_cost | 物流成本 | String | |
details.tax_rate | 税率 | String | |
details.cost_price | 成本价 | String | |
details.trade_code | 销售订单号 | String | |
details.other_service_fee | 其他服务费 | String | |
details.tax_amount | 税额 | String | |
金蝶云星空接口明细
- API:batchSave
- NAME:销售出库新增
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
FBillNo | 出库单号 | {{code}} |
FBillTypeID | 单据类型 | XSCKD01_SYS |
FDate | 日期 | {{delivery_time}} |
FSaleOrgId | 销售组织 | 104 |
FCustomerID | 客户 | {{shop_code}} |
FStockOrgId | 发货组织 | 104 |
FNote | 备注 | |
FAPI | API | true |
FReceiveAddress | 收货人地址 | |
FEntity | 明细信息 | details |
FEntity.FMaterialID | 物料编码 | {{details.details_goods_code}} |
FEntity.FUnitID | 库存单位 | findCollection find FPurchaseUnitId_FNumber from 1476f37a-0973-3597-aefa-f06a16d30d9f where FNumber={{details.details_goods_code}} |
FEntity.FRealQty | 实发数量 | {{details.details_batchs_qty}} |
FEntity.FPriceUnitId | 计价单位 | _findCollection find FPurchaseUnitId_FNumber from 1476f37a-0973-3597-aefa-f06a16d30d9f where FNumber={{details.details_goods_code}} |
FEntity.FSalUnitID | 销售单位 | findCollection find FPurchaseUnitId_FNumber from 1476f37a-0973-3597-aefa-f06a16d30d9f where FNumber={{details.details_goods_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_batchs_batch}} |
FEntity.FProduceDate | 生产日期 | _function case findCollection find FIsKFPeriod from 1476f37a-0973-3597-aefa-f06a16d30d9f where FNumber={{details.details_goods_code}}endFind when true then '{{details.details_batchs_product_date}}' 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 | 结算组织 | 104 |
FEntity.SubHeadEntity.FThirdBillNo | 第三方单据编号 | {{code}} |
FEntity.SubHeadEntity.FThirdBillId | 第三方单据平台单号 | {{platform_code}} |
FEntity.SubHeadEntity.FormId | 业务对象表单Id | SAL_OUTSTOCK |
FEntity.SubHeadEntity.Operation | 执行的操作 | Save |
FEntity.SubHeadEntity.IsAutoSubmitAndAudit | 提交并审核 | true |
FEntity.SubHeadEntity.IsVerifyBaseDataField | 验证基础资料 | true |
FEntity.SubHeadEntity.InterationFlags | 允许负库存 | STK_InvCheckResult |
数据对接效果
通过无代码的数据集成与数据建模的智能数据管道技术,帮助企业将所有应用程序、数据库、事件和文件等数据信息提取到数据仓库中,并快速将分散的数据转化为数据集、API、自动化流程等开箱即用的数据服务。配置接口的模式对接管易云和金蝶云星空,使得单据无缝互通。打造企业内部数据一体化,让企业日常运营管理实现敏捷数据化运营。实现供应链业务信息流的互通,同时支持供应链数据分析流程自动化,结果推送,推进相关供应链问题优化。及时打通供应链孤岛,实现数据驱动供应链协同,进一步提升企业竞争力。


