从四化智造MES(WEB)到金蝶云星空通过接口集成数据

源系统:四化智造MES(WEB)
MES系统是集成生产管理、品质管理、设备管理、BI数据中心、库存管理、工时管理、数据采集、看板管理等为一体的综合性生产管理系统。通过强调制造过程的透明化,帮助企业由粗放式向精益化管理模式升级。
接通系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
配置集成方案
在轻易云平台进行集成方案的配置时,为了实现快速搭建,轻易云平台还提供了现有的市场方案进行复制参考。用户可以在创建集成方案的时候在第四步选择引用市场方案,参考市场主流所进行的字段配置完成集成方案的自定义化快速配置,即便是第一次使用轻易云平台的用户也能轻松搭建属于自己的数据同步方案。向导式配置,让配置更加清晰,首先确定该方方案的对接内容,第二歩获取筛选数据源平台的数据,第三步数据源与写入目标形成映射关系配置。完成配置后一键启用

四化智造MES(WEB)接口明细
- 接口:mbs/pur/record/purDetailList
- 接口名称:原材料/标准件采购查询(待采购)
- 接口方法:GET
请求参数
| 字段 | 名称 | 类型 | 描述 |
| pageNum | 页码 | string | 页码 |
| pageSize | 页数 | string | 页数 |
| BeginTime | 开始时间 | string | 开始时间 |
| EndTime | 结束时间 | string | 结束时间 |
| purType | 采购类型 | string | 1:标准件2:委外 3:原材料 |
| updateTime | 更新时间 | string | |
| purStatus | 订单状态 | string | 2:已审核;5:已接收;9:已完成; |
响应参数
| 字段 | 名称 | 类型 | 描述 |
| 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 |
金蝶云星空接口明细
- API:batchSave
- NAME:采购订单新增
- METHOD:POST
请求参数
| 接口字段 | 字段名称 | 预设值 | 描述 |
| FBillNo | 单据编号 | {{purNo}} | |
| FDate | 采购日期 | {{createTime}} | |
| FPurchaseOrgId | 采购组织 | 1 | |
| FSupplierId | 供应商 | {{supplierUuid}} | |
| FPurchaserGroupId | 采购组 | | |
| FPurchaserId | 采购员 | | |
| FBillTypeID | 单据类型 | ZZJPO | |
| FBusinessType | 业务类型 | CG | |
| FPOOrderEntry | 明细信息 | details | |
| FPOOrderEntry.FMaterialId | 物料编码 | {{details.partNo}} | |
| FPOOrderEntry.FQty | 采购数量 | {{details.purchaseNum}} | |
| FPOOrderEntry.FPrice | 单价 | {{details.untaxedPrice}} | |
| FPOOrderEntry.FEntryDiscountRate | 折扣率% | | |
| FPOOrderEntry.FEntryTaxRate | 税率% | function {{details.taxRate}}*100 | |
| FPOOrderEntry.FTaxNetPrice | 净价 | | |
| FPOOrderEntry.FEntryAmount | 金额 | | |
| FPOOrderEntry.FAllAmount | 价税合计 | | |
| FPOOrderEntry.FEntryNote | 备注 | | |
| FPOOrderEntry.FTaxPrice | 含税单价 | {{details.purPrice}} | |
| FPOOrderEntry.FEntryTaxAmount | 税额 | | |
| FPOOrderEntry.FRowCost | 行费用 | | |
| FPOOrderEntry.FDeliveryDate | 交货日期 | {{details.reqDate}} | |
| FPOOrderEntry.FMtoNo | 计划跟踪号 | {{details.bomNo}} | |
| FPOOrderEntry.FGiveAway | 是否赠品 | _function case '{{details.ifFreebie}}' when '0' then 'true' when '1' then 'false' end | true false |
| FPOOrderEntry.F_lyzx_Text4 | 模件号 | {{details.patterNo}} | |
| FPOOrderEntry.F_lyzx_Text5 | 阶段 | {{details.stage}} | |
| FPOOrderEntry.F_lyzx_Text6 | 客户订单号 | {{details.customerOrderNo}} | |
| FPOOrderEntry.F_lyzx_Text7 | 紧急需求单号 | {{details.urgentNeedNo}} | |
| FPOOrderEntry.F_lyzx_Text8 | 发包单号 | {{details.bomContractNo}} | |
| FPOOrderEntry.F_lyzx_Text9 | 工令单号 | {{details.workNo}} | |
| FPOOrderEntry.F_lyzx_Text10 | 收货城市 | {{details.shipmentPlace}} | |
| FPOOrderEntry.F_lyzx_Text3 | 订单类型 | _function case '{{details.orderType}}' when '11' then '无PO订单' when '1' then '客户订单' when '2' then '备货订单' when '10' then '返修订单' when '12' then '免费打样' when '3' then '异常订单' when '13' then '备货转销售订单' when '14' then '售后维修' when '18' then '直接出库订单' when '22' then '转换订单A' when '23' then '转换订单B' when '24' then '紧急订单' end | |
| FPOOrderEntry.F_lyzx_Text13 | 下料尺寸 | {{details.rawSpec}} | |
| FPOOrderEntry.F_UZMJ_Text | 四化明细行id | {{details.purRecordDetailUuid}} | |
| FPOOrderEntry.F_UZMJ_Text42 | 采购申请人 | {{details.createName}} | |
| FPOOrderEntry.F_sh_id | 四化采购订单id | {{purRecordUuid}} | |
| FPOOrderEntry.F_UZMJ_Text18 | 是否核对 | 否 | |
| FPOOrderEntry.F_UZMJ_Text50 | MES订单类型 | 其他采购 | |
| FPOOrderEntry.FormId | 业务对象表单Id | PUR_PurchaseOrder | 必须填写金蝶的表单ID如😛UR_PurchaseOrder |
| FPOOrderEntry.Operation | 执行的操作 | BatchSave | |
| FPOOrderEntry.IsAutoSubmitAndAudit | 提交并审核 | true | |
| FPOOrderEntry.IsVerifyBaseDataField | 验证基础资料 | true | 是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
数据对接价值
可视化配置,即便是普通业务人员也可以快速轻松对接多个平台,解决企业面临的数据孤岛,数据混乱等问题,实现数据可见、可用、可运营。进行统一化,模块化,标准化的服务能力和输出,实现对业务端数据需求的精准满足和高效响应,也可以在业务数据需求的不断增加下,让企业有整套的可复用的api资产以更换,支持业务的正常运转,节省开发成本。在不同的着重点和应用上解决数据共享,实现平台之间的独立管理。


