金蝶云星空、四化智造MES(WEB)通过接口配置数据对接

源系统:四化智造MES(WEB)
MES系统是集成生产管理、品质管理、设备管理、BI数据中心、库存管理、工时管理、数据采集、看板管理等为一体的综合性生产管理系统。通过强调制造过程的透明化,帮助企业由粗放式向精益化管理模式升级。
集成系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
数据对接方案
通过轻易云系统数据集成平台新增创建集成方案,通过轻易云的方案市场可以一键复制,并且可以借鉴其他的方案配置完成方案制作,方案制作只需要两步,第一步先确定好对应的数据来源;源系统:四化智造MES(WEB)接口:原材料/标准件采购查询(待采购)通过请求调度者配置对应的请求参数即可获取到对应的数据。目标系统:金蝶云星空接口:采购订单新增,通过写入调度者匹配获取到的数据和写入的映射关系,即可自动生成符合目标系统:金蝶云星空写入的数据自动产生写入队列,通过运行概况,系统会自动帮你诊断方案的运行情况。实时监控到方案的运行情况

四化智造MES(WEB)接口明细
- 接口:mbs/pur/record/purDetailList
- 接口名称:原材料/标准件采购查询(待采购)
- 接口方法:GET
请求参数
| 字段 | 名称 | 类型 |
| BeginTime | 开始时间 | string |
| EndTime | 结束时间 | string |
| pageSize | 页数 | string |
| pageNum | 页码 | string |
| purType | 采购类型 | string |
| updateTime | 更新时间 | string |
响应参数
| 字段 | 名称 | 类型 | 描述 |
| mchId | mchId | string | autoFillResponse |
| createBy | createBy | string | _autoFillResponse |
| createName | createName | string | autoFillResponse |
| checkLabel | checkLabel | string | _autoFillResponse |
| createTime | createTime | string | autoFillResponse |
| updateBy | updateBy | string | _autoFillResponse |
| updateName | updateName | string | autoFillResponse |
| updateTime | updateTime | string | _autoFillResponse |
| remark | remark | string | autoFillResponse |
| companyCode | companyCode | string | _autoFillResponse |
| currentUserBy | currentUserBy | string | autoFillResponse |
| currentUserName | currentUserName | string | _autoFillResponse |
| currentTime | currentTime | string | autoFillResponse |
| filtrationBomStatus | filtrationBomStatus | string | _autoFillResponse |
| id | id | string | autoFillResponse |
| recordId | recordId | string | _autoFillResponse |
| detailId | detailId | string | autoFillResponse |
| purId | purId | string | _autoFillResponse |
| coefficient | coefficient | string | autoFillResponse |
| haveDeliveryNum | haveDeliveryNum | string | _autoFillResponse |
| supplierUuid | supplierUuid | string | autoFillResponse |
| patterNo | patterNo | string | _autoFillResponse |
| customerDeliveryDate | customerDeliveryDate | string | autoFillResponse |
| supplierName | supplierName | string | _autoFillResponse |
| supplierFullName | supplierFullName | string | autoFillResponse |
| purRecordUuid | purRecordUuid | string | _autoFillResponse |
| purRecordDetailUuid | purRecordDetailUuid | string | autoFillResponse |
| purTaskUuid | purTaskUuid | string | _autoFillResponse |
| takeApartDetailUuid | takeApartDetailUuid | string | autoFillResponse |
| orderUuid | orderUuid | string | _autoFillResponse |
| bomUuid | bomUuid | string | autoFillResponse |
| planBomUuid | planBomUuid | string | _autoFillResponse |
| partNo | partNo | string | autoFillResponse |
| processName | processName | string | _autoFillResponse |
| gradeName | gradeName | string | autoFillResponse |
| picNo | picNo | string | _autoFillResponse |
| quality | quality | string | autoFillResponse |
| purType | purType | string | _autoFillResponse |
| outsourcedType | outsourcedType | string | autoFillResponse |
| outProcessCode | outProcessCode | string | _autoFillResponse |
| heatTreatment | heatTreatment | string | autoFillResponse |
| bomNo | bomNo | string | _autoFillResponse |
| keyNo | keyNo | string | autoFillResponse |
| locationCode | locationCode | string | _autoFillResponse |
| barcode | barcode | string | autoFillResponse |
| purchaseNum | purchaseNum | string | _autoFillResponse |
| purPrice | purPrice | string | autoFillResponse |
| purTotalPrice | purTotalPrice | string | _autoFillResponse |
| reqDate | reqDate | string | autoFillResponse |
| productUuid | productUuid | string | _autoFillResponse |
| outsourcedWay | outsourcedWay | string | autoFillResponse |
| outsourcedWayList | outsourcedWayList | string | _autoFillResponse |
| locationUuid | locationUuid | string | autoFillResponse |
| stockNum | stockNum | string | _autoFillResponse |
| deliveryDate | deliveryDate | string | autoFillResponse |
| reqNo | reqNo | string | _autoFillResponse |
| deptName | deptName | string | autoFillResponse |
| totalDemandNum | totalDemandNum | string | _autoFillResponse |
| productNo | productNo | string | autoFillResponse |
| productName | productName | string | _autoFillResponse |
| orderNo | orderNo | string | autoFillResponse |
| orderType | orderType | string | _autoFillResponse |
| customerName | customerName | string | autoFillResponse |
| projectCode | projectCode | string | _autoFillResponse |
| purNo | purNo | string | autoFillResponse |
| purReason | purReason | string | _autoFillResponse |
| purStatus | purStatus | string | autoFillResponse |
| backStatus | backStatus | string | _autoFillResponse |
| customerOrderNo | customerOrderNo | string | autoFillResponse |
| deptId | deptId | string | _autoFillResponse |
| receiveBy | receiveBy | string | autoFillResponse |
| receiveTime | receiveTime | string | _autoFillResponse |
| receiveName | receiveName | string | autoFillResponse |
| takeApartType | takeApartType | string | _autoFillResponse |
| spec | spec | string | autoFillResponse |
| brand | brand | string | _autoFillResponse |
| materialInfoNo | materialInfoNo | string | autoFillResponse |
| craftId | craftId | string | _autoFillResponse |
| rawPurchaseWeight | rawPurchaseWeight | string | autoFillResponse |
| rawMaterialInfoNo | rawMaterialInfoNo | string | _autoFillResponse |
| purTaskType | purTaskType | string | autoFillResponse |
| ifMold | ifMold | string | _autoFillResponse |
| taxPrice | taxPrice | string | autoFillResponse |
| taxTotalPrice | taxTotalPrice | string | _autoFillResponse |
| untaxedPrice | untaxedPrice | string | autoFillResponse |
| untaxedTotalPrice | untaxedTotalPrice | string | _autoFillResponse |
| taxRate | taxRate | string | autoFillResponse |
| customerPartNo | customerPartNo | string | _autoFillResponse |
| stockTime | stockTime | string | autoFillResponse |
| purchaseUnitNo | purchaseUnitNo | string | _autoFillResponse |
| purchaseUnitName | purchaseUnitName | string | autoFillResponse |
| returnsNumber | returnsNumber | string | _autoFillResponse |
| replaceModeNo | replaceModeNo | string | autoFillResponse |
| secondPurType | secondPurType | string | _autoFillResponse |
| isSecondPur | isSecondPur | string | autoFillResponse |
| checkedNum | checkedNum | string | _autoFillResponse |
| processingFee | processingFee | string | autoFillResponse |
| itemCategory | itemCategory | string | _autoFillResponse |
| stage | stage | string | autoFillResponse |
| projectName | projectName | string | _autoFillResponse |
| rawMaterialInfo | rawMaterialInfo | string | autoFillResponse |
| rawPartNo | rawPartNo | string | _autoFillResponse |
| rawGradeName | rawGradeName | string | autoFillResponse |
| rawSpec | rawSpec | string | _autoFillResponse |
| rawBrand | rawBrand | string | autoFillResponse |
| rawQuality | rawQuality | string | _autoFillResponse |
| rawQuantity | rawQuantity | string | autoFillResponse |
| nuclearPriceTaskUuid | nuclearPriceTaskUuid | string | _autoFillResponse |
| detailBackStatus | detailBackStatus | string | autoFillResponse |
| unitName | unitName | string | _autoFillResponse |
| processingType | processingType | string | autoFillResponse |
| beginReqDate | beginReqDate | string | _autoFillResponse |
| endReqDate | endReqDate | string | autoFillResponse |
| beginReceiveTime | beginReceiveTime | string | _autoFillResponse |
| endReceiveTime | endReceiveTime | string | autoFillResponse |
| beginReplyTime | beginReplyTime | string | _autoFillResponse |
| endReplyTime | endReplyTime | string | autoFillResponse |
| isAbnormal | isAbnormal | string | _autoFillResponse |
| bomVersion | bomVersion | string | autoFillResponse |
| orderNum | orderNum | string | _autoFillResponse |
| workNo | workNo | string | autoFillResponse |
| bomContractNo | bomContractNo | string | _autoFillResponse |
| urgentNeedNo | urgentNeedNo | string | autoFillResponse |
| bomRemark | bomRemark | string | _autoFillResponse |
| distributeNum | distributeNum | string | autoFillResponse |
| distributeDate | distributeDate | string | _autoFillResponse |
| purRevokeUuid | purRevokeUuid | string | autoFillResponse |
| businessUuid | businessUuid | string | _autoFillResponse |
| filePath | filePath | string | autoFillResponse |
| fileName | fileName | string | _autoFillResponse |
| fileSuffix | fileSuffix | string | autoFillResponse |
| fileName2d | fileName2d | string | _autoFillResponse |
| filePath2d | filePath2d | string | autoFillResponse |
| fileName3d | fileName3d | string | _autoFillResponse |
| filePath3d | filePath3d | string | autoFillResponse |
| changeRemark | changeRemark | string | _autoFillResponse |
| changeColor | changeColor | string | autoFillResponse |
| invTypeName | invTypeName | string | _autoFillResponse |
| rawUnitName | rawUnitName | string | autoFillResponse |
| bomStatus | bomStatus | string | _autoFillResponse |
| bomClose | bomClose | string | autoFillResponse |
| shipmentPlace | shipmentPlace | string | _autoFillResponse |
| realName | realName | string | autoFillResponse |
| procuredNum | procuredNum | string | _autoFillResponse |
| taskPurType | taskPurType | string | autoFillResponse |
| moldNo | moldNo | string | _autoFillResponse |
| purCreateName | purCreateName | string | autoFillResponse |
| uploadFileTime | uploadFileTime | string | _autoFillResponse |
| replyTime | replyTime | string | autoFillResponse |
| beginPurchaseTime | beginPurchaseTime | string | _autoFillResponse |
| endPurchaseTime | endPurchaseTime | string | autoFillResponse |
| dispatchNo | dispatchNo | string | _autoFillResponse |
| orderGradeName | orderGradeName | string | autoFillResponse |
| orderPartNo | orderPartNo | string | _autoFillResponse |
| parentMaterialInfoNo | parentMaterialInfoNo | string | autoFillResponse |
| closeReason | closeReason | string | _autoFillResponse |
| closeUser | closeUser | string | autoFillResponse |
| closeTime | closeTime | string | _autoFillResponse |
| revokeReason | revokeReason | string | autoFillResponse |
| revokeName | revokeName | string | _autoFillResponse |
| revokeTime | revokeTime | string | autoFillResponse |
| detailStatus | detailStatus | string | _autoFillResponse |
| customerAndUrgent | customerAndUrgent | string | autoFillResponse |
| orderNoBom | orderNoBom | string | _autoFillResponse |
| singleSetNum | singleSetNum | string | autoFillResponse |
| receiveNum | receiveNum | string | _autoFillResponse |
| minPurchaseNum | minPurchaseNum | string | _autoFillResponse |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:采购订单新增
- 方法:POST
请求参数
| 字段 | 字段名称 | 类型 | 配置值 |
| FBillNo | 单据编号 | string | {{purNo}} |
| FDate | 采购日期 | string | {{createTime}} |
| FPurchaseOrgId | 采购组织 | string | 1 |
| FSupplierId | 供应商 | string | {{supplierUuid}} |
| FPurchaserGroupId | 采购组 | string | |
| FPurchaserId | 采购员 | string | |
| FBillTypeID | 单据类型 | string | ZZJPO |
| FBusinessType | 业务类型 | string | CG |
| FPOOrderEntry | 明细信息 | array | details |
| FPOOrderEntry.FMaterialId | 物料编码 | string | {{details.partNo}} |
| FPOOrderEntry.FQty | 采购数量 | string | {{details.purchaseNum}} |
| FPOOrderEntry.FPrice | 单价 | string | {{details.untaxedPrice}} |
| FPOOrderEntry.FEntryDiscountRate | 折扣率% | string | |
| FPOOrderEntry.FEntryTaxRate | 税率% | string | function {{details.taxRate}}*100 |
| FPOOrderEntry.FTaxNetPrice | 净价 | string | |
| FPOOrderEntry.FEntryAmount | 金额 | string | |
| FPOOrderEntry.FAllAmount | 价税合计 | string | |
| FPOOrderEntry.FEntryNote | 备注 | string | |
| FPOOrderEntry.FTaxPrice | 含税单价 | string | {{details.purPrice}} |
| FPOOrderEntry.FEntryTaxAmount | 税额 | string | |
| FPOOrderEntry.FRowCost | 行费用 | string | |
| FPOOrderEntry.FDeliveryDate | 交货日期 | string | {{details.reqDate}} |
| FPOOrderEntry.FMtoNo | 计划跟踪号 | string | {{details.bomNo}} |
| FPOOrderEntry.FGiveAway | 是否赠品 | string | _function case '{{details.ifFreebie}}' when '0' then 'true' when '1' then 'false' end |
| FPOOrderEntry.F_lyzx_Text4 | 模件号 | string | {{details.patterNo}} |
| FPOOrderEntry.F_lyzx_Text5 | 阶段 | string | {{details.stage}} |
| FPOOrderEntry.F_lyzx_Text6 | 客户订单号 | string | {{details.customerOrderNo}} |
| FPOOrderEntry.F_lyzx_Text7 | 紧急需求单号 | string | {{details.urgentNeedNo}} |
| FPOOrderEntry.F_lyzx_Text8 | 发包单号 | string | {{details.bomContractNo}} |
| FPOOrderEntry.F_lyzx_Text9 | 工令单号 | string | {{details.workNo}} |
| FPOOrderEntry.F_lyzx_Text10 | 收货城市 | string | {{details.shipmentPlace}} |
| FPOOrderEntry.F_lyzx_Text3 | 订单类型 | string | _function case '{{details.orderType}}' when '1' then '客户订单' when '2' then '备货订单' when '3' then '异常订单' when '10' then '返修订单' when '11' then '无po订单' when '13' then '备货转销售订单' when '14' then '售后维修' when '12' then '免费打样' end |
| FPOOrderEntry.F_lyzx_Text13 | 下料尺寸 | string | {{details.rawSpec}} |
| FPOOrderEntry.F_UZMJ_Text | 四化明细行id | string | {{details.purRecordDetailUuid}} |
| FPOOrderEntry.F_UZMJ_Text42 | 采购申请人 | string | {{details.createName}} |
| FPOOrderEntry.F_sh_id | 四化采购订单id | string | {{purRecordUuid}} |
| FPOOrderEntry.F_UZMJ_Text18 | 是否核对 | string | 否 |
| FPOOrderEntry.F_UZMJ_Text50 | MES订单类型 | string | 其他采购 |
| FPOOrderEntry.FormId | 业务对象表单Id | string | PUR_PurchaseOrder |
| FPOOrderEntry.Operation | 执行的操作 | string | BatchSave |
| FPOOrderEntry.IsAutoSubmitAndAudit | 提交并审核 | bool | true |
| FPOOrderEntry.IsVerifyBaseDataField | 验证基础资料 | bool | true |
系统打通概况
可视化配置,即便是普通业务人员也可以快速轻松对接多个平台,解决企业面临的数据孤岛,数据混乱等问题,实现数据可见、可用、可运营。进行统一化,模块化,标准化的服务能力和输出,实现对业务端数据需求的精准满足和高效响应,也可以在业务数据需求的不断增加下,让企业有整套的可复用的api资产以更换,支持业务的正常运转,节省开发成本。在不同的着重点和应用上解决数据共享,实现平台之间的独立管理。

