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

源系统:四化智造MES(WEB)
MES系统是集成生产管理、品质管理、设备管理、BI数据中心、库存管理、工时管理、数据采集、看板管理等为一体的综合性生产管理系统。通过强调制造过程的透明化,帮助企业由粗放式向精益化管理模式升级。
集成系统:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
数据集成方案配置
数据集成平台对应的配置四化智造MES(WEB)与金蝶云星空的对接只要三步就能完成两个系统之间的数据对接。第一步根据四化智造MES(WEB)的接口参数要求记录在轻易云集成平台。第二步配置四化智造MES(WEB)与金蝶云星空之间的字段对应关系(更多方案可借鉴轻易云数据集成社区论坛中找到相关方案信息)第三步完成方案的检查参数设置:传递时间、重试次数、是否启动、前置条件等上线运行。


四化智造MES(WEB)接口明细
- 调用接口:wms/instockConfirm/queryConfirmRebackTaskDetail
- 接口名称:单工序委外入库查询(委外入库确认)
- 方法:GET
请求参数
字段 | 字段名称 | 类型 | 配置值 |
pageNum | 页码 | string | 1 |
pageSize | 页数 | string | 100 |
rebackStartTime | 开始时间 | string | {{LAST_SYNC_TIME datetime}} |
rebackEndTime | 结束时间 | string | {{CURRENT_TIME datetime}} |
taskType | 入库类型 | string | 3 |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
mchId | mchId | string | |
createBy | createBy | string | |
createName | createName | string | |
checkLabel | checkLabel | string | |
createTime | createTime | string | |
updateBy | updateBy | string | |
updateName | updateName | string | |
updateTime | updateTime | string | |
remark | remark | string | |
companyCode | companyCode | string | |
currentUserBy | currentUserBy | string | |
currentUserName | currentUserName | string | |
currentTime | currentTime | string | |
filtrationBomStatus | filtrationBomStatus | string | |
bomNo | bomNo | string | |
id | id | string | |
uuid | uuid | string | |
confirmTaskUuid | confirmTaskUuid | string | |
taskUuid | taskUuid | string | |
processName | processName | string | |
warehouseUuid | warehouseUuid | string | |
warehouseName | warehouseName | string | |
status | status | string | |
confirmStatus | confirmStatus | string | |
receiveNumb | receiveNumb | string | |
checkNumb | checkNumb | string | |
confirmNumb | confirmNumb | string | |
waitConfirmNumb | waitConfirmNumb | string | |
currentConfirmNumb | currentConfirmNumb | string | |
confirmCountFlag | confirmCountFlag | string | |
delFlag | delFlag | string | |
partNo | partNo | string | |
gradeName | gradeName | string | |
quality | quality | string | |
brand | brand | string | |
spec | spec | string | |
picNo | picNo | string | |
picVersion | picVersion | string | |
unitNo | unitNo | string | |
instockNumb | instockNumb | string | |
processCode | processCode | string | |
ynConfirm | ynConfirm | string | |
matterialType | matterialType | string | |
locationUuid | locationUuid | string | |
dispatchPrefix | dispatchPrefix | string | |
connectUuid | connectUuid | string | |
packageNo | packageNo | string | |
ynCanOperate | ynCanOperate | string | |
warehouseAdministorId | warehouseAdministorId | string | |
supplierName | supplierName | string | |
supplierUuid | supplierUuid | string | |
taskType | taskType | string | |
locations | locations | string | |
businessNo | businessNo | string | |
cuttingSize | cuttingSize | string | |
customerOrderNo | customerOrderNo | string | |
modeNo | modeNo | string | |
outContent | outContent | string | |
processContent | processContent | string | |
taskResource | taskResource | string | |
locationNo | locationNo | string | |
serCode | serCode | string | |
sendNo | sendNo | string | |
patterNo | patterNo | string | |
oneWeight | oneWeight | string | |
receiveWeight | receiveWeight | string | |
typeFlag | typeFlag | string | |
projectCode | projectCode | string | |
stage | stage | string | |
itemCategory | itemCategory | string | |
filePath | filePath | string | |
fileName | fileName | string | |
fileSuffix | fileSuffix | string | |
fileName2d | fileName2d | string | |
filePath2d | filePath2d | string | |
fileName3d | fileName3d | string | |
filePath3d | filePath3d | string | |
priceNumb | priceNumb | string | |
receiveUuid | receiveUuid | string | |
caigouNo | caigouNo | string | |
instockTime | instockTime | string | |
workNo | workNo | string | |
urgentNeedNo | urgentNeedNo | string | |
bomContractNo | bomContractNo | string | |
keyNo | keyNo | string | |
ifGiveaway | ifGiveaway | string | |
orderNo | orderNo | string | |
sendCheckNo | sendCheckNo | string | |
wholeDeliveryDate | wholeDeliveryDate | string | |
deliveryDate | deliveryDate | string | |
customerPartNo | customerPartNo | string | |
shipmentPlace | shipmentPlace | string | |
customerGradeName | customerGradeName | string | |
checkBy | checkBy | string | |
checkName | checkName | string | |
ynCheck | ynCheck | string | |
checkTime | checkTime | string | |
returnNumb | returnNumb | string | |
returnReason | returnReason | string | |
productName | productName | string | |
productPartNo | productPartNo | string | |
caigouTime | caigouTime | string | |
orderType | orderType | string | |
sender | sender | string | |
receiveMainTaskUuid | receiveMainTaskUuid | string | |
receiveStatus | receiveStatus | string | |
waitReceiveNumb | waitReceiveNumb | string | |
currentReceiveNumb | currentReceiveNumb | string | |
classifyId | classifyId | string | |
classifyName | classifyName | string | |
ynReceive | ynReceive | string | |
okNumb | okNumb | string | |
ngNumb | ngNumb | string | |
backNumb | backNumb | string | |
hadBackNumb | hadBackNumb | string | |
preProcessInstockType | preProcessInstockType | string | |
preProcessCode | preProcessCode | string | |
currentProcessCode | currentProcessCode | string | |
currentProcessInstockType | currentProcessInstockType | string | |
nextProcessCode | nextProcessCode | string | |
planDate | planDate | string | |
outType | outType | string | |
caiGouNumb | caiGouNumb | string | |
planWeight | planWeight | string | |
weight | weight | string | |
instockConfirmNumb | instockConfirmNumb | string | |
purchaseUnitNo | purchaseUnitNo | string | |
purchaseUnitName | purchaseUnitName | string | |
instockNo | instockNo | string | |
receiveNo | receiveNo | string | |
confrimNo | confrimNo | string | |
processingType | processingType | string | |
purRecordUuid | purRecordUuid | string | |
recordId | recordId | string | |
purPrice | purPrice | string | |
warehouseCode | warehouseCode | string | |
purRecordDetailUuid | purRecordDetailUuid | string | |
shipOrg | shipOrg | string | |
金蝶云星空接口明细
- API:batchSave
- NAME:应付单新增
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
FBillNo | 单据编号 | {{backNo}} | |
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.returnNumb}} | |
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.businessNo}} | |
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 | |
系统数据集成价值
异构系统都具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。采用“轻易云集成方案”的解决方案,可以满足客户的实际业务需求,推动软件工程的规范化,使开发人员遵循统一的概要设计开发实现,降低系统实现的风险,做到系统设计资料的规范性与全面性,以利于系统的实现、测试、维护、版本升级等。通过轻易云系统集成平台完美结合:打破企业内部数据孤岛,无需繁琐的处理工序,与数据集成服务完美结合,让数据真正通起来。 资源互补:汇集各种行业解决方案,资源互补,企业管理融合提升。
