四化智造MES(WEB)与金蝶云星空对接集成原材料/标准件采购查询(待采购)打通采购订单新增

对接源平台:四化智造MES(WEB)
“MES助力智能制造过程控制:MES管理生产订单的整个生产流程,通过对生产过程的所有突发事件实时监控,自动纠正生产过程中的错误或提供决策支持,以实现生产调度要求;在出现异常或与生产计划偏离太大时,及时反馈相关人员使其采取相应的措施。任务派工:MES在生产计划完成后,自动生成任务派工单,根据生产设备实际加工能力的变化,制定并优化生产的具体过程及各设备的详细操作顺序
接通系统:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
接口方案配置
系统对接前期需要通过调研公司的业务,规划出最便捷,效率最高的整体流程。通过流程我们需要建立对应的方案来吧这些流程一一的落地,轻易云集成平台开箱即用的、可视化拖、拉、拽实现接口服务编排与聚合。只需要根据指引设定好对应的参数即可启动使用。设定好源平台:四化智造MES(WEB)的接口参数设置,以及设定好目标平台:金蝶云星空的映射,即可启动方案进行测试系统数据集成平台更加专注于数据集成与流程自动化的应用连接器,通过自研引擎,与各个平台或者服务完成对接,从而打通数据孤岛,实现数据的跨系统自由流转,让数据真正成为企业的核心生产力。

四化智造MES(WEB)接口明细
- 接口:mbs/pur/record/purDetailList
- 接口名称:原材料/标准件采购查询(待采购)
- 接口方法:GET
请求参数
字段 | 名称 | 类型 |
pageSize | 页数 | string |
purType | 采购类型 | string |
EndTime | 结束时间 | string |
BeginTime | 开始时间 | string |
pageNum | 页码 | string |
updateTime | 更新时间 | string |
响应参数
字段 | 名称 | 类型 | 描述 |
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 |
金蝶云星空接口明细
- API:batchSave
- NAME:采购订单新增
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
FBillNo | 单据编号 | {{purNo}} |
FDate | 采购日期 | {{createTime}} |
FPurchaseOrgId | 采购组织 | 1 |
FSupplierId | 供应商 | {{supplierUuid}} |
FPurchaserGroupId | 采购组 | |
FPurchaserId | 采购员 | |
FBillTypeID | 单据类型 | ZZJPO |
FBusinessType | 业务类型 | CG |
FPOOrderEntry | 明细信息 | details |
FPOOrderEntry.FMaterialId | 物料编码 | {{details.partNo}} |
FPOOrderEntry.FQty | 采购数量 | {{details.purchaseNum}} |
FPOOrderEntry.FPrice | 单价 | {{details.untaxedPrice}} |
FPOOrderEntry.FEntryDiscountRate | 折扣率% | |
FPOOrderEntry.FEntryTaxRate | 税率% | function {{details.taxRate}}*100 |
FPOOrderEntry.FTaxNetPrice | 净价 | |
FPOOrderEntry.FEntryAmount | 金额 | |
FPOOrderEntry.FAllAmount | 价税合计 | |
FPOOrderEntry.FEntryNote | 备注 | |
FPOOrderEntry.FTaxPrice | 含税单价 | {{details.purPrice}} |
FPOOrderEntry.FEntryTaxAmount | 税额 | |
FPOOrderEntry.FRowCost | 行费用 | |
FPOOrderEntry.FDeliveryDate | 交货日期 | {{details.reqDate}} |
FPOOrderEntry.FMtoNo | 计划跟踪号 | {{details.bomNo}} |
FPOOrderEntry.FGiveAway | 是否赠品 | _function case '{{details.ifFreebie}}' when '0' then 'true' when '1' then 'false' end |
FPOOrderEntry.F_lyzx_Text4 | 模件号 | {{details.patterNo}} |
FPOOrderEntry.F_lyzx_Text5 | 阶段 | {{details.stage}} |
FPOOrderEntry.F_lyzx_Text6 | 客户订单号 | {{details.customerOrderNo}} |
FPOOrderEntry.F_lyzx_Text7 | 紧急需求单号 | {{details.urgentNeedNo}} |
FPOOrderEntry.F_lyzx_Text8 | 发包单号 | {{details.bomContractNo}} |
FPOOrderEntry.F_lyzx_Text9 | 工令单号 | {{details.workNo}} |
FPOOrderEntry.F_lyzx_Text10 | 收货城市 | {{details.shipmentPlace}} |
FPOOrderEntry.F_lyzx_Text3 | 订单类型 | _function case '{{details.orderType}}' when '1' then '客户订单' when '2' then '备货订单' when '3' then '异常订单' when '10' then '返修订单' when '11' then '无po订单' when '13' then '备货转销售订单' when '14' then '售后维修' when '12' then '免费打样' end |
FPOOrderEntry.F_lyzx_Text13 | 下料尺寸 | {{details.rawSpec}} |
FPOOrderEntry.F_UZMJ_Text | 四化明细行id | {{details.purRecordDetailUuid}} |
FPOOrderEntry.F_UZMJ_Text42 | 采购申请人 | {{details.createName}} |
FPOOrderEntry.F_sh_id | 四化采购订单id | {{purRecordUuid}} |
FPOOrderEntry.F_UZMJ_Text18 | 是否核对 | 否 |
FPOOrderEntry.F_UZMJ_Text50 | MES订单类型 | 其他采购 |
FPOOrderEntry.FormId | 业务对象表单Id | PUR_PurchaseOrder |
FPOOrderEntry.Operation | 执行的操作 | BatchSave |
FPOOrderEntry.IsAutoSubmitAndAudit | 提交并审核 | true |
FPOOrderEntry.IsVerifyBaseDataField | 验证基础资料 | true |
系统对接概况
当企业规模逐渐增大时,作为支撑业务运营的IT建设也变得越来越重要,不过往往企业的IT建设过程中会发现某一家软件供应商基本不能完全覆盖企业所有的业务运营流程,这样的结果就是,企业上的IT系统很多很全,从ERP到HR、CRM、PDM、OA等,貌似所有的业务都覆盖到了,但实际上因为这些系统的不集成,而形成了企业很多新的信息孤岛,非常不利于企业的后续的管理和战略发展。从现今和往后的发展趋势来看,也不可避免会遇到上述问题,毕竟企业经营的多样化,并不是所有的业务都能在一个系统中完成,所以我们必须在产品架构上支持更好的与外部系统进行协同。通过轻易云集成平台统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。
