金蝶云星空和四化智造MES(WEB)单据接口对接

接通系统:四化智造MES(WEB)
“MES助力智能制造过程控制:MES管理生产订单的整个生产流程,通过对生产过程的所有突发事件实时监控,自动纠正生产过程中的错误或提供决策支持,以实现生产调度要求;在出现异常或与生产计划偏离太大时,及时反馈相关人员使其采取相应的措施。任务派工:MES在生产计划完成后,自动生成任务派工单,根据生产设备实际加工能力的变化,制定并优化生产的具体过程及各设备的详细操作顺序
对接系统:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
数据接口配置方案
通过轻易云系统数据集成平台:数据集成方案。选择开始创建数据集成方案菜单。在方案配置表单中选择对应的源业务系统:四化智造MES(WEB),然后选择对应的连接器。选择对应的wms/instockConfirm/queryHadInstockConfirmTaskDetailsByType作为数据对接来源。然后再写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器(关于金蝶云星空的接口如何连接可以在轻易云数据集成社区论坛bbs.qeasy.cloud中找到相关信息)。选择好对应的batchSave接口作为数据写入动作完成第一步的接口配置。

四化智造MES(WEB)接口明细
- 接口:wms/instockConfirm/queryHadInstockConfirmTaskDetails
- 接口名称:单工序委外入库查询(委外入库确认)
- 接口方法:GET
请求参数
字段 | 名称 | 类型 | 描述 |
pageNum | 页码 | string | 页码 |
pageSize | 页数 | string | 页数 |
rebackStartTime | 开始时间 | string | 开始时间 |
rebackEndTime | 结束时间 | string | 结束时间 |
taskType | 入库类型 | string | |
响应参数
字段 | 名称 | 类型 | 描述 |
mchId | mchId | string | autoFillResponse |
createBy | createBy | string | _autoFillResponse |
createName | createName | string | autoFillResponse |
checkLabel | checkLabel | string | _autoFillResponse |
createTime | createTime | string | autoFillResponse |
updateBy | updateBy | string | _autoFillResponse |
updateName | updateName | string | autoFillResponse |
updateTime | updateTime | string | _autoFillResponse |
remark | remark | string | autoFillResponse |
companyCode | companyCode | string | _autoFillResponse |
currentUserBy | currentUserBy | string | autoFillResponse |
currentUserName | currentUserName | string | _autoFillResponse |
currentTime | currentTime | string | autoFillResponse |
filtrationBomStatus | filtrationBomStatus | string | _autoFillResponse |
bomNo | bomNo | string | autoFillResponse |
id | id | string | _autoFillResponse |
uuid | uuid | string | autoFillResponse |
confirmTaskUuid | confirmTaskUuid | string | _autoFillResponse |
taskUuid | taskUuid | string | autoFillResponse |
processName | processName | string | _autoFillResponse |
warehouseUuid | warehouseUuid | string | autoFillResponse |
warehouseName | warehouseName | string | _autoFillResponse |
status | status | string | autoFillResponse |
confirmStatus | confirmStatus | string | _autoFillResponse |
receiveNumb | receiveNumb | string | autoFillResponse |
checkNumb | checkNumb | string | _autoFillResponse |
confirmNumb | confirmNumb | string | autoFillResponse |
waitConfirmNumb | waitConfirmNumb | string | _autoFillResponse |
currentConfirmNumb | currentConfirmNumb | string | autoFillResponse |
confirmCountFlag | confirmCountFlag | string | _autoFillResponse |
delFlag | delFlag | string | autoFillResponse |
partNo | partNo | string | _autoFillResponse |
gradeName | gradeName | string | autoFillResponse |
quality | quality | string | _autoFillResponse |
brand | brand | string | autoFillResponse |
spec | spec | string | _autoFillResponse |
picNo | picNo | string | autoFillResponse |
picVersion | picVersion | string | _autoFillResponse |
unitNo | unitNo | string | autoFillResponse |
instockNumb | instockNumb | string | _autoFillResponse |
processCode | processCode | string | autoFillResponse |
ynConfirm | ynConfirm | string | _autoFillResponse |
matterialType | matterialType | string | autoFillResponse |
locationUuid | locationUuid | string | _autoFillResponse |
dispatchPrefix | dispatchPrefix | string | autoFillResponse |
connectUuid | connectUuid | string | _autoFillResponse |
packageNo | packageNo | string | autoFillResponse |
ynCanOperate | ynCanOperate | string | _autoFillResponse |
warehouseAdministorId | warehouseAdministorId | string | autoFillResponse |
supplierName | supplierName | string | _autoFillResponse |
supplierUuid | supplierUuid | string | autoFillResponse |
taskType | taskType | string | _autoFillResponse |
locations | locations | string | autoFillResponse |
businessNo | businessNo | string | _autoFillResponse |
cuttingSize | cuttingSize | string | autoFillResponse |
customerOrderNo | customerOrderNo | string | _autoFillResponse |
modeNo | modeNo | string | autoFillResponse |
outContent | outContent | string | _autoFillResponse |
processContent | processContent | string | autoFillResponse |
taskResource | taskResource | string | _autoFillResponse |
locationNo | locationNo | string | autoFillResponse |
serCode | serCode | string | _autoFillResponse |
sendNo | sendNo | string | autoFillResponse |
patterNo | patterNo | string | _autoFillResponse |
oneWeight | oneWeight | string | autoFillResponse |
receiveWeight | receiveWeight | string | _autoFillResponse |
typeFlag | typeFlag | string | autoFillResponse |
projectCode | projectCode | string | _autoFillResponse |
stage | stage | string | autoFillResponse |
itemCategory | itemCategory | string | _autoFillResponse |
filePath | filePath | string | autoFillResponse |
fileName | fileName | string | _autoFillResponse |
fileSuffix | fileSuffix | string | autoFillResponse |
fileName2d | fileName2d | string | _autoFillResponse |
filePath2d | filePath2d | string | autoFillResponse |
fileName3d | fileName3d | string | _autoFillResponse |
filePath3d | filePath3d | string | autoFillResponse |
priceNumb | priceNumb | string | _autoFillResponse |
receiveUuid | receiveUuid | string | autoFillResponse |
caigouNo | caigouNo | string | _autoFillResponse |
instockTime | instockTime | string | autoFillResponse |
workNo | workNo | string | _autoFillResponse |
urgentNeedNo | urgentNeedNo | string | autoFillResponse |
bomContractNo | bomContractNo | string | _autoFillResponse |
keyNo | keyNo | string | autoFillResponse |
ifGiveaway | ifGiveaway | string | _autoFillResponse |
orderNo | orderNo | string | autoFillResponse |
sendCheckNo | sendCheckNo | string | _autoFillResponse |
wholeDeliveryDate | wholeDeliveryDate | string | autoFillResponse |
deliveryDate | deliveryDate | string | _autoFillResponse |
customerPartNo | customerPartNo | string | autoFillResponse |
shipmentPlace | shipmentPlace | string | _autoFillResponse |
customerGradeName | customerGradeName | string | autoFillResponse |
checkBy | checkBy | string | _autoFillResponse |
checkName | checkName | string | autoFillResponse |
ynCheck | ynCheck | string | _autoFillResponse |
checkTime | checkTime | string | autoFillResponse |
returnNumb | returnNumb | string | _autoFillResponse |
returnReason | returnReason | string | autoFillResponse |
productName | productName | string | _autoFillResponse |
productPartNo | productPartNo | string | autoFillResponse |
caigouTime | caigouTime | string | _autoFillResponse |
orderType | orderType | string | autoFillResponse |
sender | sender | string | _autoFillResponse |
receiveMainTaskUuid | receiveMainTaskUuid | string | autoFillResponse |
receiveStatus | receiveStatus | string | _autoFillResponse |
waitReceiveNumb | waitReceiveNumb | string | autoFillResponse |
currentReceiveNumb | currentReceiveNumb | string | _autoFillResponse |
classifyId | classifyId | string | autoFillResponse |
classifyName | classifyName | string | _autoFillResponse |
ynReceive | ynReceive | string | autoFillResponse |
okNumb | okNumb | string | _autoFillResponse |
ngNumb | ngNumb | string | autoFillResponse |
backNumb | backNumb | string | _autoFillResponse |
hadBackNumb | hadBackNumb | string | autoFillResponse |
preProcessInstockType | preProcessInstockType | string | _autoFillResponse |
preProcessCode | preProcessCode | string | autoFillResponse |
currentProcessCode | currentProcessCode | string | _autoFillResponse |
currentProcessInstockType | currentProcessInstockType | string | autoFillResponse |
nextProcessCode | nextProcessCode | string | _autoFillResponse |
planDate | planDate | string | autoFillResponse |
outType | outType | string | _autoFillResponse |
caiGouNumb | caiGouNumb | string | autoFillResponse |
planWeight | planWeight | string | _autoFillResponse |
weight | weight | string | autoFillResponse |
instockConfirmNumb | instockConfirmNumb | string | _autoFillResponse |
purchaseUnitNo | purchaseUnitNo | string | autoFillResponse |
purchaseUnitName | purchaseUnitName | string | _autoFillResponse |
instockNo | instockNo | string | autoFillResponse |
receiveNo | receiveNo | string | _autoFillResponse |
confrimNo | confrimNo | string | autoFillResponse |
processingType | processingType | string | _autoFillResponse |
purRecordUuid | purRecordUuid | string | autoFillResponse |
recordId | recordId | string | _autoFillResponse |
purPrice | purPrice | string | autoFillResponse |
warehouseCode | warehouseCode | string | _autoFillResponse |
purRecordDetailUuid | purRecordDetailUuid | string | autoFillResponse |
shipOrg | shipOrg | string | _autoFillResponse |
金蝶云星空接口明细
- API:batchSave
- NAME:应付单新增
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
FBillNo | 单据编号 | {{backNo}} | |
FBillTypeID | 单据类型 | YFD02_SYS | |
FDOCUMENTSTATUS | 单据状态 | Z | |
FDATE | 业务日期 | 2023-01-01 | |
FENDDATE_H | 到期日 | | |
FSUPPLIERID | 供应商 | {{supplierUuid}} | |
FPURCHASEDEPTID | 部门 | YA032 | |
FSetAccountType | 立账类型 | 2 | |
FEntityDetail | 明细 | details | |
FEntityDetail.FTaxPrice | 含税单价 | findCollection find FTaxPrice from 24e696ed-eba8-3a76-ae50-08b496fb4093 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 24e696ed-eba8-3a76-ae50-08b496fb4093 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 | |
系统数据集成价值
通过数据集成平台可视化的快速配置调用接口打通四化智造MES(WEB)与金蝶云星空之间的数据接口,使得两个系统之间的对接更加快捷、稳定。轻易云数据集成平台打破信息孤岛、适配多种场景、降低运营成本、缩短开发周期、灵活调度配置是这种多系统数据打通时的特性优势。采用元数据模型驱动的低代码集成工具,基于系统预置的数据模型、映射、编排、日志、脚本等集成核心引擎,通过可视化配置,快速实现客户灵活多变的动态集成需求,让集成开发简单、执行过程可靠、问题风险可控。
