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

数据源平台:四化智造MES(WEB)
MES建立统一平台上通过物料防错防错、流程防错、生产统计、异常处理、信息采集和全流程追溯等精益生产和精细化管理,帮助企业合理安排生产排程、优化工艺流程、改善产品质量、降低能源损耗、降低制造成本,提高执行效率,全面提升和改善企业制造能力,为企业打造可视化、透明化、数字化、智能化工厂。通过手机移动APP实时的数据查询和分析报表,为企业高层提供快速决策支持,以便针对市场变化快速准确地作出反应,综合提升企业的市场竞争力。
接通系统:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
系统对接接口配置
通过数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:四化智造MES(WEB),并且选择对应的连接器(关于四化智造MES(WEB)的接口连接器如何配置可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息)。选择对应的原材料/标准件采购查询(待采购)接口作为数据对接来源。然后再通过写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器。选择对应的采购订单新增接口作为数据写入动作,既可以完成第一步的数据对接配置;打破跨系统连接,让数据轻易互通成为现实。数据管道ETL:构建一体化的数据融合平台。高级数据转换: 支持公式转换数据格式、支持脚本直接进行数据转换、支持可视化多维度数据处理。高性能实时处理:针对不同数据节点类型提供TB级吞吐量,秒级延迟的增量数据处理能力。自动将旧版web服务转变为基于云端微服务的API,统一接口输出标准。支持接口开放服务,实现内外部能力接入。



