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

数据源平台:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
集成系统:管易云
管易云是上海管易云计算软件有限公司旗下的专注提供电商企业管理软件服务的品牌,总部位于中国上海张江高科技产业园区。管易云旗下拥有管易云C-ERP、EC-OMS、EC-WMS、B2C/B2B/BBC/微商城开发、PDA无纸化仓储解决方案、新零售一体化解决方案等产品
接口方案配置
使用轻易云系统数据集成平台对应的模块:数据集成方案。然后选择开始创建数据集成方案。在方案配置表单中选择对应的源业务系统:金蝶云星空,然后选择对应的连接器。选择对应的库存查询作为数据对接来源。然后再通过写入目标平台配置目标系统为管易云,并且选择对应连接器(关于管易云的接口如何配置可以在轻易云数据集成社区论坛中找到相关信息,选择好对应的盘点单新增并审核接口作为数据写入动作,既可以完成第一步的数据对接配置。


金蝶云星空接口明细
- 接口:executeBillQuery
- 接口名称:库存查询
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
FID | FID | string | |
FStockId | 仓库ID | string | |
FMaterialId | 物料ID | string | |
FBaseQty | 库存量 | string | |
FBaseAVBQty | 可用量 | string | |
FLot | 批次号 | string | |
FUpdateTime | 最后更新日期 | string | |
FOwnerId | 货主ID | string | |
FKeeperId | 保管者ID | string | |
FStockOrgId | 库存组织ID | string | |
FOwnerTypeId | 货主类型ID | string | |
FStockId_FNumber | 仓库编码 | string | |
FMaterialId_FNumber | 物料编码 | string | |
FMaterialId_FPurchaseUnitId | 物料采购单位ID | string | |
FOwnerId_FNumber | 货主编码 | string | |
FKeeperId_FNumber | 保管者编码 | string | |
FLot_FNumber | 批次编码 | string | |
FStockOrgId_FNumber | 库存组织编码 | string | |
FProduceDate | 生产日期 | string | |
FExpiryDate | 有效期至 | string | |
FMtoNo | 计划跟踪号 | string | |
FStockStatusId | 库存状态 | string | |
FStockLocId | 库位ID | string | |
FMaterialId_FPurchaseUnitId_FConvertDenominator | FMaterialId_FPurchaseUnitId_FConvertDenominator | string | |
FMaterialId_FPurchaseUnitId_FConvertNumerator | FMaterialId_FPurchaseUnitId_FConvertNumerator | string | |
FRemainInStockQty | 采购单位数量 | string | |
Limit | 最大行数 | string | 金蝶的查询分页参数 |
StartRow | 开始行索引 | string | 金蝶的查询分页参数 |
TopRowCount | 返回总行数 | int | 金蝶的查询分页参数 |
FilterString | 过滤条件 | string | FUpdateTime是库存的最近更新日期 |
FieldKeys | 需查询的字段key集合 | array | 金蝶分录主键ID格式:FPOOrderEntry_FEntryId,其它格式 FPurchaseOrgId.FNumber |
FormId | 业务对象表单Id | string | 必须填写金蝶的表单ID如😛UR_PurchaseOrder |
响应参数
字段 | 名称 | 类型 | 描述 |
FID | FID | string | |
FStockId | 仓库ID | string | |
FMaterialId | 物料ID | string | |
FBaseQty | 库存量 | string | |
FBaseAVBQty | 可用量 | string | |
FLot | 批次号 | string | |
FUpdateTime | 最后更新日期 | string | |
FOwnerId | 货主ID | string | |
FKeeperId | 保管者ID | string | |
FStockOrgId | 库存组织ID | string | |
FOwnerTypeId | 货主类型ID | string | |
FStockId_FNumber | 仓库编码 | string | |
FMaterialId_FNumber | 物料编码 | string | |
FMaterialId_FPurchaseUnitId | 物料采购单位ID | string | |
FOwnerId_FNumber | 货主编码 | string | |
FKeeperId_FNumber | 保管者编码 | string | |
FLot_FNumber | 批次编码 | string | |
FStockOrgId_FNumber | 库存组织编码 | string | |
FProduceDate | 生产日期 | string | |
FExpiryDate | 有效期至 | string | |
FMtoNo | 计划跟踪号 | string | |
FStockStatusId | 库存状态 | string | |
FStockLocId | 库位ID | string | |
FMaterialId_FPurchaseUnitId_FConvertDenominator | FMaterialId_FPurchaseUnitId_FConvertDenominator | string | |
FMaterialId_FPurchaseUnitId_FConvertNumerator | FMaterialId_FPurchaseUnitId_FConvertNumerator | string | |
FRemainInStockQty | 采购单位数量 | string | |
管易云接口明细
- 调用接口:gy.erp.stock.count.add
- 接口名称:盘点单新增并审核
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
warehouse_code | 仓库代码 | string | {{FStockId_FNumber}} |
type_code | 单据类型代码 | string | |
operator | 操作人 | string | |
details | 商品列表 | array | details |
details.note | 备注 | string | |
details.item_code | 商品代码 | string | {{details.FMaterialId_FNumber}} |
details.sku_code | 规格代码 | string | |
details.qty | 数量 | string | {{details.FRemainInStockQty}} |
details.location_code | 库位代码 | string | |
details.uniqueCode | 唯一码 | string | |
details.batchNumber | 批次号 | string | {{details.FLot_FNumber}} |
details.manufacturingDate | 生产日期 | string | function case when '{{details.FProduceDate datetime}}'='' then '2022-01-01 00:00:00' else '{{details.FProduceDate datetime}}' end |
details.shelfLife | 有效期 | string | _function ifnull(timestampdiff(day,'{{details.FProduceDate date}}','{{FExpiryDate date}}'),3650) |
details.stockDate | 入库日期 | string | _function case when '{{details.FProduceDate datetime}}'='' then '2022-01-01 00:00:00' else '{{details.FProduceDate datetime}}' end |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
success | 成功与否 | string | |
errorDesc | 错误信息 | string | |
subErrorCode | subErrorCode | string | |
系统数据集成价值
通过轻易云集成平台系列产品线可以协助企业轻易快捷的构建基于微服务架构的新一代企业服务总线,传统基于SOA架构的ESB产品主要解决的数据集成和协议转换等基础功能,已完全不能满足基于微服务架构、混合云集成架构、跨组织、跨单位的总线解决方案。 而轻易云集成平台的每个产品线都是新一代的按照最新的互联网架构模式进行研发的产品线,能快速协助企业从传统的SOA架构转向微服务架构的服务总线解决方案。

