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

对接源平台:四化智造MES(WEB)
MES建立统一平台上通过物料防错防错、流程防错、生产统计、异常处理、信息采集和全流程追溯等精益生产和精细化管理,帮助企业合理安排生产排程、优化工艺流程、改善产品质量、降低能源损耗、降低制造成本,提高执行效率,全面提升和改善企业制造能力,为企业打造可视化、透明化、数字化、智能化工厂。通过手机移动APP实时的数据查询和分析报表,为企业高层提供快速决策支持,以便针对市场变化快速准确地作出反应,综合提升企业的市场竞争力。
对接系统:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
数据接口配置方案
系统对接前期需要通过调研公司的业务,规划出最便捷,效率最高的整体流程。通过流程我们需要建立对应的方案来吧这些流程一一的落地,轻易云集成平台开箱即用的、可视化拖、拉、拽实现接口服务编排与聚合。只需要根据指引设定好对应的参数即可启动使用。设定好源平台:四化智造MES(WEB)的接口参数设置,以及设定好目标平台:金蝶云星空的映射,即可启动方案进行测试

四化智造MES(WEB)接口明细
- API:wms/instockConfirm/queryConfirmRebackTaskDetail
- NAME:单工序委外入库查询(委外入库确认)
- METHOD:GET
请求参数
| 接口字段 | 字段名称 | 预设值 | 描述 |
| pageNum | 页码 | 1 | 页码 |
| pageSize | 页数 | 100 | 页数 |
| rebackStartTime | 开始时间 | {{LAST_SYNC_TIME datetime}} | 开始时间 |
| rebackEndTime | 结束时间 | {{CURRENT_TIME datetime}} | 结束时间 |
| taskType | 入库类型 | 3 | |
响应参数
| 接口字段 | 字段名称 | 预设值 | 描述 |
| mchId | mchId | | autoFillResponse |
| createBy | createBy | | _autoFillResponse |
| createName | createName | | autoFillResponse |
| checkLabel | checkLabel | | _autoFillResponse |
| createTime | createTime | | autoFillResponse |
| updateBy | updateBy | | _autoFillResponse |
| updateName | updateName | | autoFillResponse |
| updateTime | updateTime | | _autoFillResponse |
| remark | remark | | autoFillResponse |
| companyCode | companyCode | | _autoFillResponse |
| currentUserBy | currentUserBy | | autoFillResponse |
| currentUserName | currentUserName | | _autoFillResponse |
| currentTime | currentTime | | autoFillResponse |
| filtrationBomStatus | filtrationBomStatus | | _autoFillResponse |
| bomNo | bomNo | | autoFillResponse |
| id | id | | _autoFillResponse |
| uuid | uuid | | autoFillResponse |
| confirmTaskUuid | confirmTaskUuid | | _autoFillResponse |
| taskUuid | taskUuid | | autoFillResponse |
| processName | processName | | _autoFillResponse |
| warehouseUuid | warehouseUuid | | autoFillResponse |
| warehouseName | warehouseName | | _autoFillResponse |
| status | status | | autoFillResponse |
| confirmStatus | confirmStatus | | _autoFillResponse |
| receiveNumb | receiveNumb | | autoFillResponse |
| checkNumb | checkNumb | | _autoFillResponse |
| confirmNumb | confirmNumb | | autoFillResponse |
| waitConfirmNumb | waitConfirmNumb | | _autoFillResponse |
| currentConfirmNumb | currentConfirmNumb | | autoFillResponse |
| confirmCountFlag | confirmCountFlag | | _autoFillResponse |
| delFlag | delFlag | | autoFillResponse |
| partNo | partNo | | _autoFillResponse |
| gradeName | gradeName | | autoFillResponse |
| quality | quality | | _autoFillResponse |
| brand | brand | | autoFillResponse |
| spec | spec | | _autoFillResponse |
| picNo | picNo | | autoFillResponse |
| picVersion | picVersion | | _autoFillResponse |
| unitNo | unitNo | | autoFillResponse |
| instockNumb | instockNumb | | _autoFillResponse |
| processCode | processCode | | autoFillResponse |
| ynConfirm | ynConfirm | | _autoFillResponse |
| matterialType | matterialType | | autoFillResponse |
| locationUuid | locationUuid | | _autoFillResponse |
| dispatchPrefix | dispatchPrefix | | autoFillResponse |
| connectUuid | connectUuid | | _autoFillResponse |
| packageNo | packageNo | | autoFillResponse |
| ynCanOperate | ynCanOperate | | _autoFillResponse |
| warehouseAdministorId | warehouseAdministorId | | autoFillResponse |
| supplierName | supplierName | | _autoFillResponse |
| supplierUuid | supplierUuid | | autoFillResponse |
| taskType | taskType | | _autoFillResponse |
| locations | locations | | autoFillResponse |
| businessNo | businessNo | | _autoFillResponse |
| cuttingSize | cuttingSize | | autoFillResponse |
| customerOrderNo | customerOrderNo | | _autoFillResponse |
| modeNo | modeNo | | autoFillResponse |
| outContent | outContent | | _autoFillResponse |
| processContent | processContent | | autoFillResponse |
| taskResource | taskResource | | _autoFillResponse |
| locationNo | locationNo | | autoFillResponse |
| serCode | serCode | | _autoFillResponse |
| sendNo | sendNo | | autoFillResponse |
| patterNo | patterNo | | _autoFillResponse |
| oneWeight | oneWeight | | autoFillResponse |
| receiveWeight | receiveWeight | | _autoFillResponse |
| typeFlag | typeFlag | | autoFillResponse |
| projectCode | projectCode | | _autoFillResponse |
| stage | stage | | autoFillResponse |
| itemCategory | itemCategory | | _autoFillResponse |
| filePath | filePath | | autoFillResponse |
| fileName | fileName | | _autoFillResponse |
| fileSuffix | fileSuffix | | autoFillResponse |
| fileName2d | fileName2d | | _autoFillResponse |
| filePath2d | filePath2d | | autoFillResponse |
| fileName3d | fileName3d | | _autoFillResponse |
| filePath3d | filePath3d | | autoFillResponse |
| priceNumb | priceNumb | | _autoFillResponse |
| receiveUuid | receiveUuid | | autoFillResponse |
| caigouNo | caigouNo | | _autoFillResponse |
| instockTime | instockTime | | autoFillResponse |
| workNo | workNo | | _autoFillResponse |
| urgentNeedNo | urgentNeedNo | | autoFillResponse |
| bomContractNo | bomContractNo | | _autoFillResponse |
| keyNo | keyNo | | autoFillResponse |
| ifGiveaway | ifGiveaway | | _autoFillResponse |
| orderNo | orderNo | | autoFillResponse |
| sendCheckNo | sendCheckNo | | _autoFillResponse |
| wholeDeliveryDate | wholeDeliveryDate | | autoFillResponse |
| deliveryDate | deliveryDate | | _autoFillResponse |
| customerPartNo | customerPartNo | | autoFillResponse |
| shipmentPlace | shipmentPlace | | _autoFillResponse |
| customerGradeName | customerGradeName | | autoFillResponse |
| checkBy | checkBy | | _autoFillResponse |
| checkName | checkName | | autoFillResponse |
| ynCheck | ynCheck | | _autoFillResponse |
| checkTime | checkTime | | autoFillResponse |
| returnNumb | returnNumb | | _autoFillResponse |
| returnReason | returnReason | | autoFillResponse |
| productName | productName | | _autoFillResponse |
| productPartNo | productPartNo | | autoFillResponse |
| caigouTime | caigouTime | | _autoFillResponse |
| orderType | orderType | | autoFillResponse |
| sender | sender | | _autoFillResponse |
| receiveMainTaskUuid | receiveMainTaskUuid | | autoFillResponse |
| receiveStatus | receiveStatus | | _autoFillResponse |
| waitReceiveNumb | waitReceiveNumb | | autoFillResponse |
| currentReceiveNumb | currentReceiveNumb | | _autoFillResponse |
| classifyId | classifyId | | autoFillResponse |
| classifyName | classifyName | | _autoFillResponse |
| ynReceive | ynReceive | | autoFillResponse |
| okNumb | okNumb | | _autoFillResponse |
| ngNumb | ngNumb | | autoFillResponse |
| backNumb | backNumb | | _autoFillResponse |
| hadBackNumb | hadBackNumb | | autoFillResponse |
| preProcessInstockType | preProcessInstockType | | _autoFillResponse |
| preProcessCode | preProcessCode | | autoFillResponse |
| currentProcessCode | currentProcessCode | | _autoFillResponse |
| currentProcessInstockType | currentProcessInstockType | | autoFillResponse |
| nextProcessCode | nextProcessCode | | _autoFillResponse |
| planDate | planDate | | autoFillResponse |
| outType | outType | | _autoFillResponse |
| caiGouNumb | caiGouNumb | | autoFillResponse |
| planWeight | planWeight | | _autoFillResponse |
| weight | weight | | autoFillResponse |
| instockConfirmNumb | instockConfirmNumb | | _autoFillResponse |
| purchaseUnitNo | purchaseUnitNo | | autoFillResponse |
| purchaseUnitName | purchaseUnitName | | _autoFillResponse |
| instockNo | instockNo | | autoFillResponse |
| receiveNo | receiveNo | | _autoFillResponse |
| confrimNo | confrimNo | | autoFillResponse |
| processingType | processingType | | _autoFillResponse |
| purRecordUuid | purRecordUuid | | autoFillResponse |
| recordId | recordId | | _autoFillResponse |
| purPrice | purPrice | | autoFillResponse |
| warehouseCode | warehouseCode | | _autoFillResponse |
| purRecordDetailUuid | purRecordDetailUuid | | autoFillResponse |
| shipOrg | shipOrg | | _autoFillResponse |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:应付单新增
- 方法:POST
请求参数
| 字段 | 字段名称 | 类型 | 配置值 |
| FBillNo | 单据编号 | string | {{backNo}} |
| FBillTypeID | 单据类型 | string | YFD02_SYS |
| FDOCUMENTSTATUS | 单据状态 | string | Z |
| FDATE | 业务日期 | string | {{createTime}} |
| FENDDATE_H | 到期日 | string | |
| FSUPPLIERID | 供应商 | string | {{supplierUuid}} |
| FPURCHASEDEPTID | 部门 | string | YA032 |
| FSetAccountType | 立账类型 | string | 2 |
| FEntityDetail | 明细 | array | details |
| FEntityDetail.FTaxPrice | 含税单价 | string | findCollection find FTaxPrice from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where F_UZMJ_Text={{details.purRecordDetailUuid}} |
| FEntityDetail.FEntryTaxRate | 税率 | string | |
| FEntityDetail.FPriceQty | 计价数量 | string | -{{details.returnNumb}} |
| FEntityDetail.F_lyzx_Text | 计划跟踪号 | string | {{details.bomNo}} |
| FEntityDetail.F_lyzx_Text6 | MES采购入库单号 | string | {{details.confrimNo}} |
| FEntityDetail.FCOSTID | 费用项目编码 | string | FYXM04_SYS |
| FEntityDetail.F_lyzx_Date2 | MES入库日期 | string | {{details.createTime}} |
| FEntityDetail.F_lyzx_Text4 | MES生产订单号 | string | {{details.caigouNo}} |
| FEntityDetail.F_lyzx_Text9 | MES工序名称 | string | {{details.processName}} |
| FEntityDetail.F_lyzx_Text10 | MES产品代码 | string | {{details.partNo}} |
| FEntityDetail.FORDERNUMBER | 采购订单号 | string | {{details.businessNo}} |
| FEntityDetail.F_lyzx_Text11 | 模件号 | string | {{details.keyNo}} |
| FEntityDetail.F_lyzx_Text12 | 客户订单号 | string | {{details.customerOrderNo}} |
| FEntityDetail.F_lyzx_Text13 | 紧急需求单号 | string | {{details.urgentNeedNo}} |
| FEntityDetail.F_lyzx_Text14 | 发包单号 | string | {{details.bomContractNo}} |
| FEntityDetail.F_lyzx_Text15 | 工令单号 | string | {{details.workNo}} |
| FEntityDetail.FCOSTDEPARTMENTID | 费用承担部门 | string | YA032 |
| FEntityDetail.F_UZMJ_Text1 | 料号 | string | {{details.partNo}} |
| FEntityDetail.F_UZMJ_Text2 | 工序 | string | {{details.processName}} |
| FEntityDetail.FIsFree | 是否赠品 | string | _findCollection find FGiveAway from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where F_UZMJ_Text={{details.purRecordDetailUuid}} FMaterialId_FNumber={{details.partNo}} |
| FEntityDetail.FCreateDate | 创建日期 | string | {{createTime date}} |
| FEntityDetail.F_UZMJ_Text3 | 是否核对 | string | 否 |
| FEntityDetail.FormId | 业务对象表单Id | string | AP_Payable |
| FEntityDetail.Operation | 执行的操作 | string | BatchSave |
| FEntityDetail.IsVerifyBaseDataField | 验证基础资料 | bool | true |
| FEntityDetail.IsAutoSubmitAndAudit | 提交并审核 | bool | true |
数据对接价值
通过数据集成平台可视化的快速配置调用接口打通四化智造MES(WEB)与金蝶云星空之间的数据接口,使得两个系统之间的对接更加快捷、稳定。轻易云数据集成平台打破信息孤岛、适配多种场景、降低运营成本、缩短开发周期、灵活调度配置是这种多系统数据打通时的特性优势。采用元数据模型驱动的低代码集成工具,基于系统预置的数据模型、映射、编排、日志、脚本等集成核心引擎,通过可视化配置,快速实现客户灵活多变的动态集成需求,让集成开发简单、执行过程可靠、问题风险可控。
