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

对接源平台:四化智造MES(WEB)
“MES助力智能制造过程控制:MES管理生产订单的整个生产流程,通过对生产过程的所有突发事件实时监控,自动纠正生产过程中的错误或提供决策支持,以实现生产调度要求;在出现异常或与生产计划偏离太大时,及时反馈相关人员使其采取相应的措施。任务派工:MES在生产计划完成后,自动生成任务派工单,根据生产设备实际加工能力的变化,制定并优化生产的具体过程及各设备的详细操作顺序
对接目标平台:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
数据集成方案配置
异构系统具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。那么对接就需要根据接口配置对应的规则,例如取数就要根据查询接口获取四化智造MES(WEB)的数据,并且根据对应的条件进行取数,目标系统就必须根据目标系统的格式,以及获取的数据进行加工处理后进行写入到金蝶云星空中。轻易云集成平台的可视化配置轻松实现。

四化智造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 | |
系统集成总览
全面管控企业的API资产,梳理现有业务系统的API。实现API文档的统一管理,建立API的上线、下线、监控的统一管理体系。API低代码开发平台能够实现低代码或零代码一键发布API服务,很好地解决企业用户上面的问题。轻易云应用集成主要解决已有应用系统的无序蔓延现象,减少各业务系统间的维护成本,减少各应用系统的操作系统、开发语言、访问协议、通信技术多而杂、整合难度大的问题,将企业数据平滑对接,减少信息竖井。
