四化智造MES(WEB)与金蝶云星空对接集成余料入库查询(入库记录查询)打通生产退料单新增

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



四化智造MES(WEB)接口明细
- API:wms/outstockConfirm/queryZlConfirmRebackTaskDetail
- NAME:余料入库查询(入库记录查询)
- METHOD:GET
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
pageNum | 页码 | 1 | 页码 |
pageSize | 页数 | 100 | 页数 |
BeginTime | 开始时间 | {{LAST_SYNC_TIME datetime}} | 开始时间 |
EndTime | 结束时间 | {{CURRENT_TIME datetime}} | 结束时间 |
金蝶云星空接口明细
- 接口:batchSave
- 接口名称:生产退料单新增
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
FBillType | 单据类型 | string | |
FDate | 日期 | string | |
FStockOrgId | 收料组织 | string | |
FPrdOrgId | 生产组织 | string | |
FCurrId | 本位币 | string | |
F_UZMJ_Date | MES退料日期 | string | |
FEntity | 明细 | array | 明细 |
FEntity.FParentMaterialId | 产品编码 | string | |
FEntity.FMaterialId | 物料编码 | string | |
FEntity.FAppQty | 申请数量 | string | |
FEntity.FQty | 实退数量 | string | |
FEntity.FStockId | 仓库 | string | |
FEntity.FStockLocId | 仓位 | string | |
FEntity.FReturnReason | 退料原因 | string | |
FEntity.FStockStatusId | 库存状态 | string | |
FEntity.FMoBillNo | 生产订单编号 | string | |
FEntity.FMoEntryId | 生产订单分录内码 | string | |
FEntity.FMoId | 生产订单内码 | string | |
FEntity.FMoEntrySeq | 生产订单行号 | string | |
FEntity.FSrcBillType | 源单类型 | string | |
FEntity.FSrcBillNo | 源单编号 | string | |
FEntity.FEntryWorkShopId | 车间 | string | |
FEntity.FPPBomBillNo | 用料清单编号 | string | |
FEntity.FKeeperTypeId | 保管者类型 | string | |
FEntity.FKeeperId | 保管者 | string | |
FEntity.FOwnerId | 货主 | string | |
FEntity.FParentOwnerTypeId | 产品货主类型 | string | |
FEntity.FParentOwnerId | 产品货主 | string | |
FEntity.FLot | 批号 | string | |
FEntity.FMtoNo | 计划跟踪号 | string | |
FEntity.FPPBOMEntryId | 用料清单分录ID | string | |
FEntity.F_UZMJ_Text | MES补料单明细id | string | |
FEntity.F_UZMJ_Text1 | 派工案号 | string | |
FEntity.FEntity_Link | 关联关系 | array | |
FEntity.FEntity_Link.FEntity_Link_FSTableName | 源单表名 | string | |
FEntity.FEntity_Link.FEntity_Link_FRuleId | 下推关系 | string | |
FEntity.FEntity_Link.FEntity_Link_FSBillId | 源单ID | string | |
FEntity.FEntity_Link.FEntity_Link_FSId | 表体ID | string | |
FEntity.FormId | 业务对象表单Id | string | 必须填写金蝶的表单ID如😛UR_PurchaseOrder |
FEntity.Operation | 执行的操作 | string | |
FEntity.IsAutoSubmitAndAudit | 提交并审核 | bool | |
FEntity.IsVerifyBaseDataField | 验证基础资料 | bool | 是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
系统对接总览
将传统的统计分析转变为预测分析,从被动分析到主动分析,从非实时分析转变为实时分析,从结构化的数据变成多元化的数据。精准查询数据流同步状况,实时监管队列任务以及数据资产的有序管理。为业务赋能,降本增效,让企业能够更加合理的布局团队;结合业务需求实现与OA,CRM,WMS等系统之间的数据交流与同步,为企业定制自定义的数据管理方案,用技术拓展商业边界,为新业务、新部门提供成长空间。
