从四化智造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 | 1 |
| pageSize | 页数 | string | 100 |
| rebackStartTime | 开始时间 | string | {{LAST_SYNC_TIME datetime}} |
| rebackEndTime | 结束时间 | string | {{CURRENT_TIME datetime}} |
| taskType | 采购类型 | string | 25 |
响应参数
| 字段 | 字段名称 | 类型 | 配置值 |
| mchId | mchId | string | |
| createBy | createBy | string | |
| createName | createName | string | |
| checkLabel | checkLabel | string | |
| createTime | createTime | string | |
| updateBy | updateBy | string | |
| updateName | updateName | string | |
| updateTime | updateTime | string | |
| remark | remark | string | |
| companyCode | companyCode | string | |
| currentUserBy | currentUserBy | string | |
| currentUserName | currentUserName | string | |
| currentTime | currentTime | string | |
| filtrationBomStatus | filtrationBomStatus | string | |
| id | id | string | |
| backTaskUuid | backTaskUuid | string | |
| backNumb | backNumb | string | |
| returnNumb | returnNumb | string | |
| backWeight | backWeight | string | |
| connectUuid | connectUuid | string | |
| bomNo | bomNo | string | |
| dispatchPrefix | dispatchPrefix | string | |
| receiveMainTaskUuid | receiveMainTaskUuid | string | |
| status | status | string | |
| receiveStatus | receiveStatus | string | |
| receiveNumb | receiveNumb | string | |
| waitReceiveNumb | waitReceiveNumb | string | |
| currentReceiveNumb | currentReceiveNumb | string | |
| warehouseUuid | warehouseUuid | string | |
| warehouseName | warehouseName | string | |
| partNo | partNo | string | |
| gradeName | gradeName | string | |
| quality | quality | string | |
| brand | brand | string | |
| spec | spec | string | |
| picNo | picNo | string | |
| picVersion | picVersion | string | |
| unitNo | unitNo | string | |
| instockNumb | instockNumb | string | |
| processCode | processCode | string | |
| classifyId | classifyId | string | |
| classifyName | classifyName | string | |
| delFlag | delFlag | string | |
| returnReason | returnReason | string | |
| ynReceive | ynReceive | string | |
| matterialType | matterialType | string | |
| okNumb | okNumb | string | |
| ngNumb | ngNumb | string | |
| hadBackNumb | hadBackNumb | string | |
| preProcessInstockType | preProcessInstockType | string | |
| preProcessCode | preProcessCode | string | |
| currentProcessCode | currentProcessCode | string | |
| currentProcessInstockType | currentProcessInstockType | string | |
| nextProcessCode | nextProcessCode | string | |
| planDate | planDate | string | |
| businessNo | businessNo | string | |
| warehouseAdministorId | warehouseAdministorId | string | |
| supplierName | supplierName | string | |
| supplierUuid | supplierUuid | string | |
| taskType | taskType | string | |
| cuttingSize | cuttingSize | string | |
| customerOrderNo | customerOrderNo | string | |
| modeNo | modeNo | string | |
| outType | outType | string | |
| serCode | serCode | string | |
| outContent | outContent | string | |
| processContent | processContent | string | |
| locationUuid | locationUuid | string | |
| locationNo | locationNo | string | |
| caiGouNumb | caiGouNumb | string | |
| taskResource | taskResource | string | |
| patterNo | patterNo | string | |
| oneWeight | oneWeight | string | |
| receiveWeight | receiveWeight | string | |
| planWeight | planWeight | string | |
| projectCode | projectCode | string | |
| stage | stage | string | |
| itemCategory | itemCategory | string | |
| filePath | filePath | string | |
| fileName | fileName | string | |
| fileSuffix | fileSuffix | string | |
| fileName2d | fileName2d | string | |
| filePath2d | filePath2d | string | |
| fileName3d | fileName3d | string | |
| filePath3d | filePath3d | string | |
| weight | weight | string | |
| priceNumb | priceNumb | string | |
| instockConfirmNumb | instockConfirmNumb | string | |
| processName | processName | string | |
| purchaseUnitNo | purchaseUnitNo | string | |
| purchaseUnitName | purchaseUnitName | string | |
| instockNo | instockNo | string | |
| caigouNo | caigouNo | string | |
| instockTime | instockTime | string | |
| workNo | workNo | string | |
| urgentNeedNo | urgentNeedNo | string | |
| bomContractNo | bomContractNo | string | |
| keyNo | keyNo | string | |
| ifGiveaway | ifGiveaway | string | |
| orderNo | orderNo | string | |
| sendCheckNo | sendCheckNo | string | |
| wholeDeliveryDate | wholeDeliveryDate | string | |
| deliveryDate | deliveryDate | string | |
| customerPartNo | customerPartNo | string | |
| shipmentPlace | shipmentPlace | string | |
| customerGradeName | customerGradeName | string | |
| checkBy | checkBy | string | |
| checkName | checkName | string | |
| ynCheck | ynCheck | string | |
| checkTime | checkTime | string | |
| productName | productName | string | |
| productPartNo | productPartNo | string | |
| caigouTime | caigouTime | string | |
| orderType | orderType | string | |
| checkNumb | checkNumb | string | |
| rebackType | rebackType | string | |
| backNo | backNo | string | |
| customerUuid | customerUuid | string | |
| customerName | customerName | string | |
| customerFullName | customerFullName | string | |
| supplierFullName | supplierFullName | string | |
| connectMainUuid | connectMainUuid | string | |
| connectUuid | 明细行-id | string | |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:采购退货新增
- 方法:POST
请求参数
| 字段 | 字段名称 | 类型 | 配置值 |
| FBillNo | 单据编号 | string | {{backNo}} |
| FDate | 退料日期 | string | {{createTime}} |
| 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 | YZ000176 |
| 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 5e1c2a3d-1e33-32db-9fdc-9af29dadb99f where FNumber={{details.partNo}} endFind when true then '00' else '' end |
| FPURMRBENTRY.FTAXPRICE | 含税单价 | string | _findCollection find FTaxPrice from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 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 ff38e800-ab43-3ca5-9629-cf20357dd861 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 ff38e800-ab43-3ca5-9629-cf20357dd861 where FBillNo={{confrimNo}} |
| FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSId | 源单分录内码 | string | _findCollection find FInStockEntry_FEntryId from ff38e800-ab43-3ca5-9629-cf20357dd861 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 | true |
| FPURMRBENTRY.SubSystemId | 系统模块 | string | 21 |
系统数据对接
可视化配置,即便是普通业务人员也可以快速轻松对接多个平台,解决企业面临的数据孤岛,数据混乱等问题,实现数据可见、可用、可运营。进行统一化,模块化,标准化的服务能力和输出,实现对业务端数据需求的精准满足和高效响应,也可以在业务数据需求的不断增加下,让企业有整套的可复用的api资产以更换,支持业务的正常运转,节省开发成本。在不同的着重点和应用上解决数据共享,实现平台之间的独立管理。
