从四化智造MES(WEB)到金蝶云星空通过接口配置打通数据

数据源平台:四化智造MES(WEB)
MES系统是集成生产管理、品质管理、设备管理、BI数据中心、库存管理、工时管理、数据采集、看板管理等为一体的综合性生产管理系统。通过强调制造过程的透明化,帮助企业由粗放式向精益化管理模式升级。
集成系统:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
数据接口配置方案
数据集成平台对应的配置四化智造MES(WEB)与金蝶云星空的对接只要三步就能完成两个系统之间的数据对接。第一步根据四化智造MES(WEB)的接口参数要求记录在轻易云集成平台。第二步配置四化智造MES(WEB)与金蝶云星空之间的字段对应关系(更多方案可借鉴轻易云数据集成社区论坛中找到相关方案信息)第三步完成方案的检查参数设置:传递时间、重试次数、是否启动、前置条件等上线运行。

四化智造MES(WEB)接口明细
- 接口:wms/instockConfirm/queryConfirmRebackTaskDetail
- 接口名称:原材料/标准件采购查询(待采购)
- 接口方法:GET
请求参数
字段 | 名称 | 类型 | 描述 |
pageNum | 页码 | string | 页码 |
pageSize | 页数 | string | 页数 |
rebackStartTime | 开始时间 | string | 开始时间 |
rebackEndTime | 结束时间 | string | 结束时间 |
taskType | 采购类型 | string | 1:标准件2:委外 3:原材料 |
响应参数
字段 | 名称 | 类型 | 描述 |
mchId | mchId | string | autoFillResponse |
createBy | createBy | string | _autoFillResponse |
createName | createName | string | autoFillResponse |
checkLabel | checkLabel | string | _autoFillResponse |
createTime | createTime | string | autoFillResponse |
updateBy | updateBy | string | _autoFillResponse |
updateName | updateName | string | autoFillResponse |
updateTime | updateTime | string | _autoFillResponse |
remark | remark | string | autoFillResponse |
companyCode | companyCode | string | _autoFillResponse |
currentUserBy | currentUserBy | string | autoFillResponse |
currentUserName | currentUserName | string | _autoFillResponse |
currentTime | currentTime | string | autoFillResponse |
filtrationBomStatus | filtrationBomStatus | string | _autoFillResponse |
id | id | string | autoFillResponse |
backTaskUuid | backTaskUuid | string | _autoFillResponse |
backNumb | backNumb | string | autoFillResponse |
returnNumb | returnNumb | string | _autoFillResponse |
backWeight | backWeight | string | autoFillResponse |
connectUuid | connectUuid | string | _autoFillResponse |
bomNo | bomNo | string | autoFillResponse |
dispatchPrefix | dispatchPrefix | string | _autoFillResponse |
receiveMainTaskUuid | receiveMainTaskUuid | string | autoFillResponse |
status | status | string | _autoFillResponse |
receiveStatus | receiveStatus | string | autoFillResponse |
receiveNumb | receiveNumb | string | _autoFillResponse |
waitReceiveNumb | waitReceiveNumb | string | autoFillResponse |
currentReceiveNumb | currentReceiveNumb | string | _autoFillResponse |
warehouseUuid | warehouseUuid | string | autoFillResponse |
warehouseName | warehouseName | string | _autoFillResponse |
partNo | partNo | string | autoFillResponse |
gradeName | gradeName | string | _autoFillResponse |
quality | quality | string | autoFillResponse |
brand | brand | string | _autoFillResponse |
spec | spec | string | autoFillResponse |
picNo | picNo | string | _autoFillResponse |
picVersion | picVersion | string | autoFillResponse |
unitNo | unitNo | string | _autoFillResponse |
instockNumb | instockNumb | string | autoFillResponse |
processCode | processCode | string | _autoFillResponse |
classifyId | classifyId | string | autoFillResponse |
classifyName | classifyName | string | _autoFillResponse |
delFlag | delFlag | string | autoFillResponse |
returnReason | returnReason | string | _autoFillResponse |
ynReceive | ynReceive | string | autoFillResponse |
matterialType | matterialType | string | _autoFillResponse |
okNumb | okNumb | string | autoFillResponse |
ngNumb | ngNumb | string | _autoFillResponse |
hadBackNumb | hadBackNumb | string | autoFillResponse |
preProcessInstockType | preProcessInstockType | string | _autoFillResponse |
preProcessCode | preProcessCode | string | autoFillResponse |
currentProcessCode | currentProcessCode | string | _autoFillResponse |
currentProcessInstockType | currentProcessInstockType | string | autoFillResponse |
nextProcessCode | nextProcessCode | string | _autoFillResponse |
planDate | planDate | string | autoFillResponse |
businessNo | businessNo | string | _autoFillResponse |
warehouseAdministorId | warehouseAdministorId | string | autoFillResponse |
supplierName | supplierName | string | _autoFillResponse |
supplierUuid | supplierUuid | string | autoFillResponse |
taskType | taskType | string | _autoFillResponse |
cuttingSize | cuttingSize | string | autoFillResponse |
customerOrderNo | customerOrderNo | string | _autoFillResponse |
modeNo | modeNo | string | autoFillResponse |
outType | outType | string | _autoFillResponse |
serCode | serCode | string | autoFillResponse |
outContent | outContent | string | _autoFillResponse |
processContent | processContent | string | autoFillResponse |
locationUuid | locationUuid | string | _autoFillResponse |
locationNo | locationNo | string | autoFillResponse |
caiGouNumb | caiGouNumb | string | _autoFillResponse |
taskResource | taskResource | string | autoFillResponse |
patterNo | patterNo | string | _autoFillResponse |
oneWeight | oneWeight | string | autoFillResponse |
receiveWeight | receiveWeight | string | _autoFillResponse |
planWeight | planWeight | string | autoFillResponse |
projectCode | projectCode | string | _autoFillResponse |
stage | stage | string | autoFillResponse |
itemCategory | itemCategory | string | _autoFillResponse |
filePath | filePath | string | autoFillResponse |
fileName | fileName | string | _autoFillResponse |
fileSuffix | fileSuffix | string | autoFillResponse |
fileName2d | fileName2d | string | _autoFillResponse |
filePath2d | filePath2d | string | autoFillResponse |
fileName3d | fileName3d | string | _autoFillResponse |
filePath3d | filePath3d | string | autoFillResponse |
weight | weight | string | _autoFillResponse |
priceNumb | priceNumb | string | autoFillResponse |
instockConfirmNumb | instockConfirmNumb | string | _autoFillResponse |
processName | processName | string | autoFillResponse |
purchaseUnitNo | purchaseUnitNo | string | _autoFillResponse |
purchaseUnitName | purchaseUnitName | string | autoFillResponse |
instockNo | instockNo | string | _autoFillResponse |
caigouNo | caigouNo | string | autoFillResponse |
instockTime | instockTime | string | _autoFillResponse |
workNo | workNo | string | autoFillResponse |
urgentNeedNo | urgentNeedNo | string | _autoFillResponse |
bomContractNo | bomContractNo | string | autoFillResponse |
keyNo | keyNo | string | _autoFillResponse |
ifGiveaway | ifGiveaway | string | autoFillResponse |
orderNo | orderNo | string | _autoFillResponse |
sendCheckNo | sendCheckNo | string | autoFillResponse |
wholeDeliveryDate | wholeDeliveryDate | string | _autoFillResponse |
deliveryDate | deliveryDate | string | autoFillResponse |
customerPartNo | customerPartNo | string | _autoFillResponse |
shipmentPlace | shipmentPlace | string | autoFillResponse |
customerGradeName | customerGradeName | string | _autoFillResponse |
checkBy | checkBy | string | autoFillResponse |
checkName | checkName | string | _autoFillResponse |
ynCheck | ynCheck | string | autoFillResponse |
checkTime | checkTime | string | _autoFillResponse |
productName | productName | string | autoFillResponse |
productPartNo | productPartNo | string | _autoFillResponse |
caigouTime | caigouTime | string | autoFillResponse |
orderType | orderType | string | _autoFillResponse |
checkNumb | checkNumb | string | autoFillResponse |
rebackType | rebackType | string | _autoFillResponse |
backNo | backNo | string | autoFillResponse |
customerUuid | customerUuid | string | _autoFillResponse |
customerName | customerName | string | autoFillResponse |
customerFullName | customerFullName | string | _autoFillResponse |
supplierFullName | supplierFullName | string | autoFillResponse |
connectMainUuid | connectMainUuid | string | _autoFillResponse |
connectUuid | 明细行-id | string | |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:采购退货新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FBillNo | 单据编号 | string | {{backNo}} |
FDate | 退料日期 | string | 2023-01-01 |
FSupplierID | 供应商 | string | {{supplierUuid}} |
FStockOrgId | 退料组织 | string | 1 |
FSettleOrgId | 结算组织 | string | 1 |
FSETTLETYPEID | 结算方式 | string | JSFS04_SYS |
FSettleCurrId | 结算币别 | string | PRE001 |
FPayOrgId | 付款组织 | string | 1 |
FOwnerTypeIdHead | 货主类型 | string | BD_OwnerOrg |
FOwnerIdHead | 货主 | string | 1 |
F_UZMJ_Base | 第二级审批人 | string | YZ000436 |
F_lyzx_Base1 | 质检员 | string | N0000911 |
F_UZMJ_Text | 退料原因 | string | {{returnReason}} |
F_UZMJ_Text1 | 是否核对 | string | 否 |
FPURMRBENTRY | 明细信息 | array | details |
FPURMRBENTRY.FMaterialId | 物料编码 | string | {{details.partNo}} |
FPURMRBENTRY.FRMREALQTY | 实退数量 | string | {{details.returnNumb}} |
FPURMRBENTRY.FStockId | 仓库 | string | F2313A |
FPURMRBENTRY.FStockLocId | 仓位 | string | H-1 |
FPURMRBENTRY.FLot | 批号 | string | _function case _findCollection find FIsBatchManage from 80f3f76d-b3eb-3e61-96cd-169790878567 where FNumber={{details.partNo}} endFind when true then '00' else '' end |
FPURMRBENTRY.FTAXPRICE | 含税单价 | string | _findCollection find FTaxPrice from 24e696ed-eba8-3a76-ae50-08b496fb4093 where F_UZMJ_Text={{details.purRecordDetailUuid}} |
FPURMRBENTRY.FSRCBillNo | 源单编号 | string | {{details.confrimNo}} |
FPURMRBENTRY.FSRCBillTypeId | 源单类型 | string | STK_InStock |
FPURMRBENTRY.FMtoNo | 计划跟踪号 | string | {{details.bomNo}} |
FPURMRBENTRY.FGiveAway | 是否赠品 | string | findCollection find FGiveAway from 0833bd60-7a9a-3573-ba30-f121da4e820a where FBillNo={{confrimNo}} F_UZMJ_Text9={{details.connectUuid}} |
FPURMRBENTRY.FORDERNO | 订单号 | string | {{details.caigouNo}} |
FPURMRBENTRY.F_UZMJ_Text2 | MES入库明细行id | string | {{details.connectUuid}} |
FPURMRBENTRY.FPURMRBENTRY_Link | 关联关系表 | array | |
FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FRuleId | 转换规则 | string | d5dd2b3d-57d5-45e2-b7e2-e53a04ebecaf |
FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSTableName | 源单表 | string | T_STK_INSTOCKENTRY |
FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSBillId | 源单内码 | string | _findCollection find FID from 0833bd60-7a9a-3573-ba30-f121da4e820a where FBillNo={{confrimNo}} |
FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSId | 源单分录内码 | string | _findCollection find FInStockEntry_FEntryId from 0833bd60-7a9a-3573-ba30-f121da4e820a where FBillNo={{confrimNo}} F_UZMJ_Text9={{details.connectUuid}} |
FPURMRBENTRY.FormId | 业务对象表单Id | string | PUR_MRB |
FPURMRBENTRY.Operation | 执行的操作 | string | batchSave |
FPURMRBENTRY.IsAutoSubmitAndAudit | 提交并审核 | bool | true |
FPURMRBENTRY.IsVerifyBaseDataField | 验证基础资料 | bool | false |
FPURMRBENTRY.SubSystemId | 系统模块 | string | 21 |
系统集成总览
从API层面解决企业烟囱式业务系统集成现状,实现深度的业务流程拉通四化智造MES(WEB)到金蝶云星空之间数据集成;通过API连接各业务系统,复用已有的业务系统能力,让集成架构、服务关系更清晰。使用统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升复用率和价值。全面管控企业的API资产,梳理现有业务系统的API。实现API文档的统一管理,建立API的上线、下线、监控的统一管理体系及标准规范。已链接和打通主流SaaS系统超过100+,快速对接各种API接口,实现云上云下的互联互通。将SaaS和本地业务系统联接起来,打破时间与空间界限,打通原有核心数据及SaaS应用,构建可平滑演进的企业IT架构。
