Qeasy Cloud
Get Started

四化智造MES(WEB)和金蝶云星空接口打通对接实战

1 comments

四化智造MES(WEB)和金蝶云星空接口打通对接实战

金蝶如何对接

对接系统四化智造MES(WEB)

“MES助力智能制造过程控制:MES管理生产订单的整个生产流程,通过对生产过程的所有突发事件实时监控,自动纠正生产过程中的错误或提供决策支持,以实现生产调度要求;在出现异常或与生产计划偏离太大时,及时反馈相关人员使其采取相应的措施。任务派工:MES在生产计划完成后,自动生成任务派工单,根据生产设备实际加工能力的变化,制定并优化生产的具体过程及各设备的详细操作顺序

写入目标:金蝶云星空

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

系统对接接口配置

集成方案是整个轻易云集成平台的核心,每一个集成方案代表一种业务的对接策略(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息),用户可以根据业务的不同新建多个不同规则的集成方案。比如:采购订单同步,线上销售出库同步,线下销售出库同步。一个集成方案必须要配置源系统:四化智造MES(WEB),源系统 API:余料入库查询(入库记录查询),目标系统:金蝶云星空,目标系统 API其他入库新增。在新增集成方案之前需要确定两个系统的连接器都已经配置完成。
OA与ERP表单打通
钉钉与ERP集成
金蝶如何对接

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

  • 接口:wms/instockConfirm/queryHadInstockConfirmTaskDetailsJd
  • 接口名称:余料入库查询(入库记录查询)
  • 接口方法:GET

请求参数

字段名称类型 instockStartTime开始时间string instockEndTime结束时间string taskType入库类型string pageNum页码string pageSize页数string

响应参数

字段名称类型描述 mchIdmchIdstringautoFillResponse createBycreateBystring_autoFillResponse createNamecreateNamestringautoFillResponse checkLabelcheckLabelstring_autoFillResponse createTimecreateTimestringautoFillResponse updateByupdateBystring_autoFillResponse updateNameupdateNamestringautoFillResponse updateTimeupdateTimestring_autoFillResponse remarkremarkstringautoFillResponse companyCodecompanyCodestring_autoFillResponse currentUserBycurrentUserBystringautoFillResponse currentUserNamecurrentUserNamestring_autoFillResponse currentTimecurrentTimestringautoFillResponse filtrationBomStatusfiltrationBomStatusstring_autoFillResponse bomNobomNostringautoFillResponse ididstring_autoFillResponse uuiduuidstringautoFillResponse confirmTaskUuidconfirmTaskUuidstring_autoFillResponse taskUuidtaskUuidstringautoFillResponse processNameprocessNamestring_autoFillResponse warehouseUuidwarehouseUuidstringautoFillResponse warehouseNamewarehouseNamestring_autoFillResponse statusstatusstringautoFillResponse confirmStatusconfirmStatusstring_autoFillResponse receiveNumbreceiveNumbstringautoFillResponse checkNumbcheckNumbstring_autoFillResponse confirmNumbconfirmNumbstringautoFillResponse waitConfirmNumbwaitConfirmNumbstring_autoFillResponse currentConfirmNumbcurrentConfirmNumbstringautoFillResponse confirmCountFlagconfirmCountFlagstring_autoFillResponse delFlagdelFlagstringautoFillResponse partNopartNostring_autoFillResponse gradeNamegradeNamestringautoFillResponse qualityqualitystring_autoFillResponse brandbrandstringautoFillResponse specspecstring_autoFillResponse picNopicNostringautoFillResponse picVersionpicVersionstring_autoFillResponse unitNounitNostringautoFillResponse instockNumbinstockNumbstring_autoFillResponse processCodeprocessCodestringautoFillResponse ynConfirmynConfirmstring_autoFillResponse matterialTypematterialTypestringautoFillResponse locationUuidlocationUuidstring_autoFillResponse dispatchPrefixdispatchPrefixstringautoFillResponse connectUuidconnectUuidstring_autoFillResponse packageNopackageNostringautoFillResponse ynCanOperateynCanOperatestring_autoFillResponse warehouseAdministorIdwarehouseAdministorIdstringautoFillResponse supplierNamesupplierNamestring_autoFillResponse supplierUuidsupplierUuidstringautoFillResponse taskTypetaskTypestring_autoFillResponse locationslocationsstringautoFillResponse businessNobusinessNostring_autoFillResponse cuttingSizecuttingSizestringautoFillResponse customerOrderNocustomerOrderNostring_autoFillResponse modeNomodeNostringautoFillResponse outContentoutContentstring_autoFillResponse processContentprocessContentstringautoFillResponse taskResourcetaskResourcestring_autoFillResponse locationNolocationNostringautoFillResponse serCodeserCodestring_autoFillResponse sendNosendNostringautoFillResponse patterNopatterNostring_autoFillResponse oneWeightoneWeightstringautoFillResponse receiveWeightreceiveWeightstring_autoFillResponse typeFlagtypeFlagstringautoFillResponse projectCodeprojectCodestring_autoFillResponse stagestagestringautoFillResponse itemCategoryitemCategorystring_autoFillResponse filePathfilePathstringautoFillResponse fileNamefileNamestring_autoFillResponse fileSuffixfileSuffixstringautoFillResponse fileName2dfileName2dstring_autoFillResponse filePath2dfilePath2dstringautoFillResponse fileName3dfileName3dstring_autoFillResponse filePath3dfilePath3dstringautoFillResponse priceNumbpriceNumbstring_autoFillResponse receiveUuidreceiveUuidstringautoFillResponse caigouNocaigouNostring_autoFillResponse instockTimeinstockTimestringautoFillResponse workNoworkNostring_autoFillResponse urgentNeedNourgentNeedNostringautoFillResponse bomContractNobomContractNostring_autoFillResponse keyNokeyNostringautoFillResponse ifGiveawayifGiveawaystring_autoFillResponse orderNoorderNostringautoFillResponse sendCheckNosendCheckNostring_autoFillResponse wholeDeliveryDatewholeDeliveryDatestringautoFillResponse deliveryDatedeliveryDatestring_autoFillResponse customerPartNocustomerPartNostringautoFillResponse shipmentPlaceshipmentPlacestring_autoFillResponse customerGradeNamecustomerGradeNamestringautoFillResponse checkBycheckBystring_autoFillResponse checkNamecheckNamestringautoFillResponse ynCheckynCheckstring_autoFillResponse checkTimecheckTimestringautoFillResponse returnNumbreturnNumbstring_autoFillResponse returnReasonreturnReasonstringautoFillResponse productNameproductNamestring_autoFillResponse productPartNoproductPartNostringautoFillResponse caigouTimecaigouTimestring_autoFillResponse orderTypeorderTypestringautoFillResponse sendersenderstring_autoFillResponse receiveMainTaskUuidreceiveMainTaskUuidstringautoFillResponse receiveStatusreceiveStatusstring_autoFillResponse waitReceiveNumbwaitReceiveNumbstringautoFillResponse currentReceiveNumbcurrentReceiveNumbstring_autoFillResponse classifyIdclassifyIdstringautoFillResponse classifyNameclassifyNamestring_autoFillResponse ynReceiveynReceivestringautoFillResponse okNumbokNumbstring_autoFillResponse ngNumbngNumbstringautoFillResponse backNumbbackNumbstring_autoFillResponse hadBackNumbhadBackNumbstringautoFillResponse preProcessInstockTypepreProcessInstockTypestring_autoFillResponse preProcessCodepreProcessCodestringautoFillResponse currentProcessCodecurrentProcessCodestring_autoFillResponse currentProcessInstockTypecurrentProcessInstockTypestringautoFillResponse nextProcessCodenextProcessCodestring_autoFillResponse planDateplanDatestringautoFillResponse outTypeoutTypestring_autoFillResponse caiGouNumbcaiGouNumbstringautoFillResponse planWeightplanWeightstring_autoFillResponse weightweightstringautoFillResponse instockConfirmNumbinstockConfirmNumbstring_autoFillResponse purchaseUnitNopurchaseUnitNostringautoFillResponse purchaseUnitNamepurchaseUnitNamestring_autoFillResponse instockNoinstockNostringautoFillResponse receiveNoreceiveNostring_autoFillResponse confrimNoconfrimNostring_autoFillResponse caigouNo采购单号string

