四化智造MES(WEB)和金蝶云星空接口打通对接实战
对接系统:四化智造MES(WEB)
MES系统是集成生产管理、品质管理、设备管理、BI数据中心、库存管理、工时管理、数据采集、看板管理等为一体的综合性生产管理系统。通过强调制造过程的透明化,帮助企业由粗放式向精益化管理模式升级。
对接目标系统:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
数据接口配置
通过轻易云系统数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:四化智造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 | 采购类型 | 1 | 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.rawPartNo}} |
| 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 |
系统对接概况
通过无代码的数据集成与数据建模的智能数据管道技术,帮助企业将所有应用程序、数据库、事件和文件等数据信息提取到数据仓库中,并快速将分散的数据转化为数据集、API、自动化流程等开箱即用的数据服务。配置接口的模式对接四化智造MES(WEB)和金蝶云星空,使得单据无缝互通。打造企业内部数据一体化,让企业日常运营管理实现敏捷数据化运营。实现供应链业务信息流的互通,同时支持供应链数据分析流程自动化,结果推送,推进相关供应链问题优化。及时打通供应链孤岛,实现数据驱动供应链协同,进一步提升企业竞争力。