金蝶云星空与四化智造MES(WEB)对接集成原材料/标准件采购查询(待采购)连通采购订单新增(委外采购订单行关闭-run)

对接系统:四化智造MES(WEB)
“MES助力智能制造过程控制:MES管理生产订单的整个生产流程,通过对生产过程的所有突发事件实时监控,自动纠正生产过程中的错误或提供决策支持,以实现生产调度要求;在出现异常或与生产计划偏离太大时,及时反馈相关人员使其采取相应的措施。任务派工:MES在生产计划完成后,自动生成任务派工单,根据生产设备实际加工能力的变化,制定并优化生产的具体过程及各设备的详细操作顺序
对接系统:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
数据集成方案配置
使用系统数据集成平台对应的模块:数据集成方案。然后选择开始创建数据集成方案。在方案配置表单中选择对应的源业务系统:四化智造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 | 采购类型 | 2 | 1:标准件2:委外 3:原材料 |
filtrationBomStatus | 显示与影藏 | | |
detailStatus | detailStatus | 3 | |
响应参数
接口字段 | 字段名称 | 预设值 | 描述 |
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 |
金蝶云星空接口明细
- API:ExcuteOperation
- NAME:采购订单新增
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
Numbers | 编码集合 | {{purNo}} | |
Ids | id集合 | findCollection find FID from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where FBillNo={{purNo}} F_UZMJ_Text={{purRecordDetailUuid}} | |
PkEntryIds | 单据内码与分录内码对应关系的集合 | | 单据内码与分录内码对应关系的集合 |
PkEntryIds.Id | 单据内码 | _findCollection find FID from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where FBillNo={{purNo}} F_UZMJ_Text={{purRecordDetailUuid}} | |
PkEntryIds.EntryIds | 分录内码 | _findCollection find FPOOrderEntry_FEntryId from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where FBillNo={{purNo}} F_UZMJ_Text={{purRecordDetailUuid}} | |
PkEntryIds.NetworkCtrl | 是否启用网控 | false | 布尔类型,默认false(非必录) |
PkEntryIds.IgnoreInterationFlag | 是否允许忽略交互 | false | 是否允许忽略交互,布尔类型,默认true(非必录) |
PkEntryIds.FormId | 业务对象表单Id | PUR_PurchaseOrder | 必须填写金蝶的表单ID如😛UR_PurchaseOrder |
PkEntryIds.Operation | 执行的操作 | Terminate | |
系统对接总览
将传统的统计分析转变为预测分析,从被动分析到主动分析,从非实时分析转变为实时分析,从结构化的数据变成多元化的数据。精准查询数据流同步状况,实时监管队列任务以及数据资产的有序管理。为业务赋能,降本增效,让企业能够更加合理的布局团队;结合业务需求实现与OA,CRM,WMS等系统之间的数据交流与同步,为企业定制自定义的数据管理方案,用技术拓展商业边界,为新业务、新部门提供成长空间。