金蝶云星空接口明细

  • 调用接口:batchSave
  • 接口名称:其他入库新增
  • 方法:POST

请求参数

字段字段名称类型配置值 FBillNo单据编号string{{confrimNo}} FBillTypeID单据类型stringQTRKD01_SYS FStockOrgId库存组织string1 FStockDirect库存方向stringGENERAL FDate日期string{{createTime}} FSUPPLIERID供应商string FDEPTID申请部门stringYA032 FOwnerTypeIdHead货主类型stringBD_OwnerOrg FOwnerIdHead货主string1 FNOTE备注string F_lyzx_Base物料负责人stringYZ000314 F_UZMJ_Base仓管员stringYZ000314 F_UZMJ_Assistant业务类型string5 FEntity明细信息array FEntity.FInStockType入库类型string1 FEntity.FMATERIALID物料编码string{{partNo}} FEntity.FCMKBarCode零售条形码string FEntity.FStockId收货仓库stringF2313A FEntity.FStockLocId仓位stringH-1 FEntity.FLOT批号string_function case _findCollection find FIsBatchManage from 80f3f76d-b3eb-3e61-96cd-169790878567 where FNumber={{details.partNo}} _endFind when true then '00' else '' end FEntity.FQty实收数量string{{confirmNumb}} FEntity.FPrice成本价string FEntity.FEntryNote备注string FEntity.FSRCBILLNO源单编号string FEntity.FSRCBILLTYPEID源单类型string FEntity.FormId业务对象表单IdstringSTK_MISCELLANEOUS FEntity.IsVerifyBaseDataField验证基础资料boolfalse FEntity.Operation执行的操作stringSave FEntity.IsAutoSubmitAndAudit提交并审核booltrue

数据对接效果

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

四化智造MES(WEB)和金蝶云星空接口打通对接实战 | Qeasy Cloud