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

源系统:四化智造MES(WEB)
“MES助力智能制造过程控制:MES管理生产订单的整个生产流程,通过对生产过程的所有突发事件实时监控,自动纠正生产过程中的错误或提供决策支持,以实现生产调度要求;在出现异常或与生产计划偏离太大时,及时反馈相关人员使其采取相应的措施。任务派工:MES在生产计划完成后,自动生成任务派工单,根据生产设备实际加工能力的变化,制定并优化生产的具体过程及各设备的详细操作顺序
接入系统:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
接口方案配置
通过可视化界面的拖、拉、拽即可轻松快速构建数据集成流程,将四化智造MES(WEB)、金蝶云星空之间接口数据联通,支持数据在线预览、数据集成流程全过程调试,Web界面追踪调试日志等功能。 平台兼具实时数据处理和数据集成分发功能,用户通过可视化的拖、拽即可完成数据处理逻辑,将数据加工处理后分发到下游业务系统或其他异构存储中。

四化智造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 |
金蝶云星空接口明细
- 调用接口: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 '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 | 下料尺寸 | 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、自动化流程等开箱即用的数据服务。配置接口的模式对接四化智造MES(WEB)和金蝶云星空,使得单据无缝互通。打造企业内部数据一体化,让企业日常运营管理实现敏捷数据化运营。实现供应链业务信息流的互通,同时支持供应链数据分析流程自动化,结果推送,推进相关供应链问题优化。及时打通供应链孤岛,实现数据驱动供应链协同,进一步提升企业竞争力。
