Qeasy Cloud
Get Started

从四化智造MES(WEB)到金蝶云星空通过接口配置打通数据

1 comments

从四化智造MES(WEB)到金蝶云星空通过接口配置打通数据

接口数据集成

对接源平台:四化智造MES(WEB)

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

对接目标平台:金蝶云星空

金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。

多系统对接方案配置

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

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

  • API:wms/instockConfirm/queryConfirmRebackTaskDetail
  • NAME:原材料/标准件采购查询(待采购)
  • METHOD:GET

请求参数

接口字段字段名称预设值描述 pageNum页码1页码 pageSize页数100页数 rebackStartTime开始时间{{LAST_SYNC_TIME datetime}}开始时间 rebackEndTime结束时间{{CURRENT_TIME datetime}}结束时间 taskType采购类型21:标准件2:委外 3:原材料

响应参数

接口字段字段名称预设值描述 mchIdmchIdautoFillResponse createBycreateBy_autoFillResponse createNamecreateNameautoFillResponse checkLabelcheckLabel_autoFillResponse createTimecreateTimeautoFillResponse updateByupdateBy_autoFillResponse updateNameupdateNameautoFillResponse updateTimeupdateTime_autoFillResponse remarkremarkautoFillResponse companyCodecompanyCode_autoFillResponse currentUserBycurrentUserByautoFillResponse currentUserNamecurrentUserName_autoFillResponse currentTimecurrentTimeautoFillResponse filtrationBomStatusfiltrationBomStatus_autoFillResponse ididautoFillResponse backTaskUuidbackTaskUuid_autoFillResponse backNumbbackNumbautoFillResponse returnNumbreturnNumb_autoFillResponse backWeightbackWeightautoFillResponse connectUuidconnectUuid_autoFillResponse bomNobomNoautoFillResponse dispatchPrefixdispatchPrefix_autoFillResponse receiveMainTaskUuidreceiveMainTaskUuidautoFillResponse statusstatus_autoFillResponse receiveStatusreceiveStatusautoFillResponse receiveNumbreceiveNumb_autoFillResponse waitReceiveNumbwaitReceiveNumbautoFillResponse currentReceiveNumbcurrentReceiveNumb_autoFillResponse warehouseUuidwarehouseUuidautoFillResponse warehouseNamewarehouseName_autoFillResponse partNopartNoautoFillResponse gradeNamegradeName_autoFillResponse qualityqualityautoFillResponse brandbrand_autoFillResponse specspecautoFillResponse picNopicNo_autoFillResponse picVersionpicVersionautoFillResponse unitNounitNo_autoFillResponse instockNumbinstockNumbautoFillResponse processCodeprocessCode_autoFillResponse classifyIdclassifyIdautoFillResponse classifyNameclassifyName_autoFillResponse delFlagdelFlagautoFillResponse returnReasonreturnReason_autoFillResponse ynReceiveynReceiveautoFillResponse matterialTypematterialType_autoFillResponse okNumbokNumbautoFillResponse ngNumbngNumb_autoFillResponse hadBackNumbhadBackNumbautoFillResponse preProcessInstockTypepreProcessInstockType_autoFillResponse preProcessCodepreProcessCodeautoFillResponse currentProcessCodecurrentProcessCode_autoFillResponse currentProcessInstockTypecurrentProcessInstockTypeautoFillResponse nextProcessCodenextProcessCode_autoFillResponse planDateplanDateautoFillResponse businessNobusinessNo_autoFillResponse warehouseAdministorIdwarehouseAdministorIdautoFillResponse supplierNamesupplierName_autoFillResponse supplierUuidsupplierUuidautoFillResponse taskTypetaskType_autoFillResponse cuttingSizecuttingSizeautoFillResponse customerOrderNocustomerOrderNo_autoFillResponse modeNomodeNoautoFillResponse outTypeoutType_autoFillResponse serCodeserCodeautoFillResponse outContentoutContent_autoFillResponse processContentprocessContentautoFillResponse locationUuidlocationUuid_autoFillResponse locationNolocationNoautoFillResponse caiGouNumbcaiGouNumb_autoFillResponse taskResourcetaskResourceautoFillResponse patterNopatterNo_autoFillResponse oneWeightoneWeightautoFillResponse receiveWeightreceiveWeight_autoFillResponse planWeightplanWeightautoFillResponse projectCodeprojectCode_autoFillResponse stagestageautoFillResponse itemCategoryitemCategory_autoFillResponse filePathfilePathautoFillResponse fileNamefileName_autoFillResponse fileSuffixfileSuffixautoFillResponse fileName2dfileName2d_autoFillResponse filePath2dfilePath2dautoFillResponse fileName3dfileName3d_autoFillResponse filePath3dfilePath3dautoFillResponse weightweight_autoFillResponse priceNumbpriceNumbautoFillResponse instockConfirmNumbinstockConfirmNumb_autoFillResponse processNameprocessNameautoFillResponse purchaseUnitNopurchaseUnitNo_autoFillResponse purchaseUnitNamepurchaseUnitNameautoFillResponse instockNoinstockNo_autoFillResponse caigouNocaigouNoautoFillResponse instockTimeinstockTime_autoFillResponse workNoworkNoautoFillResponse urgentNeedNourgentNeedNo_autoFillResponse bomContractNobomContractNoautoFillResponse keyNokeyNo_autoFillResponse ifGiveawayifGiveawayautoFillResponse orderNoorderNo_autoFillResponse sendCheckNosendCheckNoautoFillResponse wholeDeliveryDatewholeDeliveryDate_autoFillResponse deliveryDatedeliveryDateautoFillResponse customerPartNocustomerPartNo_autoFillResponse shipmentPlaceshipmentPlaceautoFillResponse customerGradeNamecustomerGradeName_autoFillResponse checkBycheckByautoFillResponse checkNamecheckName_autoFillResponse ynCheckynCheckautoFillResponse checkTimecheckTime_autoFillResponse productNameproductNameautoFillResponse productPartNoproductPartNo_autoFillResponse caigouTimecaigouTimeautoFillResponse orderTypeorderType_autoFillResponse checkNumbcheckNumbautoFillResponse rebackTyperebackType_autoFillResponse backNobackNoautoFillResponse customerUuidcustomerUuid_autoFillResponse customerNamecustomerNameautoFillResponse customerFullNamecustomerFullName_autoFillResponse supplierFullNamesupplierFullNameautoFillResponse connectMainUuidconnectMainUuid_autoFillResponse connectUuid明细行-id

