金蝶云星空和四化智造MES(WEB)单据接口对接

对接源平台:四化智造MES(WEB)
MES系统是集成生产管理、品质管理、设备管理、BI数据中心、库存管理、工时管理、数据采集、看板管理等为一体的综合性生产管理系统。通过强调制造过程的透明化,帮助企业由粗放式向精益化管理模式升级。
对接目标系统:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
数据对接方案
集成方案是整个轻易云集成平台的核心,每一个集成方案代表一种业务的对接策略(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息),用户可以根据业务的不同新建多个不同规则的集成方案。比如:采购订单同步,线上销售出库同步,线下销售出库同步。一个集成方案必须要配置源系统:四化智造MES(WEB),源系统 API:原材料/标准件采购查询(待采购),目标系统:金蝶云星空,目标系统 API采购订单新增。在新增集成方案之前需要确定两个系统的连接器都已经配置完成。

四化智造MES(WEB)接口明细
- 调用接口:mbs/pur/record/purDetailList
- 接口名称:原材料/标准件采购查询(待采购)
- 方法:GET
请求参数
| 字段 | 字段名称 | 类型 | 配置值 |
| pageNum | 页码 | string | 1 |
| pageSize | 页数 | string | 100 |
| BeginTime | 开始时间 | string | {{LAST_SYNC_TIME datetime}} |
| EndTime | 结束时间 | string | {{CURRENT_TIME datetime}} |
| purType | 采购类型 | string | 3 |
| filtrationBomStatus | 显示与影藏 | string | |
| detailStatus | detailStatus | string | 3 |
响应参数
| 字段 | 字段名称 | 类型 | 配置值 |
| 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 | |
金蝶云星空接口明细
- 调用接口:ExcuteOperation
- 接口名称:采购订单新增
- 方法:POST
请求参数
| 字段 | 字段名称 | 类型 | 配置值 |
| Numbers | 编码集合 | string | {{purNo}} |
| Ids | id集合 | string | findCollection find FID from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where FBillNo={{purNo}} F_UZMJ_Text={{purRecordDetailUuid}} |
| PkEntryIds | 单据内码与分录内码对应关系的集合 | array | |
| PkEntryIds.Id | 单据内码 | string | _findCollection find FID from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where FBillNo={{purNo}} F_UZMJ_Text={{purRecordDetailUuid}} |
| PkEntryIds.EntryIds | 分录内码 | string | _findCollection find FPOOrderEntry_FEntryId from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where FBillNo={{purNo}} F_UZMJ_Text={{purRecordDetailUuid}} |
| PkEntryIds.NetworkCtrl | 是否启用网控 | string | false |
| PkEntryIds.IgnoreInterationFlag | 是否允许忽略交互 | string | false |
| PkEntryIds.FormId | 业务对象表单Id | string | PUR_PurchaseOrder |
| PkEntryIds.Operation | 执行的操作 | string | Terminate |
系统对接总览
随着企业数字化业务的深入发展,对于企业的 IT 或者 CIO 来讲,正在面临一个愈发重要的问题——系统的结构太复杂了,尤其是头部企业,至少有十多套系统,这些系统之间的蛛网状的接口如果经常出问题。企业内部以及企业内部与外部建立起越来越多的业务应用系统,如何整合企业的现有IT资源,使企业中计算机孤岛式的应用向集体协作的方向发展,发挥资源效益的最大化,降低企业成本,正在逐渐成为企业关注的重要问题。用户希望企业内所有系统集成在一个平台上,操作统一,以节省培训时间。使用在轻易云应用集成平台 + MDM基础数据平台的解决方案中,轻易云应用集成平台负责实现异构、分布式系统之间互联互通,实现服务API治理以及数据传输交换。通过轻易云预置的各种适配器组件,连接现有各孤立应用系统,以图形化、拖拽方式构建集成流程和服务,提高应用系统集成工作效率,降低异构系统集成风险。针对未来可能出现的业务需求变更,在应用集成平台上进行动态调整,实现各应用系统之间的集成策略平滑升级。
