四化智造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)和金蝶云星空,使得单据无缝互通。打造企业内部数据一体化,让企业日常运营管理实现敏捷数据化运营。实现供应链业务信息流的互通,同时支持供应链数据分析流程自动化,结果推送,推进相关供应链问题优化。及时打通供应链孤岛,实现数据驱动供应链协同,进一步提升企业竞争力。
