四化智造MES(WEB)与金蝶云星空对接集成原材料/标准件采购查询(待采购)连通采购退货新增(委外采购退料单-采购退料单-run)

数据源系统:四化智造MES(WEB)
MES建立统一平台上通过物料防错防错、流程防错、生产统计、异常处理、信息采集和全流程追溯等精益生产和精细化管理,帮助企业合理安排生产排程、优化工艺流程、改善产品质量、降低能源损耗、降低制造成本,提高执行效率,全面提升和改善企业制造能力,为企业打造可视化、透明化、数字化、智能化工厂。通过手机移动APP实时的数据查询和分析报表,为企业高层提供快速决策支持,以便针对市场变化快速准确地作出反应,综合提升企业的市场竞争力。
接入系统:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
数据集成方案配置
通过轻易云系统数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:四化智造MES(WEB),并且选择对应的连接器(关于四化智造MES(WEB)的接口连接器如何配置可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息)。选择对应的原材料/标准件采购查询(待采购)接口作为数据对接来源。然后再通过写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器。选择对应的采购退货新增接口作为数据写入动作,既可以完成第一步的数据对接配置;打破跨系统连接,让数据轻易互通成为现实。

四化智造MES(WEB)接口明细
- 接口:wms/instockConfirm/queryConfirmRebackTaskDetail
- 接口名称:原材料/标准件采购查询(待采购)
- 接口方法:GET
请求参数
字段 | 名称 | 类型 | 描述 |
pageNum | 页码 | string | 页码 |
pageSize | 页数 | string | 页数 |
rebackStartTime | 开始时间 | string | 开始时间 |
rebackEndTime | 结束时间 | string | 结束时间 |
taskType | 采购类型 | string | 1:标准件2:委外 3:原材料 |
响应参数
字段 | 名称 | 类型 | 描述 |
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 |
id | id | string | autoFillResponse |
backTaskUuid | backTaskUuid | string | _autoFillResponse |
backNumb | backNumb | string | autoFillResponse |
returnNumb | returnNumb | string | _autoFillResponse |
backWeight | backWeight | string | autoFillResponse |
connectUuid | connectUuid | string | _autoFillResponse |
bomNo | bomNo | string | autoFillResponse |
dispatchPrefix | dispatchPrefix | string | _autoFillResponse |
receiveMainTaskUuid | receiveMainTaskUuid | string | autoFillResponse |
status | status | string | _autoFillResponse |
receiveStatus | receiveStatus | string | autoFillResponse |
receiveNumb | receiveNumb | string | _autoFillResponse |
waitReceiveNumb | waitReceiveNumb | string | autoFillResponse |
currentReceiveNumb | currentReceiveNumb | string | _autoFillResponse |
warehouseUuid | warehouseUuid | string | autoFillResponse |
warehouseName | warehouseName | 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 |
classifyId | classifyId | string | autoFillResponse |
classifyName | classifyName | string | _autoFillResponse |
delFlag | delFlag | string | autoFillResponse |
returnReason | returnReason | string | _autoFillResponse |
ynReceive | ynReceive | string | autoFillResponse |
matterialType | matterialType | string | _autoFillResponse |
okNumb | okNumb | string | autoFillResponse |
ngNumb | ngNumb | 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 |
businessNo | businessNo | string | _autoFillResponse |
warehouseAdministorId | warehouseAdministorId | string | autoFillResponse |
supplierName | supplierName | string | _autoFillResponse |
supplierUuid | supplierUuid | string | autoFillResponse |
taskType | taskType | string | _autoFillResponse |
cuttingSize | cuttingSize | string | autoFillResponse |
customerOrderNo | customerOrderNo | string | _autoFillResponse |
modeNo | modeNo | string | autoFillResponse |
outType | outType | string | _autoFillResponse |
serCode | serCode | string | autoFillResponse |
outContent | outContent | string | _autoFillResponse |
processContent | processContent | string | autoFillResponse |
locationUuid | locationUuid | string | _autoFillResponse |
locationNo | locationNo | string | autoFillResponse |
caiGouNumb | caiGouNumb | string | _autoFillResponse |
taskResource | taskResource | string | autoFillResponse |
patterNo | patterNo | string | _autoFillResponse |
oneWeight | oneWeight | string | autoFillResponse |
receiveWeight | receiveWeight | string | _autoFillResponse |
planWeight | planWeight | 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 |
weight | weight | string | _autoFillResponse |
priceNumb | priceNumb | string | autoFillResponse |
instockConfirmNumb | instockConfirmNumb | string | _autoFillResponse |
processName | processName | string | autoFillResponse |
purchaseUnitNo | purchaseUnitNo | string | _autoFillResponse |
purchaseUnitName | purchaseUnitName | string | autoFillResponse |
instockNo | instockNo | 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 |
productName | productName | string | autoFillResponse |
productPartNo | productPartNo | string | _autoFillResponse |
caigouTime | caigouTime | string | autoFillResponse |
orderType | orderType | string | _autoFillResponse |
checkNumb | checkNumb | string | autoFillResponse |
rebackType | rebackType | string | _autoFillResponse |
backNo | backNo | string | autoFillResponse |
customerUuid | customerUuid | string | _autoFillResponse |
customerName | customerName | string | autoFillResponse |
customerFullName | customerFullName | string | _autoFillResponse |
supplierFullName | supplierFullName | string | autoFillResponse |
connectMainUuid | connectMainUuid | string | _autoFillResponse |
connectUuid | 明细行-id | string | |
金蝶云星空接口明细
- 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治理以及数据传输交换。通过轻易云预置的各种适配器组件,连接现有各孤立应用系统,以图形化、拖拽方式构建集成流程和服务,提高应用系统集成工作效率,降低异构系统集成风险。针对未来可能出现的业务需求变更,在应用集成平台上进行动态调整,实现各应用系统之间的集成策略平滑升级。