四化智造MES(WEB)接口明细
- 调用接口:mbs/pur/record/purDetailList
- 接口名称:原材料/标准件采购查询(待采购)
- 方法:GET
请求参数
| 字段 | 字段名称 | 类型 | 配置值 |
| pageNum | 页码 | string | 1 |
| pageSize | 页数 | string | 100 |
| updBeginTime | 开始时间 | string | {{LAST_SYNC_TIME datetime}} |
| updEndTime | 结束时间 | string | {{CURRENT_TIME datetime}} |
| purType | 采购类型 | string | 3 |
| updateTime | 修改时间 | string | {{LAST_SYNC_TIME datetime}} |
响应参数
| 字段 | 字段名称 | 类型 | 配置值 |
| 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 | |
| recordId | recordId | string | |
| detailId | detailId | string | |
| purId | purId | string | |
| coefficient | coefficient | string | |
| haveDeliveryNum | haveDeliveryNum | string | |
| supplierUuid | supplierUuid | string | |
| patterNo | patterNo | string | |
| customerDeliveryDate | customerDeliveryDate | string | |
| supplierName | supplierName | string | |
| supplierFullName | supplierFullName | string | |
| purRecordUuid | purRecordUuid | string | |
| purRecordDetailUuid | purRecordDetailUuid | string | |
| purTaskUuid | purTaskUuid | string | |
| takeApartDetailUuid | takeApartDetailUuid | string | |
| orderUuid | orderUuid | string | |
| bomUuid | bomUuid | string | |
| planBomUuid | planBomUuid | string | |
| partNo | partNo | string | |
| processName | processName | string | |
| gradeName | gradeName | string | |
| picNo | picNo | string | |
| quality | quality | string | |
| purType | purType | string | |
| outsourcedType | outsourcedType | string | |
| outProcessCode | outProcessCode | string | |
| heatTreatment | heatTreatment | string | |
| bomNo | bomNo | string | |
| keyNo | keyNo | string | |
| locationCode | locationCode | string | |
| barcode | barcode | string | |
| purchaseNum | purchaseNum | string | |
| purPrice | purPrice | string | |
| purTotalPrice | purTotalPrice | string | |
| reqDate | reqDate | string | |
| productUuid | productUuid | string | |
| outsourcedWay | outsourcedWay | string | |
| outsourcedWayList | outsourcedWayList | string | |
| locationUuid | locationUuid | string | |
| stockNum | stockNum | string | |
| deliveryDate | deliveryDate | string | |
| reqNo | reqNo | string | |
| deptName | deptName | string | |
| totalDemandNum | totalDemandNum | string | |
| productNo | productNo | string | |
| productName | productName | string | |
| orderNo | orderNo | string | |
| orderType | orderType | string | |
| customerName | customerName | string | |
| projectCode | projectCode | string | |
| purNo | purNo | string | |
| purReason | purReason | string | |
| purStatus | purStatus | string | |
| backStatus | backStatus | string | |
| customerOrderNo | customerOrderNo | string | |
| deptId | deptId | string | |
| receiveBy | receiveBy | string | |
| receiveTime | receiveTime | string | |
| receiveName | receiveName | string | |
| takeApartType | takeApartType | string | |
| spec | spec | string | |
| brand | brand | string | |
| materialInfoNo | materialInfoNo | string | |
| craftId | craftId | string | |
| rawPurchaseWeight | rawPurchaseWeight | string | |
| rawMaterialInfoNo | rawMaterialInfoNo | string | |
| purTaskType | purTaskType | string | |
| ifMold | ifMold | string | |
| taxPrice | taxPrice | string | |
| taxTotalPrice | taxTotalPrice | string | |
| untaxedPrice | untaxedPrice | string | |
| untaxedTotalPrice | untaxedTotalPrice | string | |
| taxRate | taxRate | string | |
| customerPartNo | customerPartNo | string | |
| stockTime | stockTime | string | |
| purchaseUnitNo | purchaseUnitNo | string | |
| purchaseUnitName | purchaseUnitName | string | |
| returnsNumber | returnsNumber | string | |
| replaceModeNo | replaceModeNo | string | |
| secondPurType | secondPurType | string | |
| isSecondPur | isSecondPur | string | |
| checkedNum | checkedNum | string | |
| processingFee | processingFee | string | |
| itemCategory | itemCategory | string | |
| stage | stage | string | |
| projectName | projectName | string | |
| rawMaterialInfo | rawMaterialInfo | string | |
| rawPartNo | rawPartNo | string | |
| rawGradeName | rawGradeName | string | |
| rawSpec | rawSpec | string | |
| rawBrand | rawBrand | string | |
| rawQuality | rawQuality | string | |
| rawQuantity | rawQuantity | string | |
| nuclearPriceTaskUuid | nuclearPriceTaskUuid | string | |
| detailBackStatus | detailBackStatus | string | |
| unitName | unitName | string | |
| processingType | processingType | string | |
| beginReqDate | beginReqDate | string | |
| endReqDate | endReqDate | string | |
| beginReceiveTime | beginReceiveTime | string | |
| endReceiveTime | endReceiveTime | string | |
| beginReplyTime | beginReplyTime | string | |
| endReplyTime | endReplyTime | string | |
| isAbnormal | isAbnormal | string | |
| bomVersion | bomVersion | string | |
| orderNum | orderNum | string | |
| workNo | workNo | string | |
| bomContractNo | bomContractNo | string | |
| urgentNeedNo | urgentNeedNo | string | |
| bomRemark | bomRemark | string | |
| distributeNum | distributeNum | string | |
| distributeDate | distributeDate | string | |
| purRevokeUuid | purRevokeUuid | string | |
| businessUuid | businessUuid | string | |
| filePath | filePath | string | |
| fileName | fileName | string | |
| fileSuffix | fileSuffix | string | |
| fileName2d | fileName2d | string | |
| filePath2d | filePath2d | string | |
| fileName3d | fileName3d | string | |
| filePath3d | filePath3d | string | |
| changeRemark | changeRemark | string | |
| changeColor | changeColor | string | |
| invTypeName | invTypeName | string | |
| rawUnitName | rawUnitName | string | |
| bomStatus | bomStatus | string | |
| bomClose | bomClose | string | |
| shipmentPlace | shipmentPlace | string | |
| realName | realName | string | |
| procuredNum | procuredNum | string | |
| taskPurType | taskPurType | string | |
| moldNo | moldNo | string | |
| purCreateName | purCreateName | string | |
| uploadFileTime | uploadFileTime | string | |
| replyTime | replyTime | string | |
| beginPurchaseTime | beginPurchaseTime | string | |
| endPurchaseTime | endPurchaseTime | string | |
| dispatchNo | dispatchNo | string | |
| orderGradeName | orderGradeName | string | |
| orderPartNo | orderPartNo | string | |
| parentMaterialInfoNo | parentMaterialInfoNo | string | |
| closeReason | closeReason | string | |
| closeUser | closeUser | string | |
| closeTime | closeTime | string | |
| revokeReason | revokeReason | string | |
| revokeName | revokeName | string | |
| revokeTime | revokeTime | string | |
| detailStatus | detailStatus | string | |
| customerAndUrgent | customerAndUrgent | string | |
| orderNoBom | orderNoBom | string | |
| singleSetNum | singleSetNum | string | |
| receiveNum | receiveNum | string | |
| minPurchaseNum | minPurchaseNum | string | |
金蝶云星空接口明细
- API:batchSave
- NAME:采购订单新增
- METHOD:POST
请求参数
| 接口字段 | 名称 | 预设值 |
| FID | FID | findCollection find FID from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where FBillNo={{purNo}} |
| FPurchaseOrgId | 采购组织 | 1 |
| FPOOrderEntry | 明细信息 | details |
| FPOOrderEntry.FEntryId | 明细-id | _findCollection find FPOOrderEntry_FEntryId from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where F_UZMJ_Text={{details.purRecordDetailUuid}} FMaterialId_FNumber={{details.rawPartNo}} |
| FPOOrderEntry.FMaterialId | 物料编码 | {{details.rawPartNo}} |
| FPOOrderEntry.FQty | 采购数量 | {{details.purchaseNum}} |
| FPOOrderEntry.FPrice | 单价 | {{details.untaxedPrice}} |
| FPOOrderEntry.FEntryDiscountRate | 折扣率% | |
| FPOOrderEntry.FEntryNote | 备注 | |
| FPOOrderEntry.FTaxPrice | 含税单价 | {{details.purPrice}} |
| FPOOrderEntry.FEntryTaxAmount | 税额 | |
| FPOOrderEntry.FRowCost | 行费用 | |
| FPOOrderEntry.FDeliveryDate | 交货日期 | {{details.reqDate}} |
| FPOOrderEntry.F_sh_id | 四化采购订单id | {{purRecordUuid}} |
| FPOOrderEntry.FormId | 业务对象表单Id | PUR_PurchaseOrder |
| FPOOrderEntry.Operation | 执行的操作 | BatchSave |
| FPOOrderEntry.IsAutoSubmitAndAudit | 提交并审核 | false |
| FPOOrderEntry.IsVerifyBaseDataField | 验证基础资料 | true |
数据对接价值
全面管控企业的API资产,梳理现有业务系统的API。实现API文档的统一管理,建立API的上线、下线、监控的统一管理体系。API低代码开发平台能够实现低代码或零代码一键发布API服务,很好地解决企业用户上面的问题。轻易云应用集成主要解决已有应用系统的无序蔓延现象,减少各业务系统间的维护成本,减少各应用系统的操作系统、开发语言、访问协议、通信技术多而杂、整合难度大的问题,将企业数据平滑对接,减少信息竖井。

