四化智造MES(WEB)对接打通金蝶云星空原材料/标准件采购查询(待采购)接口与采购退货新增接口

对接系统四化智造MES(WEB)
MES建立统一平台上通过物料防错防错、流程防错、生产统计、异常处理、信息采集和全流程追溯等精益生产和精细化管理,帮助企业合理安排生产排程、优化工艺流程、改善产品质量、降低能源损耗、降低制造成本,提高执行效率,全面提升和改善企业制造能力,为企业打造可视化、透明化、数字化、智能化工厂。通过手机移动APP实时的数据查询和分析报表,为企业高层提供快速决策支持,以便针对市场变化快速准确地作出反应,综合提升企业的市场竞争力。
对接目标平台:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
数据对接方案
通过数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:四化智造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 | |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:采购退货新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FBillNo | 单据编号 | string | {{backNo}} |
FDate | 退料日期 | string | {{createTime}} |
FSupplierID | 供应商 | string | {{supplierUuid}} |
FStockOrgId | 退料组织 | string | 1 |
FSettleOrgId | 结算组织 | string | 1 |
FSETTLETYPEID | 结算方式 | string | JSFS04_SYS |
FSettleCurrId | 结算币别 | string | PRE001 |
FPayOrgId | 付款组织 | string | 1 |
FOwnerTypeIdHead | 货主类型 | string | BD_OwnerOrg |
FOwnerIdHead | 货主 | string | 1 |
F_UZMJ_Base | 第二级审批人 | string | YZ000176 |
F_lyzx_Base1 | 质检员 | string | N0000911 |
F_UZMJ_Text | 退料原因 | string | {{returnReason}} |
F_UZMJ_Text1 | 是否核对 | string | 否 |
FPURMRBENTRY | 明细信息 | array | details |
FPURMRBENTRY.FMaterialId | 物料编码 | string | {{details.partNo}} |
FPURMRBENTRY.FRMREALQTY | 实退数量 | string | {{details.returnNumb}} |
FPURMRBENTRY.FStockId | 仓库 | string | F2313A |
FPURMRBENTRY.FStockLocId | 仓位 | string | H-1 |
FPURMRBENTRY.FLot | 批号 | string | _function case _findCollection find FIsBatchManage from 5e1c2a3d-1e33-32db-9fdc-9af29dadb99f where FNumber={{details.partNo}} endFind when true then '00' else '' end |
FPURMRBENTRY.FTAXPRICE | 含税单价 | string | _findCollection find FTaxPrice from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where F_UZMJ_Text={{details.purRecordDetailUuid}} |
FPURMRBENTRY.FSRCBillNo | 源单编号 | string | {{details.confrimNo}} |
FPURMRBENTRY.FSRCBillTypeId | 源单类型 | string | STK_InStock |
FPURMRBENTRY.FMtoNo | 计划跟踪号 | string | {{details.bomNo}} |
FPURMRBENTRY.FGiveAway | 是否赠品 | string | findCollection find FGiveAway from ff38e800-ab43-3ca5-9629-cf20357dd861 where FBillNo={{confrimNo}} F_UZMJ_Text9={{details.connectUuid}} |
FPURMRBENTRY.FORDERNO | 订单号 | string | {{details.caigouNo}} |
FPURMRBENTRY.F_UZMJ_Text2 | MES入库明细行id | string | {{details.connectUuid}} |
FPURMRBENTRY.FPURMRBENTRY_Link | 关联关系表 | array | |
FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FRuleId | 转换规则 | string | d5dd2b3d-57d5-45e2-b7e2-e53a04ebecaf |
FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSTableName | 源单表 | string | T_STK_INSTOCKENTRY |
FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSBillId | 源单内码 | string | _findCollection find FID from ff38e800-ab43-3ca5-9629-cf20357dd861 where FBillNo={{confrimNo}} |
FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSId | 源单分录内码 | string | _findCollection find FInStockEntry_FEntryId from ff38e800-ab43-3ca5-9629-cf20357dd861 where FBillNo={{confrimNo}} F_UZMJ_Text9={{details.connectUuid}} |
FPURMRBENTRY.FormId | 业务对象表单Id | string | PUR_MRB |
FPURMRBENTRY.Operation | 执行的操作 | string | batchSave |
FPURMRBENTRY.IsAutoSubmitAndAudit | 提交并审核 | bool | true |
FPURMRBENTRY.IsVerifyBaseDataField | 验证基础资料 | bool | true |
FPURMRBENTRY.SubSystemId | 系统模块 | string | 21 |
数据对接价值
当企业规模逐渐增大时,作为支撑业务运营的IT建设也变得越来越重要,不过往往企业的IT建设过程中会发现某一家软件供应商基本不能完全覆盖企业所有的业务运营流程,这样的结果就是,企业上的IT系统很多很全,从ERP到HR、CRM、PDM、OA等,貌似所有的业务都覆盖到了,但实际上因为这些系统的不集成,而形成了企业很多新的信息孤岛,非常不利于企业的后续的管理和战略发展。从现今和往后的发展趋势来看,也不可避免会遇到上述问题,毕竟企业经营的多样化,并不是所有的业务都能在一个系统中完成,所以我们必须在产品架构上支持更好的与外部系统进行协同。通过轻易云集成平台统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。