金蝶云星空接口明细

  • API:batchSave
  • NAME:采购退货新增
  • METHOD:POST

请求参数

接口字段字段名称预设值描述 FBillNo单据编号{{backNo}}单据编号 FDate退料日期{{createTime}}日期 FSupplierID供应商{{supplierUuid}}基础资料 FStockOrgId退料组织1组织 FSettleOrgId结算组织1组织 FSETTLETYPEID结算方式JSFS04_SYS基础资料 FSettleCurrId结算币别PRE001基础资料 FPayOrgId付款组织1组织 FOwnerTypeIdHead货主类型BD_OwnerOrg多类别基础资料列表 FOwnerIdHead货主1多类别基础资料 F_UZMJ_Base第二级审批人YZ000176 F_lyzx_Base1质检员N0000911 F_UZMJ_Text退料原因{{returnReason}} F_UZMJ_Text1是否核对否 FPURMRBENTRY明细信息details明细信息 FPURMRBENTRY.FMaterialId物料编码{{details.partNo}}基础资料 FPURMRBENTRY.FRMREALQTY实退数量{{details.returnNumb}}数量 FPURMRBENTRY.FStockId仓库F2313A基础资料 FPURMRBENTRY.FStockLocId仓位H-1 FPURMRBENTRY.FLot批号_function case _findCollection find FIsBatchManage from 5e1c2a3d-1e33-32db-9fdc-9af29dadb99f where FNumber={{details.partNo}} endFind when true then '00' else '' end批次 FPURMRBENTRY.FTAXPRICE含税单价_findCollection find FTaxPrice from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where F_UZMJ_Text={{details.purRecordDetailUuid}}单价 FPURMRBENTRY.FSRCBillNo源单编号{{details.confrimNo}} FPURMRBENTRY.FSRCBillTypeId源单类型STK_InStock FPURMRBENTRY.FMtoNo计划跟踪号{{details.bomNo}} FPURMRBENTRY.FGiveAway是否赠品findCollection find FGiveAway from ff38e800-ab43-3ca5-9629-cf20357dd861 where FBillNo={{confrimNo}} F_UZMJ_Text9={{details.connectUuid}} FPURMRBENTRY.FORDERNO订单号{{details.caigouNo}} FPURMRBENTRY.F_UZMJ_Text2MES入库明细行id{{details.connectUuid}} FPURMRBENTRY.FPURMRBENTRY_Link关联关系表 FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FRuleId转换规则d5dd2b3d-57d5-45e2-b7e2-e53a04ebecaf FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSTableName源单表T_STK_INSTOCKENTRY FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSBillId源单内码_findCollection find FID from ff38e800-ab43-3ca5-9629-cf20357dd861 where FBillNo={{confrimNo}} FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSId源单分录内码_findCollection find FInStockEntry_FEntryId from ff38e800-ab43-3ca5-9629-cf20357dd861 where FBillNo={{confrimNo}} F_UZMJ_Text9={{details.connectUuid}} FPURMRBENTRY.FormId业务对象表单IdPUR_MRB必须填写金蝶的表单ID如😛UR_PurchaseOrder FPURMRBENTRY.Operation执行的操作batchSave FPURMRBENTRY.IsAutoSubmitAndAudit提交并审核true FPURMRBENTRY.IsVerifyBaseDataField验证基础资料true是否验证所有的基础资料有效性,布尔类,默认false(非必录) FPURMRBENTRY.SubSystemId系统模块21默认仓库模块

系统集成总览

随着企业数字化业务的深入发展,对于企业的 IT 或者 CIO 来讲,正在面临一个愈发重要的问题——系统的结构太复杂了,尤其是头部企业,至少有十多套系统,这些系统之间的蛛网状的接口如果经常出问题。企业内部以及企业内部与外部建立起越来越多的业务应用系统,如何整合企业的现有IT资源,使企业中计算机孤岛式的应用向集体协作的方向发展,发挥资源效益的最大化,降低企业成本,正在逐渐成为企业关注的重要问题。用户希望企业内所有系统集成在一个平台上,操作统一,以节省培训时间。使用在轻易云应用集成平台 + MDM基础数据平台的解决方案中,轻易云应用集成平台负责实现异构、分布式系统之间互联互通,实现服务API治理以及数据传输交换。通过轻易云预置的各种适配器组件,连接现有各孤立应用系统,以图形化、拖拽方式构建集成流程和服务,提高应用系统集成工作效率,降低异构系统集成风险。针对未来可能出现的业务需求变更,在应用集成平台上进行动态调整,实现各应用系统之间的集成策略平滑升级。
跨境电商与ERP打通