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

155 阅读6分钟

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

企业微信与ERP对接

接通系统:四化智造MES(WEB)

MES系统是集成生产管理、品质管理、设备管理、BI数据中心、库存管理、工时管理、数据采集、看板管理等为一体的综合性生产管理系统。通过强调制造过程的透明化,帮助企业由粗放式向精益化管理模式升级。

写入目标:金蝶云星空

金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。

接口方案配置

数据集成平台对应的配置四化智造MES(WEB)与金蝶云星空的对接只要三步就能完成两个系统之间的数据对接。第一步根据四化智造MES(WEB)的接口参数要求记录在轻易云集成平台。第二步配置四化智造MES(WEB)与金蝶云星空之间的字段对应关系(更多方案可借鉴轻易云数据集成社区论坛中找到相关方案信息)第三步完成方案的检查参数设置:传递时间、重试次数、是否启动、前置条件等上线运行。 钉钉与ERP集成

四化智造MES(WEB)接口明细

  • 接口:mbs/pur/record/purDetailList
  • 接口名称:原材料/标准件采购查询(待采购)
  • 接口方法:GET

请求参数

字段名称类型描述
pageNum页码string页码
pageSize页数string页数
BeginTime开始时间string开始时间
EndTime结束时间string结束时间
purType采购类型string1:标准件2:委外 3:原材料
updateTime更新时间string
filtrationBomStatus显示与影藏string

响应参数

