四化智造MES(WEB)和金蝶云星空接口打通对接实战

对接系统四化智造MES(WEB)
MES系统是集成生产管理、品质管理、设备管理、BI数据中心、库存管理、工时管理、数据采集、看板管理等为一体的综合性生产管理系统。通过强调制造过程的透明化,帮助企业由粗放式向精益化管理模式升级。
对接目标平台:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
数据接口配置方案
通过轻易云系统数据集成平台新增创建集成方案,通过轻易云的方案市场可以一键复制,并且可以借鉴其他的方案配置完成方案制作,方案制作只需要两步,第一步先确定好对应的数据来源;源系统:四化智造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 | |
金蝶云星空接口明细
- API:batchSave
- NAME:采购退货新增
- METHOD:POST
请求参数
| 接口字段 | 字段名称 | 预设值 | 描述 |
| FBillNo | 单据编号 | {{backNo}} | 单据编号 |
| FDate | 退料日期 | 2023-01-01 | 日期 |
| FSupplierID | 供应商 | {{supplierUuid}} | 基础资料 |
| FStockOrgId | 退料组织 | 1 | 组织 |
| FSettleOrgId | 结算组织 | 1 | 组织 |
| FSETTLETYPEID | 结算方式 | JSFS04_SYS | 基础资料 |
| FSettleCurrId | 结算币别 | PRE001 | 基础资料 |
| FPayOrgId | 付款组织 | 1 | 组织 |
| FOwnerTypeIdHead | 货主类型 | BD_OwnerOrg | 多类别基础资料列表 |
| FOwnerIdHead | 货主 | 1 | 多类别基础资料 |
| F_UZMJ_Base | 第二级审批人 | YZ000436 | |
| F_lyzx_Base1 | 质检员 | N0000911 | |
| F_UZMJ_Text | 退料原因 | {{returnReason}} | |
| F_UZMJ_Text1 | 是否核对 | 否 | |
| FPURMRBENTRY | 明细信息 | details | 明细信息 |
| FPURMRBENTRY.FMaterialId | 物料编码 | {{details.partNo}} | 基础资料 |
| FPURMRBENTRY.FRMREALQTY | 实退数量 | {{details.returnNumb}} | 数量 |
| FPURMRBENTRY.FStockId | 仓库 | F2313A | 基础资料 |
| FPURMRBENTRY.FStockLocId | 仓位 | H-1 | |
| FPURMRBENTRY.FLot | 批号 | _function case _findCollection find FIsBatchManage from 80f3f76d-b3eb-3e61-96cd-169790878567 where FNumber={{details.partNo}} endFind when true then '00' else '' end | 批次 |
| FPURMRBENTRY.FTAXPRICE | 含税单价 | _findCollection find FTaxPrice from 24e696ed-eba8-3a76-ae50-08b496fb4093 where F_UZMJ_Text={{details.purRecordDetailUuid}} | 单价 |
| FPURMRBENTRY.FSRCBillNo | 源单编号 | {{details.confrimNo}} | |
| FPURMRBENTRY.FSRCBillTypeId | 源单类型 | STK_InStock | |
| FPURMRBENTRY.FMtoNo | 计划跟踪号 | {{details.bomNo}} | |
| FPURMRBENTRY.FGiveAway | 是否赠品 | findCollection find FGiveAway from 0833bd60-7a9a-3573-ba30-f121da4e820a where FBillNo={{confrimNo}} F_UZMJ_Text9={{details.connectUuid}} | |
| FPURMRBENTRY.FORDERNO | 订单号 | {{details.caigouNo}} | |
| FPURMRBENTRY.F_UZMJ_Text2 | MES入库明细行id | {{details.connectUuid}} | |
| FPURMRBENTRY.FPURMRBENTRY_Link | 关联关系表 | | |
| FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FRuleId | 转换规则 | d5dd2b3d-57d5-45e2-b7e2-e53a04ebecaf | |
| FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSTableName | 源单表 | T_STK_INSTOCKENTRY | |
| FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSBillId | 源单内码 | _findCollection find FID from 0833bd60-7a9a-3573-ba30-f121da4e820a where FBillNo={{confrimNo}} | |
| FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSId | 源单分录内码 | _findCollection find FInStockEntry_FEntryId from 0833bd60-7a9a-3573-ba30-f121da4e820a where FBillNo={{confrimNo}} F_UZMJ_Text9={{details.connectUuid}} | |
| FPURMRBENTRY.FormId | 业务对象表单Id | PUR_MRB | 必须填写金蝶的表单ID如😛UR_PurchaseOrder |
| FPURMRBENTRY.Operation | 执行的操作 | batchSave | |
| FPURMRBENTRY.IsAutoSubmitAndAudit | 提交并审核 | true | |
| FPURMRBENTRY.IsVerifyBaseDataField | 验证基础资料 | false | 是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
| FPURMRBENTRY.SubSystemId | 系统模块 | 21 | 默认仓库模块 |
系统对接总览
将传统的统计分析转变为预测分析,从被动分析到主动分析,从非实时分析转变为实时分析,从结构化的数据变成多元化的数据。精准查询数据流同步状况,实时监管队列任务以及数据资产的有序管理。为业务赋能,降本增效,让企业能够更加合理的布局团队;结合业务需求实现与OA,CRM,WMS等系统之间的数据交流与同步,为企业定制自定义的数据管理方案,用技术拓展商业边界,为新业务、新部门提供成长空间。


