从四化智造MES(WEB)到金蝶云星空通过接口配置打通数据
对接系统四化智造MES(WEB)
MES系统是集成生产管理、品质管理、设备管理、BI数据中心、库存管理、工时管理、数据采集、看板管理等为一体的综合性生产管理系统。通过强调制造过程的透明化,帮助企业由粗放式向精益化管理模式升级。
写入目标:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
接口方案配置
系统对接前期需要通过调研公司的业务,规划出最便捷,效率最高的整体流程。通过流程我们需要建立对应的方案来吧这些流程一一的落地,轻易云集成平台开箱即用的、可视化拖、拉、拽实现接口服务编排与聚合。只需要根据指引设定好对应的参数即可启动使用。设定好源平台:四化智造MES(WEB)的接口参数设置,以及设定好目标平台:金蝶云星空的映射,即可启动方案进行测试
四化智造MES(WEB)接口明细
- API:mbs/pur/record/purDetailList
- NAME:原材料/标准件采购查询(待采购)
- METHOD:GET
请求参数
| 接口字段 | 字段名称 | 预设值 | 描述 |
|---|---|---|---|
| pageNum | 页码 | 1 | 页码 |
| pageSize | 页数 | 100 | 页数 |
| BeginTime | 开始时间 | {{LAST_SYNC_TIME datetime}} | 开始时间 |
| EndTime | 结束时间 | {{CURRENT_TIME datetime}} | 结束时间 |
| purType | 采购类型 | 1 | 1:标准件2:委外 3:原材料 |
| updateTime | 更新时间 | ||
| filtrationBomStatus | 显示与影藏 | 1 |
响应参数
| 接口字段 | 字段名称 | 预设值 | 描述 |
|---|---|---|---|
| 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 | |
| purNo | 采购订单号 |
金蝶云星空接口明细
- 接口:batchSave
- 接口名称:采购订单新增
- 接口方法:POST
请求参数
| 字段 | 名称 | 类型 | 描述 |
|---|---|---|---|
| FBillNo | 单据编号 | string | |
| FDate | 采购日期 | string | |
| FPurchaseOrgId | 采购组织 | string | |
| FSupplierId | 供应商 | string | |
| FPurchaserGroupId | 采购组 | string | |
| FPurchaserId | 采购员 | string | |
| FBillTypeID | 单据类型 | string | |
| FBusinessType | 业务类型 | string | |
| FPOOrderEntry | 明细信息 | array | |
| FPOOrderEntry.FMaterialId | 物料编码 | string | |
| FPOOrderEntry.FQty | 采购数量 | string | |
| FPOOrderEntry.FEntryDiscountRate | 折扣率% | string | |
| FPOOrderEntry.FEntryTaxRate | 税率% | string | |
| FPOOrderEntry.FTaxNetPrice | 净价 | string | |
| FPOOrderEntry.FEntryAmount | 金额 | string | |
| FPOOrderEntry.FAllAmount | 价税合计 | string | |
| FPOOrderEntry.FEntryNote | 备注 | string | |
| FPOOrderEntry.FTaxPrice | 含税单价 | string | |
| FPOOrderEntry.FEntryTaxAmount | 税额 | string | |
| FPOOrderEntry.FRowCost | 行费用 | string | |
| FPOOrderEntry.FDeliveryDate | 交货日期 | string | |
| FPOOrderEntry.FMtoNo | 计划跟踪号 | string | |
| FPOOrderEntry.FGiveAway | 是否赠品 | string | true false |
| FPOOrderEntry.F_lyzx_Text4 | 模件号 | string | |
| FPOOrderEntry.F_lyzx_Text5 | 阶段 | string | |
| FPOOrderEntry.F_lyzx_Text6 | 客户订单号 | string | |
| FPOOrderEntry.F_lyzx_Text7 | 紧急需求单号 | string | |
| FPOOrderEntry.F_lyzx_Text8 | 发包单号 | string | |
| FPOOrderEntry.F_lyzx_Text9 | 工令单号 | string | |
| FPOOrderEntry.F_lyzx_Text10 | 收货城市 | string | |
| FPOOrderEntry.F_lyzx_Text3 | 订单类型 | string | |
| FPOOrderEntry.F_lyzx_Text13 | 下料尺寸 | string | |
| FPOOrderEntry.F_UZMJ_Text | 四化明细行id | string | |
| FPOOrderEntry.F_UZMJ_Text47 | 项目 | string | |
| FPOOrderEntry.F_UZMJ_Text8 | 订单号 | string | |
| FPOOrderEntry.F_UZMJ_Text1 | 专案 | string | |
| FPOOrderEntry.F_UZMJ_Text2 | 派工案号 | string | |
| FPOOrderEntry.F_UZMJ_Text17 | 件号 | string | |
| FPOOrderEntry.F_UZMJ_Text3 | 单据来源 | string | |
| FPOOrderEntry.F_UZMJ_Text16 | 回货状态 | string | |
| FPOOrderEntry.F_UZMJ_Text4 | 替换派工案号 | string | |
| FPOOrderEntry.F_UZMJ_Qty | 需求数 | string | |
| FPOOrderEntry.F_UZMJ_Text6 | 替换料号名称 | string | |
| FPOOrderEntry.F_UZMJ_Text5 | 是否替换料号 | string | |
| FPOOrderEntry.F_UZMJ_Qty1 | 用量比 | string | |
| FPOOrderEntry.F_UZMJ_Text26 | 条码 | string | |
| FPOOrderEntry.F_UZMJ_Text43 | 申请部门 | string | |
| FPOOrderEntry.F_UZMJ_Text42 | 采购申请人 | string | |
| FPOOrderEntry.F_UZMJ_Text15 | 业务备注 | string | |
| FPOOrderEntry.F_UZMJ_Text44 | 客户 | string | |
| FPOOrderEntry.F_UZMJ_Text9 | 请购单号 | string | |
| FPOOrderEntry.F_UZMJ_Text7 | 换算系数 | string | |
| FPOOrderEntry.F_UZMJ_Text10 | 产品编号 | string | |
| FPOOrderEntry.F_UZMJ_Text11 | 产品名称 | string | |
| FPOOrderEntry.F_UZMJ_Text12 | 加工图档路径 | string | |
| FPOOrderEntry.F_sh_id | 四化采购订单id | string | |
| FPOOrderEntry.F_UZMJ_Text18 | 是否核对 | string | |
| FPOOrderEntry.F_UZMJ_Text50 | MES订单类型 | string | |
| FPOOrderEntry.FormId | 业务对象表单Id | string | 必须填写金蝶的表单ID如 |
| FPOOrderEntry.Operation | 执行的操作 | string | |
| FPOOrderEntry.IsAutoSubmitAndAudit | 提交并审核 | bool | |
| FPOOrderEntry.IsVerifyBaseDataField | 验证基础资料 | bool | 是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
系统对接概况
全面支持数据集成操作可视化、拖拽流式开发,无代码完成多套异构系统集成,降低使用门槛,提升交付速度。特别是在面向四化智造MES(WEB)、金蝶云星空间API接口集成时,通过对API的设计、创建、测试、部署、集成、管理、运维、下线等全生命周期管理,帮助企业洞察运营状况,进一步优化流程,提高企业商业价值。基于Web图形界面,通过拖拽、连接、配置完成流程设计,数据整合和集成,高效打通业务系统,通过面向运营的统计报表,直观查看API各项指标,实现对全局和项目层级双维度的监控管理。再通过轻易云数据集成中台通过统一门户注册管理,将业务以API的方式对外开放,实现业务创新、能力输出。