字段名称类型描述
mchIdmchIdstring_autoFillResponse
createBycreateBystring_autoFillResponse
createNamecreateNamestring_autoFillResponse
checkLabelcheckLabelstring_autoFillResponse
createTimecreateTimestring_autoFillResponse
updateByupdateBystring_autoFillResponse
updateNameupdateNamestring_autoFillResponse
updateTimeupdateTimestring_autoFillResponse
remarkremarkstring_autoFillResponse
companyCodecompanyCodestring_autoFillResponse
currentUserBycurrentUserBystring_autoFillResponse
currentUserNamecurrentUserNamestring_autoFillResponse
currentTimecurrentTimestring_autoFillResponse
filtrationBomStatusfiltrationBomStatusstring_autoFillResponse
ididstring_autoFillResponse
recordIdrecordIdstring_autoFillResponse
detailIddetailIdstring_autoFillResponse
purIdpurIdstring_autoFillResponse
coefficientcoefficientstring_autoFillResponse
haveDeliveryNumhaveDeliveryNumstring_autoFillResponse
supplierUuidsupplierUuidstring_autoFillResponse
patterNopatterNostring_autoFillResponse
customerDeliveryDatecustomerDeliveryDatestring_autoFillResponse
supplierNamesupplierNamestring_autoFillResponse
supplierFullNamesupplierFullNamestring_autoFillResponse
purRecordUuidpurRecordUuidstring_autoFillResponse
purRecordDetailUuidpurRecordDetailUuidstring_autoFillResponse
purTaskUuidpurTaskUuidstring_autoFillResponse
takeApartDetailUuidtakeApartDetailUuidstring_autoFillResponse
orderUuidorderUuidstring_autoFillResponse
bomUuidbomUuidstring_autoFillResponse
planBomUuidplanBomUuidstring_autoFillResponse
partNopartNostring_autoFillResponse
processNameprocessNamestring_autoFillResponse
gradeNamegradeNamestring_autoFillResponse
picNopicNostring_autoFillResponse
qualityqualitystring_autoFillResponse
purTypepurTypestring_autoFillResponse
outsourcedTypeoutsourcedTypestring_autoFillResponse
outProcessCodeoutProcessCodestring_autoFillResponse
heatTreatmentheatTreatmentstring_autoFillResponse
bomNobomNostring_autoFillResponse
keyNokeyNostring_autoFillResponse
locationCodelocationCodestring_autoFillResponse
barcodebarcodestring_autoFillResponse
purchaseNumpurchaseNumstring_autoFillResponse
purPricepurPricestring_autoFillResponse
purTotalPricepurTotalPricestring_autoFillResponse
reqDatereqDatestring_autoFillResponse
productUuidproductUuidstring_autoFillResponse
outsourcedWayoutsourcedWaystring_autoFillResponse
outsourcedWayListoutsourcedWayListstring_autoFillResponse
locationUuidlocationUuidstring_autoFillResponse
stockNumstockNumstring_autoFillResponse
deliveryDatedeliveryDatestring_autoFillResponse
reqNoreqNostring_autoFillResponse
deptNamedeptNamestring_autoFillResponse
totalDemandNumtotalDemandNumstring_autoFillResponse
productNoproductNostring_autoFillResponse
productNameproductNamestring_autoFillResponse
orderNoorderNostring_autoFillResponse
orderTypeorderTypestring_autoFillResponse
customerNamecustomerNamestring_autoFillResponse
projectCodeprojectCodestring_autoFillResponse
purNopurNostring_autoFillResponse
purReasonpurReasonstring_autoFillResponse
purStatuspurStatusstring_autoFillResponse
backStatusbackStatusstring_autoFillResponse
customerOrderNocustomerOrderNostring_autoFillResponse
deptIddeptIdstring_autoFillResponse
receiveByreceiveBystring_autoFillResponse
receiveTimereceiveTimestring_autoFillResponse
receiveNamereceiveNamestring_autoFillResponse
takeApartTypetakeApartTypestring_autoFillResponse
specspecstring_autoFillResponse
brandbrandstring_autoFillResponse
materialInfoNomaterialInfoNostring_autoFillResponse
craftIdcraftIdstring_autoFillResponse
rawPurchaseWeightrawPurchaseWeightstring_autoFillResponse
rawMaterialInfoNorawMaterialInfoNostring_autoFillResponse
purTaskTypepurTaskTypestring_autoFillResponse
ifMoldifMoldstring_autoFillResponse
taxPricetaxPricestring_autoFillResponse
taxTotalPricetaxTotalPricestring_autoFillResponse
untaxedPriceuntaxedPricestring_autoFillResponse
untaxedTotalPriceuntaxedTotalPricestring_autoFillResponse
taxRatetaxRatestring_autoFillResponse
customerPartNocustomerPartNostring_autoFillResponse
stockTimestockTimestring_autoFillResponse
purchaseUnitNopurchaseUnitNostring_autoFillResponse
purchaseUnitNamepurchaseUnitNamestring_autoFillResponse
returnsNumberreturnsNumberstring_autoFillResponse
replaceModeNoreplaceModeNostring_autoFillResponse
secondPurTypesecondPurTypestring_autoFillResponse
isSecondPurisSecondPurstring_autoFillResponse
checkedNumcheckedNumstring_autoFillResponse
processingFeeprocessingFeestring_autoFillResponse
itemCategoryitemCategorystring_autoFillResponse
stagestagestring_autoFillResponse
projectNameprojectNamestring_autoFillResponse
rawMaterialInforawMaterialInfostring_autoFillResponse
rawPartNorawPartNostring_autoFillResponse
rawGradeNamerawGradeNamestring_autoFillResponse
rawSpecrawSpecstring_autoFillResponse
rawBrandrawBrandstring_autoFillResponse
rawQualityrawQualitystring_autoFillResponse
rawQuantityrawQuantitystring_autoFillResponse
nuclearPriceTaskUuidnuclearPriceTaskUuidstring_autoFillResponse
detailBackStatusdetailBackStatusstring_autoFillResponse
unitNameunitNamestring_autoFillResponse
processingTypeprocessingTypestring_autoFillResponse
beginReqDatebeginReqDatestring_autoFillResponse
endReqDateendReqDatestring_autoFillResponse
beginReceiveTimebeginReceiveTimestring_autoFillResponse
endReceiveTimeendReceiveTimestring_autoFillResponse
beginReplyTimebeginReplyTimestring_autoFillResponse
endReplyTimeendReplyTimestring_autoFillResponse
isAbnormalisAbnormalstring_autoFillResponse
bomVersionbomVersionstring_autoFillResponse
orderNumorderNumstring_autoFillResponse
workNoworkNostring_autoFillResponse
bomContractNobomContractNostring_autoFillResponse
urgentNeedNourgentNeedNostring_autoFillResponse
bomRemarkbomRemarkstring_autoFillResponse
distributeNumdistributeNumstring_autoFillResponse
distributeDatedistributeDatestring_autoFillResponse
purRevokeUuidpurRevokeUuidstring_autoFillResponse
businessUuidbusinessUuidstring_autoFillResponse
filePathfilePathstring_autoFillResponse
fileNamefileNamestring_autoFillResponse
fileSuffixfileSuffixstring_autoFillResponse
fileName2dfileName2dstring_autoFillResponse
filePath2dfilePath2dstring_autoFillResponse
fileName3dfileName3dstring_autoFillResponse
filePath3dfilePath3dstring_autoFillResponse
changeRemarkchangeRemarkstring_autoFillResponse
changeColorchangeColorstring_autoFillResponse
invTypeNameinvTypeNamestring_autoFillResponse
rawUnitNamerawUnitNamestring_autoFillResponse
bomStatusbomStatusstring_autoFillResponse
bomClosebomClosestring_autoFillResponse
shipmentPlaceshipmentPlacestring_autoFillResponse
realNamerealNamestring_autoFillResponse
procuredNumprocuredNumstring_autoFillResponse
taskPurTypetaskPurTypestring_autoFillResponse
moldNomoldNostring_autoFillResponse
purCreateNamepurCreateNamestring_autoFillResponse
uploadFileTimeuploadFileTimestring_autoFillResponse
replyTimereplyTimestring_autoFillResponse
beginPurchaseTimebeginPurchaseTimestring_autoFillResponse
endPurchaseTimeendPurchaseTimestring_autoFillResponse
dispatchNodispatchNostring_autoFillResponse
orderGradeNameorderGradeNamestring_autoFillResponse
orderPartNoorderPartNostring_autoFillResponse
parentMaterialInfoNoparentMaterialInfoNostring_autoFillResponse
closeReasoncloseReasonstring_autoFillResponse
closeUsercloseUserstring_autoFillResponse
closeTimecloseTimestring_autoFillResponse
revokeReasonrevokeReasonstring_autoFillResponse
revokeNamerevokeNamestring_autoFillResponse
revokeTimerevokeTimestring_autoFillResponse
detailStatusdetailStatusstring_autoFillResponse
customerAndUrgentcustomerAndUrgentstring_autoFillResponse
orderNoBomorderNoBomstring_autoFillResponse
singleSetNumsingleSetNumstring_autoFillResponse
receiveNumreceiveNumstring_autoFillResponse
minPurchaseNumminPurchaseNumstring_autoFillResponse
purRecordDetailUuid四化明细行idstring

