金蝶云星空对接打通奇门WMS-A物料查询接口与商品同步接口接口

接通系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
对接目标系统:奇门WMS-A
奇门WMS是针对菜鸟WMS、天猫国际保税仓、其它WMS系统(如:百世云仓、巨沃WMS、递四方、中仓仓储等第三方仓储WMS系统),进行对接与管理的模块。奇门WMS包含:基本信息配置、商品同步、商品对照、商品区域销售设置、渠道库存管理、库存同步设置、手动同步库存、仓库对照、供应商对照、采购订单、采购退货出库单、发货单列表、退货单列表、调拨单列表、仓内加工单、其他出库单、其他入库单、B2B出库单、接口日志查询、前后端商品映射关系同步
数据对接方案
系统对接前期需要通过调研公司的业务,规划出最便捷,效率最高的整体流程。通过流程我们需要建立对应的方案来吧这些流程一一的落地,轻易云集成平台开箱即用的、可视化拖、拉、拽实现接口服务编排与聚合。只需要根据指引设定好对应的参数即可启动使用。设定好源平台:金蝶云星空的接口参数设置,以及设定好目标平台:奇门WMS-A的映射,即可启动方案进行测试

金蝶云星空接口明细
- API:executeBillQuery
- NAME:物料查询
- METHOD:POST
请求参数
| 接口字段 | 字段名称 | 预设值 | 描述 |
| FMasterId | id | FMasterId | |
| FNumber | 编码 | FNumber | |
| FName | 名称 | FName | |
| FSpecification | 规格型号 | FSpecification | |
| FMnemonicCode | 助记码 | FMnemonicCode | |
| FOldNumber | 旧物料编码 | FOldNumber | |
| FBARCODE | 条码 | FBARCODE | |
| FDescription | 描述 | FDescription | |
| FMaterialGroup_FNumber | 物料分组 | FMaterialGroup.FNumber | |
| FErpClsID | 物料属性 | FErpClsID | |
| FDocumentStatus | 数据状态 | FDocumentStatus | |
| FForbidStatus | 禁用状态 | FForbidStatus | |
| FBaseUnitId_FNumber | 基本单位.编码 | FBaseUnitId.FNumber | |
| FCreateOrgId_FNumber | 创建组织 | FCreateOrgId.FNumber | |
| FUseOrgId_FNumber | 使用组织 | FUseOrgId.FNumber | |
| FIsInventory | 允许库存 | FIsInventory | |
| FIsSale | 允许销售 | FIsSale | |
| FIsAsset | 允许资产 | FIsAsset | |
| FIsSubContract | 允许委外 | FIsSubContract | |
| FIsProduce | 允许生产 | FIsProduce | |
| FIsPurchase | 允许采购 | FIsPurchase | |
| FStockId_FNumber | 仓库 | FStockId.FNumber | |
| FPurchaseOrgId_FNumber | 采购组织.编码 | FPurchaseOrgId.FNumber | |
| FPurchaseOrgId_FName | 采购组织 | FPurchaseOrgId.FName | |
| FIsBatchManage | 启用批号管理 | FIsBatchManage | |
| FIsKFPeriod | 启用保质期管理 | FIsKFPeriod | |
| FIsSNManage | 启用序列号管理 | FIsSNManage | |
| FSafeStock | 安全库存 | FSafeStock | |
| FCategoryID | 存货类别 | FCategoryID | |
| FExpPeriod | 保质期 | FExpPeriod | |
| FOrderQty | 起订量 | FOrderQty | |
| FMinQty | 最小批量 | FMinQty | |
| FMaxQty | 最大批量 | FMaxQty | |
| FDefaultVendor_FNumber | 默认供应商 | FDefaultVendor.FNumber | |
| F_ora_Text | 香型 | F_ora_Text | |
| F_ora_Text1 | 执行标准 | F_ora_Text1 | |
| F_ora_Text2 | 生产企业 | F_ora_Text2 | |
| F_ora_Text3 | 箱规 | F_ora_Text3 | |
| FVarLeadTime | 变动提前期 | FVarLeadTime | |
| FPlanBatchSplitQty | 拆分批量 | FPlanBatchSplitQty | |
| FProduceBillType_FNumber | 生产类型 | FProduceBillType.FNumber | |
| FPOBillTypeId_FNumber | 采购类型 | FPOBillTypeId.FNumber | |
| FSubBillType_FNumber | 委外类型 | FSubBillType.FNumber | |
| FGROSSWEIGHT | 毛重 | FGROSSWEIGHT | |
| FNETWEIGHT | 净重 | FNETWEIGHT | |
| FWEIGHTUNITID_FNumber | 重量单位 | FWEIGHTUNITID.FNumber | |
| FLENGTH | 长 | FLENGTH | |
| FWIDTH | 宽 | FWIDTH | |
| FHEIGHT | 高 | FHEIGHT | |
| FVOLUME | 体积 | FVOLUME | |
| FWARRANTY | 保修期 | FWARRANTY | |
| FSalePrice_CMK | 零售价 | FSalePrice_CMK | |
| FVIPPrice_CMK | 会员价 | FVIPPrice_CMK | |
| FPurPrice_CMK | 采购单价 | FPurPrice_CMK | |
| FComBrandId_CMK_FNumber | 品牌 | FComBrandId_CMK.FNumber | |
| Limit | 最大行数 | {{PAGINATION_PAGE_SIZE}} | 金蝶的查询分页参数 |
| StartRow | 开始行索引 | {{PAGINATION_START_ROW}} | 金蝶的查询分页参数 |
| TopRowCount | 返回总行数 | | 金蝶的查询分页参数 |
| FilterString | 过滤条件 | FDOCUMENTSTATUS='C' and FUseOrgId.fnumber='100' and FApproveDate>='{{LAST_SYNC_TIME datetime}}' | 示例写法 FSupplierId.FNumber = 'VEN00010' and FApproveDate>= |
| FieldKeys | 需查询的字段key集合 | | 金蝶分录主键ID格式:FPOOrderEntry_FEntryId,其它格式 FPurchaseOrgId.FNumber |
| FormId | 业务对象表单Id | BD_MATERIAL | 必须填写金蝶的表单ID如😛UR_PurchaseOrder |
响应参数
| 接口字段 | 字段名称 | 预设值 | 描述 |
| FMasterId | id | | |
| FNumber | 编码 | | |
| FName | 名称 | | |
| FSpecification | 规格型号 | | |
| FMnemonicCode | 助记码 | | |
| FOldNumber | 旧物料编码 | | |
| FBARCODE | 条码 | | |
| FDescription | 描述 | | |
| FMaterialGroup_FNumber | 物料分组 | | |
| FErpClsID | 物料属性 | | |
| FDocumentStatus | 数据状态 | | |
| FForbidStatus | 禁用状态 | | |
| FBaseUnitId_FNumber | 基本单位.编码 | | |
| FCreateOrgId_FNumber | 创建组织 | | |
| FUseOrgId_FNumber | 使用组织 | | |
| FIsInventory | 允许库存 | | |
| FIsSale | 允许销售 | | |
| FIsAsset | 允许资产 | | |
| FIsSubContract | 允许委外 | | |
| FIsProduce | 允许生产 | | |
| FIsPurchase | 允许采购 | | |
| FStockId_FNumber | 仓库 | | |
| FPurchaseOrgId_FNumber | 采购组织.编码 | | |
| FPurchaseOrgId_FName | 采购组织 | | |
| FIsBatchManage | 启用批号管理 | | |
| FIsKFPeriod | 启用保质期管理 | | |
| FIsSNManage | 启用序列号管理 | | |
| FSafeStock | 安全库存 | | |
| FCategoryID | 存货类别 | | |
| FExpPeriod | 保质期 | | |
| FOrderQty | 起订量 | | |
| FMinQty | 最小批量 | | |
| FMaxQty | 最大批量 | | |
| FDefaultVendor_FNumber | 默认供应商 | | |
| F_ora_Text | 香型 | | |
| F_ora_Text1 | 执行标准 | | |
| F_ora_Text2 | 生产企业 | | |
| F_ora_Text3 | 箱规 | | |
| FVarLeadTime | 变动提前期 | | |
| FPlanBatchSplitQty | 拆分批量 | | |
| FProduceBillType_FNumber | 生产类型 | | |
| FPOBillTypeId_FNumber | 采购类型 | | |
| FSubBillType_FNumber | 委外类型 | | |
| FGROSSWEIGHT | 毛重 | | |
| FNETWEIGHT | 净重 | | |
| FWEIGHTUNITID_FNumber | 重量单位 | | |
| FLENGTH | 长 | | |
| FWIDTH | 宽 | | |
| FHEIGHT | 高 | | |
| FVOLUME | 体积 | | |
| FWARRANTY | 保修期 | | |
| FSalePrice_CMK | 零售价 | | |
| FVIPPrice_CMK | 会员价 | | |
| FPurPrice_CMK | 采购单价 | | |
| FComBrandId_CMK_FNumber | 品牌 | | |
奇门WMS-A接口明细
- 调用接口:singleitem.synchronize
- 接口名称:商品同步接口
- 方法:POST
请求参数
| 字段 | 字段名称 | 类型 | 配置值 |
| actionType | 操作类型 | string | add |
| warehouseCode | 仓库编码 | string | HYKB05 |
| ownerCode | 货主编码 | string | GZ202206111 |
| supplierCode | 供应商编码 | string | |
| supplierName | 供应商名称 | string | {{F_ora_Text2}} |
| item | 商品信息 | array | |
| item.itemCode | 商品编码 | string | {{FNumber}} |
| item.itemId | 仓储系统商品编码 | string | |
| item.goodsCode | 货号 | string | 1 |
| item.itemName | 商品名称 | string | {{FName}} |
| item.shortName | 商品简称 | string | |
| item.englishName | 英文名 | string | |
| item.barCode | 条形码 | string | {{FBARCODE}} |
| item.skuProperty | 商品属性 | string | {{FSpecification}} |
| item.stockUnit | 商品计量单位 | string | {{FBaseUnitId_FNumber}} |
| item.length | 长 | string | 1 |
| item.width | 宽 | string | 1 |
| item.height | 高 | string | 1 |
| item.volume | 体积 | string | 1 |
| item.grossWeight | 毛重 | string | 1 |
| item.netWeight | 净重 | string | 1 |
| item.color | 颜色 | string | |
| item.size | 尺寸 | string | |
| item.title | 渠道中的商品标题 | string | |
| item.categoryId | 商品类别ID | string | |
| item.categoryName | 商品类别名称 | string | {{F_ora_Text}} |
| item.pricingCategory | 计价货类 | string | |
| item.safetyStock | 安全库存 | string | |
| item.itemType | 商品类型 | string | ZC |
| item.tagPrice | 吊牌价 | string | |
| item.retailPrice | 零售价 | string | |
| item.costPrice | 成本价 | string | |
| item.purchasePrice | 采购价 | string | |
| item.seasonCode | 季节编码 | string | |
| item.seasonName | 季节名称 | string | |
| item.brandCode | 品牌代码 | string | LAL |
| item.brandName | 品牌名称 | string | 无 |
| item.isSNMgmt | 是否需要串号管理 | string | N |
| item.productDate | 生产日期 | string | |
| item.expireDate | 过期日期 | string | |
| item.isShelfLifeMgmt | 是否需要保质期管理 | string | |
| item.shelfLife | 保质期 | string | {{FExpPeriod}} |
| item.rejectLifecycle | 保质期禁收天数 | string | |
| item.lockupLifecycle | 保质期禁售天数 | string | |
| item.adventLifecycle | 保质期临期预警天数 | string | |
| item.isBatchMgmt | 是否需要批次管理 | string | |
| item.batchCode | 批次代码 | string | |
| item.batchRemark | 批次备注 | string | |
| item.packCode | 包装代码 | string | |
| item.pcs | 箱规 | string | {{F_ora_Text3 intval}} |
| item.originAddress | 商品的原产地 | string | |
| item.approvalNumber | 批准文号 | string | {{F_ora_Text1}} |
| item.isFragile | 是否易碎品 | string | |
| item.isHazardous | 是否危险品 | string | |
| item.remark | 备注 | string | |
| item.createTime | 创建时间 | string | |
| item.updateTime | 更新时间 | string | |
| item.isValid | 是否有效 | string | |
| item.isSku | 是否sku | string | |
| item.packageMaterial | 商品包装材料类型 | string | |
| item.supplierCode | temp | string | |
| item.logisticsType | 销售配送方式 | string | |
| item.isLiquid | 是否液体 | string | |
| item.extendProps | 扩展属性 | string | |
系统对接总览
通过轻易云集成平台系列产品线可以协助企业轻易快捷的构建基于微服务架构的新一代企业服务总线,传统基于SOA架构的ESB产品主要解决的数据集成和协议转换等基础功能,已完全不能满足基于微服务架构、混合云集成架构、跨组织、跨单位的总线解决方案。 而轻易云集成平台的每个产品线都是新一代的按照最新的互联网架构模式进行研发的产品线,能快速协助企业从传统的SOA架构转向微服务架构的服务总线解决方案。
