金蝶云星空与四化智造MES(WEB)对接集成单工序委外入库查询(委外入库确认)连通应付单新增(PA-MK单工序委外-应付单-run)

对接系统:四化智造MES(WEB)
MES建立统一平台上通过物料防错防错、流程防错、生产统计、异常处理、信息采集和全流程追溯等精益生产和精细化管理,帮助企业合理安排生产排程、优化工艺流程、改善产品质量、降低能源损耗、降低制造成本,提高执行效率,全面提升和改善企业制造能力,为企业打造可视化、透明化、数字化、智能化工厂。通过手机移动APP实时的数据查询和分析报表,为企业高层提供快速决策支持,以便针对市场变化快速准确地作出反应,综合提升企业的市场竞争力。
写入目标:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
数据集成方案配置
通过数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:四化智造MES(WEB),并且选择对应的连接器(关于四化智造MES(WEB)的接口连接器如何配置可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息)。选择对应的单工序委外入库查询(委外入库确认)接口作为数据对接来源。然后再通过写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器。选择对应的应付单新增接口作为数据写入动作,既可以完成第一步的数据对接配置;打破跨系统连接,让数据轻易互通成为现实。

四化智造MES(WEB)接口明细
- API:wms/instockConfirm/queryHadInstockConfirmTaskDetails
- NAME:单工序委外入库查询(委外入库确认)
- METHOD:GET
请求参数
| 接口字段 | 字段名称 | 预设值 | 描述 |
| pageNum | 页码 | 1 | 页码 |
| pageSize | 页数 | 100 | 页数 |
| instockStartTime | 开始时间 | {{LAST_SYNC_TIME datetime}} | 开始时间 |
| instockEndTime | 结束时间 | {{CURRENT_TIME datetime}} | 结束时间 |
| taskType | 入库类型 | 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 |
| bomNo | bomNo | | autoFillResponse |
| id | id | | _autoFillResponse |
| uuid | uuid | | autoFillResponse |
| confirmTaskUuid | confirmTaskUuid | | _autoFillResponse |
| taskUuid | taskUuid | | autoFillResponse |
| processName | processName | | _autoFillResponse |
| warehouseUuid | warehouseUuid | | autoFillResponse |
| warehouseName | warehouseName | | _autoFillResponse |
| status | status | | autoFillResponse |
| confirmStatus | confirmStatus | | _autoFillResponse |
| receiveNumb | receiveNumb | | autoFillResponse |
| checkNumb | checkNumb | | _autoFillResponse |
| confirmNumb | confirmNumb | | autoFillResponse |
| waitConfirmNumb | waitConfirmNumb | | _autoFillResponse |
| currentConfirmNumb | currentConfirmNumb | | autoFillResponse |
| confirmCountFlag | confirmCountFlag | | _autoFillResponse |
| delFlag | delFlag | | autoFillResponse |
| partNo | partNo | | _autoFillResponse |
| gradeName | gradeName | | autoFillResponse |
| quality | quality | | _autoFillResponse |
| brand | brand | | autoFillResponse |
| spec | spec | | _autoFillResponse |
| picNo | picNo | | autoFillResponse |
| picVersion | picVersion | | _autoFillResponse |
| unitNo | unitNo | | autoFillResponse |
| instockNumb | instockNumb | | _autoFillResponse |
| processCode | processCode | | autoFillResponse |
| ynConfirm | ynConfirm | | _autoFillResponse |
| matterialType | matterialType | | autoFillResponse |
| locationUuid | locationUuid | | _autoFillResponse |
| dispatchPrefix | dispatchPrefix | | autoFillResponse |
| connectUuid | connectUuid | | _autoFillResponse |
| packageNo | packageNo | | autoFillResponse |
| ynCanOperate | ynCanOperate | | _autoFillResponse |
| warehouseAdministorId | warehouseAdministorId | | autoFillResponse |
| supplierName | supplierName | | _autoFillResponse |
| supplierUuid | supplierUuid | | autoFillResponse |
| taskType | taskType | | _autoFillResponse |
| locations | locations | | autoFillResponse |
| businessNo | businessNo | | _autoFillResponse |
| cuttingSize | cuttingSize | | autoFillResponse |
| customerOrderNo | customerOrderNo | | _autoFillResponse |
| modeNo | modeNo | | autoFillResponse |
| outContent | outContent | | _autoFillResponse |
| processContent | processContent | | autoFillResponse |
| taskResource | taskResource | | _autoFillResponse |
| locationNo | locationNo | | autoFillResponse |
| serCode | serCode | | _autoFillResponse |
| sendNo | sendNo | | autoFillResponse |
| patterNo | patterNo | | _autoFillResponse |
| oneWeight | oneWeight | | autoFillResponse |
| receiveWeight | receiveWeight | | _autoFillResponse |
| typeFlag | typeFlag | | autoFillResponse |
| projectCode | projectCode | | _autoFillResponse |
| stage | stage | | autoFillResponse |
| itemCategory | itemCategory | | _autoFillResponse |
| filePath | filePath | | autoFillResponse |
| fileName | fileName | | _autoFillResponse |
| fileSuffix | fileSuffix | | autoFillResponse |
| fileName2d | fileName2d | | _autoFillResponse |
| filePath2d | filePath2d | | autoFillResponse |
| fileName3d | fileName3d | | _autoFillResponse |
| filePath3d | filePath3d | | autoFillResponse |
| priceNumb | priceNumb | | _autoFillResponse |
| receiveUuid | receiveUuid | | autoFillResponse |
| caigouNo | caigouNo | | _autoFillResponse |
| instockTime | instockTime | | autoFillResponse |
| workNo | workNo | | _autoFillResponse |
| urgentNeedNo | urgentNeedNo | | autoFillResponse |
| bomContractNo | bomContractNo | | _autoFillResponse |
| keyNo | keyNo | | autoFillResponse |
| ifGiveaway | ifGiveaway | | _autoFillResponse |
| orderNo | orderNo | | autoFillResponse |
| sendCheckNo | sendCheckNo | | _autoFillResponse |
| wholeDeliveryDate | wholeDeliveryDate | | autoFillResponse |
| deliveryDate | deliveryDate | | _autoFillResponse |
| customerPartNo | customerPartNo | | autoFillResponse |
| shipmentPlace | shipmentPlace | | _autoFillResponse |
| customerGradeName | customerGradeName | | autoFillResponse |
| checkBy | checkBy | | _autoFillResponse |
| checkName | checkName | | autoFillResponse |
| ynCheck | ynCheck | | _autoFillResponse |
| checkTime | checkTime | | autoFillResponse |
| returnNumb | returnNumb | | _autoFillResponse |
| returnReason | returnReason | | autoFillResponse |
| productName | productName | | _autoFillResponse |
| productPartNo | productPartNo | | autoFillResponse |
| caigouTime | caigouTime | | _autoFillResponse |
| orderType | orderType | | autoFillResponse |
| sender | sender | | _autoFillResponse |
| receiveMainTaskUuid | receiveMainTaskUuid | | autoFillResponse |
| receiveStatus | receiveStatus | | _autoFillResponse |
| waitReceiveNumb | waitReceiveNumb | | autoFillResponse |
| currentReceiveNumb | currentReceiveNumb | | _autoFillResponse |
| classifyId | classifyId | | autoFillResponse |
| classifyName | classifyName | | _autoFillResponse |
| ynReceive | ynReceive | | autoFillResponse |
| okNumb | okNumb | | _autoFillResponse |
| ngNumb | ngNumb | | autoFillResponse |
| backNumb | backNumb | | _autoFillResponse |
| hadBackNumb | hadBackNumb | | autoFillResponse |
| preProcessInstockType | preProcessInstockType | | _autoFillResponse |
| preProcessCode | preProcessCode | | autoFillResponse |
| currentProcessCode | currentProcessCode | | _autoFillResponse |
| currentProcessInstockType | currentProcessInstockType | | autoFillResponse |
| nextProcessCode | nextProcessCode | | _autoFillResponse |
| planDate | planDate | | autoFillResponse |
| outType | outType | | _autoFillResponse |
| caiGouNumb | caiGouNumb | | autoFillResponse |
| planWeight | planWeight | | _autoFillResponse |
| weight | weight | | autoFillResponse |
| instockConfirmNumb | instockConfirmNumb | | _autoFillResponse |
| purchaseUnitNo | purchaseUnitNo | | autoFillResponse |
| purchaseUnitName | purchaseUnitName | | _autoFillResponse |
| instockNo | instockNo | | autoFillResponse |
| receiveNo | receiveNo | | _autoFillResponse |
| confrimNo | confrimNo | | autoFillResponse |
| processingType | processingType | | _autoFillResponse |
| purRecordUuid | purRecordUuid | | autoFillResponse |
| recordId | recordId | | _autoFillResponse |
| purPrice | purPrice | | autoFillResponse |
| warehouseCode | warehouseCode | | _autoFillResponse |
| purRecordDetailUuid | purRecordDetailUuid | | autoFillResponse |
| shipOrg | shipOrg | | _autoFillResponse |
金蝶云星空接口明细
- API:batchSave
- NAME:应付单新增
- METHOD:POST
请求参数
| 接口字段 | 字段名称 | 预设值 | 描述 |
| FBillNo | 单据编号 | {{confrimNo}} | |
| FBillTypeID | 单据类型 | YFD02_SYS | |
| FDOCUMENTSTATUS | 单据状态 | Z | |
| FDATE | 业务日期 | {{createTime}} | |
| FENDDATE_H | 到期日 | | |
| FSUPPLIERID | 供应商 | {{supplierUuid}} | |
| FPURCHASEDEPTID | 部门 | YA032 | |
| FSetAccountType | 立账类型 | 2 | |
| FEntityDetail | 明细 | details | |
| FEntityDetail.FTaxPrice | 含税单价 | findCollection find FTaxPrice from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where F_UZMJ_Text={{details.purRecordDetailUuid}} | |
| FEntityDetail.FEntryTaxRate | 税率 | | |
| FEntityDetail.FPriceQty | 计价数量 | {{details.instockNumb}} | |
| FEntityDetail.F_lyzx_Text | 计划跟踪号 | {{details.bomNo}} | |
| FEntityDetail.F_lyzx_Text6 | MES采购入库单号 | {{details.confrimNo}} | |
| FEntityDetail.FCOSTID | 费用项目编码 | FYXM04_SYS | |
| FEntityDetail.F_lyzx_Date2 | MES入库日期 | {{details.createTime}} | |
| FEntityDetail.F_lyzx_Text4 | MES生产订单号 | {{details.caigouNo}} | |
| FEntityDetail.F_lyzx_Text9 | MES工序名称 | {{details.processName}} | |
| FEntityDetail.F_lyzx_Text10 | MES产品代码 | {{details.partNo}} | |
| FEntityDetail.FORDERNUMBER | 采购订单号 | {{details.caigouNo}} | |
| FEntityDetail.F_lyzx_Text11 | 模件号 | {{details.keyNo}} | |
| FEntityDetail.F_lyzx_Text12 | 客户订单号 | {{details.customerOrderNo}} | |
| FEntityDetail.F_lyzx_Text13 | 紧急需求单号 | {{details.urgentNeedNo}} | |
| FEntityDetail.F_lyzx_Text14 | 发包单号 | {{details.bomContractNo}} | |
| FEntityDetail.F_lyzx_Text15 | 工令单号 | {{details.workNo}} | |
| FEntityDetail.FCOSTDEPARTMENTID | 费用承担部门 | YA032 | |
| FEntityDetail.F_UZMJ_Text1 | 料号 | {{details.partNo}} | |
| FEntityDetail.F_UZMJ_Text2 | 工序 | {{details.processName}} | |
| FEntityDetail.FIsFree | 是否赠品 | _findCollection find FGiveAway from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where F_UZMJ_Text={{details.purRecordDetailUuid}} FMaterialId_FNumber={{details.partNo}} | 复选框 |
| FEntityDetail.FCreateDate | 创建日期 | {{createTime date}} | |
| FEntityDetail.F_UZMJ_Text3 | 是否核对 | 否 | |
| FEntityDetail.FormId | 业务对象表单Id | AP_Payable | 必须填写金蝶的表单ID如😛UR_PurchaseOrder |
| FEntityDetail.Operation | 执行的操作 | BatchSave | |
| FEntityDetail.IsVerifyBaseDataField | 验证基础资料 | true | 是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
| FEntityDetail.IsAutoSubmitAndAudit | 提交并审核 | true | |
系统对接总览
大部分的企业都可能只用一套系统组织架构复杂,业务流程繁琐,内部同时有OA系统、BI系统、ERP系统......且各个系统都需要独立登陆,造成IT部门数据监管困难!如何在同一套中台系统上关联多管理系统呢?系统集成平台,就可以无缝集成各个业务系统,主数不统一、交易数据来回导出导入、业务融合等问题。通过轻易云系统集成平台完美结合:打破企业内部数据孤岛,无需繁琐的处理工序,与数据集成服务完美结合,让数据真正通起来。 资源互补:汇集各种行业解决方案,资源互补,企业管理融合提升。让对接开箱即用的、可视化拖、拉、拽实现接口服务编排与聚合。
