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

数据源平台:四化智造MES(WEB)
MES建立统一平台上通过物料防错防错、流程防错、生产统计、异常处理、信息采集和全流程追溯等精益生产和精细化管理,帮助企业合理安排生产排程、优化工艺流程、改善产品质量、降低能源损耗、降低制造成本,提高执行效率,全面提升和改善企业制造能力,为企业打造可视化、透明化、数字化、智能化工厂。通过手机移动APP实时的数据查询和分析报表,为企业高层提供快速决策支持,以便针对市场变化快速准确地作出反应,综合提升企业的市场竞争力。
接通系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
接口方案配置
通过轻易云系统数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:四化智造MES(WEB),并且选择对应的连接器(关于四化智造MES(WEB)的接口连接器如何配置可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息)。选择对应的原材料/标准件采购查询(待采购)接口作为数据对接来源。然后再通过写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器。选择对应的采购订单新增接口作为数据写入动作,既可以完成第一步的数据对接配置;打破跨系统连接,让数据轻易互通成为现实。

四化智造MES(WEB)接口明细
- API:mbs/pur/record/purDetailList
- NAME:原材料/标准件采购查询(待采购)
- METHOD:GET
请求参数
| 接口字段 | 字段名称 | 预设值 | 描述 |
| pageNum | 页码 | 1 | 页码 |
| pageSize | 页数 | 100 | 页数 |
| updBeginTime | 开始时间 | {{LAST_SYNC_TIME datetime}} | 开始时间 |
| updEndTime | 结束时间 | {{CURRENT_TIME datetime}} | 结束时间 |
| purType | 采购类型 | 4 | 1:标准件2:委外 3:原材料 |
| updateTime | 修改时间 | {{LAST_SYNC_TIME datetime}} | |
响应参数
| 接口字段 | 字段名称 | 预设值 | 描述 |
| 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 |
| id | id | | autoFillResponse |
| recordId | recordId | | _autoFillResponse |
| detailId | detailId | | autoFillResponse |
| purId | purId | | _autoFillResponse |
| coefficient | coefficient | | autoFillResponse |
| haveDeliveryNum | haveDeliveryNum | | _autoFillResponse |
| supplierUuid | supplierUuid | | autoFillResponse |
| patterNo | patterNo | | _autoFillResponse |
| customerDeliveryDate | customerDeliveryDate | | autoFillResponse |
| supplierName | supplierName | | _autoFillResponse |
| supplierFullName | supplierFullName | | autoFillResponse |
| purRecordUuid | purRecordUuid | | _autoFillResponse |
| purRecordDetailUuid | purRecordDetailUuid | | autoFillResponse |
| purTaskUuid | purTaskUuid | | _autoFillResponse |
| takeApartDetailUuid | takeApartDetailUuid | | autoFillResponse |
| orderUuid | orderUuid | | _autoFillResponse |
| bomUuid | bomUuid | | autoFillResponse |
| planBomUuid | planBomUuid | | _autoFillResponse |
| partNo | partNo | | autoFillResponse |
| processName | processName | | _autoFillResponse |
| gradeName | gradeName | | autoFillResponse |
| picNo | picNo | | _autoFillResponse |
| quality | quality | | autoFillResponse |
| purType | purType | | _autoFillResponse |
| outsourcedType | outsourcedType | | autoFillResponse |
| outProcessCode | outProcessCode | | _autoFillResponse |
| heatTreatment | heatTreatment | | autoFillResponse |
| bomNo | bomNo | | _autoFillResponse |
| keyNo | keyNo | | autoFillResponse |
| locationCode | locationCode | | _autoFillResponse |
| barcode | barcode | | autoFillResponse |
| purchaseNum | purchaseNum | | _autoFillResponse |
| purPrice | purPrice | | autoFillResponse |
| purTotalPrice | purTotalPrice | | _autoFillResponse |
| reqDate | reqDate | | autoFillResponse |
| productUuid | productUuid | | _autoFillResponse |
| outsourcedWay | outsourcedWay | | autoFillResponse |
| outsourcedWayList | outsourcedWayList | | _autoFillResponse |
| locationUuid | locationUuid | | autoFillResponse |
| stockNum | stockNum | | _autoFillResponse |
| deliveryDate | deliveryDate | | autoFillResponse |
| reqNo | reqNo | | _autoFillResponse |
| deptName | deptName | | autoFillResponse |
| totalDemandNum | totalDemandNum | | _autoFillResponse |
| productNo | productNo | | autoFillResponse |
| productName | productName | | _autoFillResponse |
| orderNo | orderNo | | autoFillResponse |
| orderType | orderType | | _autoFillResponse |
| customerName | customerName | | autoFillResponse |
| projectCode | projectCode | | _autoFillResponse |
| purNo | purNo | | autoFillResponse |
| purReason | purReason | | _autoFillResponse |
| purStatus | purStatus | | autoFillResponse |
| backStatus | backStatus | | _autoFillResponse |
| customerOrderNo | customerOrderNo | | autoFillResponse |
| deptId | deptId | | _autoFillResponse |
| receiveBy | receiveBy | | autoFillResponse |
| receiveTime | receiveTime | | _autoFillResponse |
| receiveName | receiveName | | autoFillResponse |
| takeApartType | takeApartType | | _autoFillResponse |
| spec | spec | | autoFillResponse |
| brand | brand | | _autoFillResponse |
| materialInfoNo | materialInfoNo | | autoFillResponse |
| craftId | craftId | | _autoFillResponse |
| rawPurchaseWeight | rawPurchaseWeight | | autoFillResponse |
| rawMaterialInfoNo | rawMaterialInfoNo | | _autoFillResponse |
| purTaskType | purTaskType | | autoFillResponse |
| ifMold | ifMold | | _autoFillResponse |
| taxPrice | taxPrice | | autoFillResponse |
| taxTotalPrice | taxTotalPrice | | _autoFillResponse |
| untaxedPrice | untaxedPrice | | autoFillResponse |
| untaxedTotalPrice | untaxedTotalPrice | | _autoFillResponse |
| taxRate | taxRate | | autoFillResponse |
| customerPartNo | customerPartNo | | _autoFillResponse |
| stockTime | stockTime | | autoFillResponse |
| purchaseUnitNo | purchaseUnitNo | | _autoFillResponse |
| purchaseUnitName | purchaseUnitName | | autoFillResponse |
| returnsNumber | returnsNumber | | _autoFillResponse |
| replaceModeNo | replaceModeNo | | autoFillResponse |
| secondPurType | secondPurType | | _autoFillResponse |
| isSecondPur | isSecondPur | | autoFillResponse |
| checkedNum | checkedNum | | _autoFillResponse |
| processingFee | processingFee | | autoFillResponse |
| itemCategory | itemCategory | | _autoFillResponse |
| stage | stage | | autoFillResponse |
| projectName | projectName | | _autoFillResponse |
| rawMaterialInfo | rawMaterialInfo | | autoFillResponse |
| rawPartNo | rawPartNo | | _autoFillResponse |
| rawGradeName | rawGradeName | | autoFillResponse |
| rawSpec | rawSpec | | _autoFillResponse |
| rawBrand | rawBrand | | autoFillResponse |
| rawQuality | rawQuality | | _autoFillResponse |
| rawQuantity | rawQuantity | | autoFillResponse |
| nuclearPriceTaskUuid | nuclearPriceTaskUuid | | _autoFillResponse |
| detailBackStatus | detailBackStatus | | autoFillResponse |
| unitName | unitName | | _autoFillResponse |
| processingType | processingType | | autoFillResponse |
| beginReqDate | beginReqDate | | _autoFillResponse |
| endReqDate | endReqDate | | autoFillResponse |
| beginReceiveTime | beginReceiveTime | | _autoFillResponse |
| endReceiveTime | endReceiveTime | | autoFillResponse |
| beginReplyTime | beginReplyTime | | _autoFillResponse |
| endReplyTime | endReplyTime | | autoFillResponse |
| isAbnormal | isAbnormal | | _autoFillResponse |
| bomVersion | bomVersion | | autoFillResponse |
| orderNum | orderNum | | _autoFillResponse |
| workNo | workNo | | autoFillResponse |
| bomContractNo | bomContractNo | | _autoFillResponse |
| urgentNeedNo | urgentNeedNo | | autoFillResponse |
| bomRemark | bomRemark | | _autoFillResponse |
| distributeNum | distributeNum | | autoFillResponse |
| distributeDate | distributeDate | | _autoFillResponse |
| purRevokeUuid | purRevokeUuid | | autoFillResponse |
| businessUuid | businessUuid | | _autoFillResponse |
| filePath | filePath | | autoFillResponse |
| fileName | fileName | | _autoFillResponse |
| fileSuffix | fileSuffix | | autoFillResponse |
| fileName2d | fileName2d | | _autoFillResponse |
| filePath2d | filePath2d | | autoFillResponse |
| fileName3d | fileName3d | | _autoFillResponse |
| filePath3d | filePath3d | | autoFillResponse |
| changeRemark | changeRemark | | _autoFillResponse |
| changeColor | changeColor | | autoFillResponse |
| invTypeName | invTypeName | | _autoFillResponse |
| rawUnitName | rawUnitName | | autoFillResponse |
| bomStatus | bomStatus | | _autoFillResponse |
| bomClose | bomClose | | autoFillResponse |
| shipmentPlace | shipmentPlace | | _autoFillResponse |
| realName | realName | | autoFillResponse |
| procuredNum | procuredNum | | _autoFillResponse |
| taskPurType | taskPurType | | autoFillResponse |
| moldNo | moldNo | | _autoFillResponse |
| purCreateName | purCreateName | | autoFillResponse |
| uploadFileTime | uploadFileTime | | _autoFillResponse |
| replyTime | replyTime | | autoFillResponse |
| beginPurchaseTime | beginPurchaseTime | | _autoFillResponse |
| endPurchaseTime | endPurchaseTime | | autoFillResponse |
| dispatchNo | dispatchNo | | _autoFillResponse |
| orderGradeName | orderGradeName | | autoFillResponse |
| orderPartNo | orderPartNo | | _autoFillResponse |
| parentMaterialInfoNo | parentMaterialInfoNo | | autoFillResponse |
| closeReason | closeReason | | _autoFillResponse |
| closeUser | closeUser | | autoFillResponse |
| closeTime | closeTime | | _autoFillResponse |
| revokeReason | revokeReason | | autoFillResponse |
| revokeName | revokeName | | _autoFillResponse |
| revokeTime | revokeTime | | autoFillResponse |
| detailStatus | detailStatus | | _autoFillResponse |
| customerAndUrgent | customerAndUrgent | | autoFillResponse |
| orderNoBom | orderNoBom | | _autoFillResponse |
| singleSetNum | singleSetNum | | autoFillResponse |
| receiveNum | receiveNum | | _autoFillResponse |
| minPurchaseNum | minPurchaseNum | | _autoFillResponse |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:采购订单新增
- 方法:POST
请求参数
| 字段 | 字段名称 | 类型 | 配置值 |
| FID | FID | string | findCollection find FID from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where FBillNo={{purNo}} |
| FPurchaseOrgId | 采购组织 | string | 1 |
| FPOOrderEntry | 明细信息 | array | details |
| FPOOrderEntry.FEntryId | 明细-id | string | _findCollection find FPOOrderEntry_FEntryId from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where F_UZMJ_Text={{details.purRecordDetailUuid}} FMaterialId_FNumber={{details.partNo}} |
| FPOOrderEntry.FMaterialId | 物料编码 | string | {{details.partNo}} |
| FPOOrderEntry.FQty | 采购数量 | string | {{details.purchaseNum}} |
| FPOOrderEntry.FPrice | 单价 | string | {{details.untaxedPrice}} |
| FPOOrderEntry.FEntryDiscountRate | 折扣率% | string | |
| FPOOrderEntry.FEntryNote | 备注 | string | |
| FPOOrderEntry.FTaxPrice | 含税单价 | string | {{details.purPrice}} |
| FPOOrderEntry.FEntryTaxAmount | 税额 | string | |
| FPOOrderEntry.FRowCost | 行费用 | string | |
| FPOOrderEntry.FDeliveryDate | 交货日期 | string | {{details.reqDate}} |
| FPOOrderEntry.F_sh_id | 四化采购订单id | string | {{purRecordUuid}} |
| FPOOrderEntry.FormId | 业务对象表单Id | string | PUR_PurchaseOrder |
| FPOOrderEntry.Operation | 执行的操作 | string | BatchSave |
| FPOOrderEntry.IsAutoSubmitAndAudit | 提交并审核 | bool | false |
| FPOOrderEntry.IsVerifyBaseDataField | 验证基础资料 | bool | true |
系统对接概况
随着企业数字化业务的深入发展,对于企业的 IT 或者 CIO 来讲,正在面临一个愈发重要的问题——系统的结构太复杂了,尤其是头部企业,至少有十多套系统,这些系统之间的蛛网状的接口如果经常出问题。企业内部以及企业内部与外部建立起越来越多的业务应用系统,如何整合企业的现有IT资源,使企业中计算机孤岛式的应用向集体协作的方向发展,发挥资源效益的最大化,降低企业成本,正在逐渐成为企业关注的重要问题。用户希望企业内所有系统集成在一个平台上,操作统一,以节省培训时间。使用在轻易云应用集成平台 + MDM基础数据平台的解决方案中,轻易云应用集成平台负责实现异构、分布式系统之间互联互通,实现服务API治理以及数据传输交换。通过轻易云预置的各种适配器组件,连接现有各孤立应用系统,以图形化、拖拽方式构建集成流程和服务,提高应用系统集成工作效率,降低异构系统集成风险。针对未来可能出现的业务需求变更,在应用集成平台上进行动态调整,实现各应用系统之间的集成策略平滑升级。