金蝶云星空接口明细

  • API:batchSave
  • NAME:采购订单新增
  • METHOD:POST

请求参数

接口字段字段名称预设值描述
FBillNo单据编号{{purNo}}
FDate采购日期2023-01-01
FPurchaseOrgId采购组织1
FSupplierId供应商{{supplierUuid}}
FPurchaserGroupId采购组
FPurchaserId采购员
FBillTypeID单据类型ZZJPO
FBusinessType业务类型CG
FPOOrderEntry明细信息details
FPOOrderEntry.FMaterialId物料编码{{details.partNo}}
FPOOrderEntry.FQty采购数量{{details.purchaseNum}}
FPOOrderEntry.FEntryDiscountRate折扣率%
FPOOrderEntry.FEntryTaxRate税率%_function {{details.taxRate}}*100
FPOOrderEntry.FTaxNetPrice净价
FPOOrderEntry.FEntryAmount金额
FPOOrderEntry.FAllAmount价税合计
FPOOrderEntry.FEntryNote备注
FPOOrderEntry.FTaxPrice含税单价_function case '{{details.purPrice}}' when '0' then '0.01' else '{{details.purPrice}}' end
FPOOrderEntry.FEntryTaxAmount税额
FPOOrderEntry.FRowCost行费用
FPOOrderEntry.FDeliveryDate交货日期2023-01-01
FPOOrderEntry.FMtoNo计划跟踪号{{details.bomNo}}
FPOOrderEntry.FGiveAway是否赠品_function case '{{details.ifFreebie}}' when '0' then 'true' when '1' then 'false' endtrue false
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_UZMJ_Text四化明细行id{{details.purRecordDetailUuid}}
FPOOrderEntry.F_UZMJ_Text8订单号{{details.orderNo}}
FPOOrderEntry.F_UZMJ_Text1专案{{details.projectName}}
FPOOrderEntry.F_UZMJ_Text2派工案号{{details.bomNo}}
FPOOrderEntry.F_UZMJ_Text17件号{{details.picNo}}
FPOOrderEntry.F_UZMJ_Text16回货状态_function case '{{details.detailBackStatus}}' when '1' then '未回货' when '2' then '部分回货' when '3' then '已回货' when '4' then '已送货' end
FPOOrderEntry.F_UZMJ_Text26条码{{details.barcode}}
FPOOrderEntry.F_UZMJ_Text15业务备注{{details.bomRemark}}
FPOOrderEntry.F_UZMJ_Text44客户{{details.customerName}}
FPOOrderEntry.F_UZMJ_Text13模号版次{{details.bomVersion}}
FPOOrderEntry.F_UZMJ_Date3客户交期{{details.customerDeliveryDate}}
FPOOrderEntry.F_UZMJ_Date2整套交期
FPOOrderEntry.F_UZMJ_Date4分配时间{{details.distributeDate}}
FPOOrderEntry.F_UZMJ_Text14加工类型整套
FPOOrderEntry.F_UZMJ_Qty7分配数{{details.distributeNum}}
FPOOrderEntry.F_UZMJ_Text11产品名称{{details.gradeName}}
FPOOrderEntry.F_UZMJ_Text42采购申请人{{details.createName}}
FPOOrderEntry.F_sh_id四化采购订单id{{purRecordUuid}}
FPOOrderEntry.F_UZMJ_Text18是否核对
FPOOrderEntry.F_UZMJ_Text50MES订单类型整套采购
FPOOrderEntry.FormId业务对象表单IdPUR_PurchaseOrder必须填写金蝶的表单ID如:PUR_PurchaseOrder
FPOOrderEntry.Operation执行的操作BatchSave
FPOOrderEntry.IsAutoSubmitAndAudit提交并审核true
FPOOrderEntry.IsVerifyBaseDataField验证基础资料true是否验证所有的基础资料有效性,布尔类,默认false(非必录)

系统集成总览

通过轻易云集成平台系列产品线可以协助企业轻易快捷的构建基于微服务架构的新一代企业服务总线,传统基于SOA架构的ESB产品主要解决的数据集成和协议转换等基础功能,已完全不能满足基于微服务架构、混合云集成架构、跨组织、跨单位的总线解决方案。 而轻易云集成平台的每个产品线都是新一代的按照最新的互联网架构模式进行研发的产品线,能快速协助企业从传统的SOA架构转向微服务架构的服务总线解决方案。 旺店通对接 旺店通与金蝶打通 跨境电商与ERP打通