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

对接源平台:四化智造MES(WEB)
MES系统是集成生产管理、品质管理、设备管理、BI数据中心、库存管理、工时管理、数据采集、看板管理等为一体的综合性生产管理系统。通过强调制造过程的透明化,帮助企业由粗放式向精益化管理模式升级。
对接目标平台:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
多系统对接方案配置
数据集成平台对应的配置四化智造MES(WEB)与金蝶云星空的对接只要三步就能完成两个系统之间的数据对接。第一步根据四化智造MES(WEB)的接口参数要求记录在轻易云集成平台。第二步配置四化智造MES(WEB)与金蝶云星空之间的字段对应关系(更多方案可借鉴轻易云数据集成社区论坛中找到相关方案信息)第三步完成方案的检查参数设置:传递时间、重试次数、是否启动、前置条件等上线运行。


四化智造MES(WEB)接口明细
- API:wms/instockConfirm/queryConfirmRebackTaskDetail
- NAME:原材料/标准件采购查询(待采购)
- METHOD:GET
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
pageNum | 页码 | 1 | 页码 |
pageSize | 页数 | 100 | 页数 |
rebackStartTime | 开始时间 | {{LAST_SYNC_TIME datetime}} | 开始时间 |
rebackEndTime | 结束时间 | {{CURRENT_TIME datetime}} | 结束时间 |
taskType | 采购类型 | 2 | 1:标准件2:委外 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 |
id | id | | autoFillResponse |
backTaskUuid | backTaskUuid | | _autoFillResponse |
backNumb | backNumb | | autoFillResponse |
returnNumb | returnNumb | | _autoFillResponse |
backWeight | backWeight | | autoFillResponse |
connectUuid | connectUuid | | _autoFillResponse |
bomNo | bomNo | | autoFillResponse |
dispatchPrefix | dispatchPrefix | | _autoFillResponse |
receiveMainTaskUuid | receiveMainTaskUuid | | autoFillResponse |
status | status | | _autoFillResponse |
receiveStatus | receiveStatus | | autoFillResponse |
receiveNumb | receiveNumb | | _autoFillResponse |
waitReceiveNumb | waitReceiveNumb | | autoFillResponse |
currentReceiveNumb | currentReceiveNumb | | _autoFillResponse |
warehouseUuid | warehouseUuid | | autoFillResponse |
warehouseName | warehouseName | | _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 |
classifyId | classifyId | | autoFillResponse |
classifyName | classifyName | | _autoFillResponse |
delFlag | delFlag | | autoFillResponse |
returnReason | returnReason | | _autoFillResponse |
ynReceive | ynReceive | | autoFillResponse |
matterialType | matterialType | | _autoFillResponse |
okNumb | okNumb | | autoFillResponse |
ngNumb | ngNumb | | _autoFillResponse |
hadBackNumb | hadBackNumb | | autoFillResponse |
preProcessInstockType | preProcessInstockType | | _autoFillResponse |
preProcessCode | preProcessCode | | autoFillResponse |
currentProcessCode | currentProcessCode | | _autoFillResponse |
currentProcessInstockType | currentProcessInstockType | | autoFillResponse |
nextProcessCode | nextProcessCode | | _autoFillResponse |
planDate | planDate | | autoFillResponse |
businessNo | businessNo | | _autoFillResponse |
warehouseAdministorId | warehouseAdministorId | | autoFillResponse |
supplierName | supplierName | | _autoFillResponse |
supplierUuid | supplierUuid | | autoFillResponse |
taskType | taskType | | _autoFillResponse |
cuttingSize | cuttingSize | | autoFillResponse |
customerOrderNo | customerOrderNo | | _autoFillResponse |
modeNo | modeNo | | autoFillResponse |
outType | outType | | _autoFillResponse |
serCode | serCode | | autoFillResponse |
outContent | outContent | | _autoFillResponse |
processContent | processContent | | autoFillResponse |
locationUuid | locationUuid | | _autoFillResponse |
locationNo | locationNo | | autoFillResponse |
caiGouNumb | caiGouNumb | | _autoFillResponse |
taskResource | taskResource | | autoFillResponse |
patterNo | patterNo | | _autoFillResponse |
oneWeight | oneWeight | | autoFillResponse |
receiveWeight | receiveWeight | | _autoFillResponse |
planWeight | planWeight | | 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 |
weight | weight | | _autoFillResponse |
priceNumb | priceNumb | | autoFillResponse |
instockConfirmNumb | instockConfirmNumb | | _autoFillResponse |
processName | processName | | autoFillResponse |
purchaseUnitNo | purchaseUnitNo | | _autoFillResponse |
purchaseUnitName | purchaseUnitName | | autoFillResponse |
instockNo | instockNo | | _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 |
productName | productName | | autoFillResponse |
productPartNo | productPartNo | | _autoFillResponse |
caigouTime | caigouTime | | autoFillResponse |
orderType | orderType | | _autoFillResponse |
checkNumb | checkNumb | | autoFillResponse |
rebackType | rebackType | | _autoFillResponse |
backNo | backNo | | autoFillResponse |
customerUuid | customerUuid | | _autoFillResponse |
customerName | customerName | | autoFillResponse |
customerFullName | customerFullName | | _autoFillResponse |
supplierFullName | supplierFullName | | autoFillResponse |
connectMainUuid | connectMainUuid | | _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_Text2 | MES入库明细行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 | 业务对象表单Id | PUR_MRB | 必须填写金蝶的表单ID如😛UR_PurchaseOrder |
FPURMRBENTRY.Operation | 执行的操作 | batchSave | |
FPURMRBENTRY.IsAutoSubmitAndAudit | 提交并审核 | true | |
FPURMRBENTRY.IsVerifyBaseDataField | 验证基础资料 | true | 是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
FPURMRBENTRY.SubSystemId | 系统模块 | 21 | 默认仓库模块 |
系统集成总览
随着企业数字化业务的深入发展,对于企业的 IT 或者 CIO 来讲,正在面临一个愈发重要的问题——系统的结构太复杂了,尤其是头部企业,至少有十多套系统,这些系统之间的蛛网状的接口如果经常出问题。企业内部以及企业内部与外部建立起越来越多的业务应用系统,如何整合企业的现有IT资源,使企业中计算机孤岛式的应用向集体协作的方向发展,发挥资源效益的最大化,降低企业成本,正在逐渐成为企业关注的重要问题。用户希望企业内所有系统集成在一个平台上,操作统一,以节省培训时间。使用在轻易云应用集成平台 + MDM基础数据平台的解决方案中,轻易云应用集成平台负责实现异构、分布式系统之间互联互通,实现服务API治理以及数据传输交换。通过轻易云预置的各种适配器组件,连接现有各孤立应用系统,以图形化、拖拽方式构建集成流程和服务,提高应用系统集成工作效率,降低异构系统集成风险。针对未来可能出现的业务需求变更,在应用集成平台上进行动态调整,实现各应用系统之间的集成策略平滑升级。
