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

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

四化智造MES(WEB)接口明细
- 接口:wms/instockConfirm/queryConfirmRebackTaskDetail
- 接口名称:原材料/标准件采购查询(待采购)
- 接口方法:GET
请求参数
字段名称类型描述
pageNum页码string页码
pageSize页数string页数
rebackStartTime开始时间string开始时间
rebackEndTime结束时间string结束时间
taskType采购类型string1:标准件2:委外 3:原材料
响应参数
字段名称类型描述
mchIdmchIdstring
autoFillResponse
createBycreateBystring_autoFillResponse
createNamecreateNamestring
autoFillResponse
checkLabelcheckLabelstring_autoFillResponse
createTimecreateTimestring
autoFillResponse
updateByupdateBystring_autoFillResponse
updateNameupdateNamestring
autoFillResponse
updateTimeupdateTimestring_autoFillResponse
remarkremarkstring
autoFillResponse
companyCodecompanyCodestring_autoFillResponse
currentUserBycurrentUserBystring
autoFillResponse
currentUserNamecurrentUserNamestring_autoFillResponse
currentTimecurrentTimestring
autoFillResponse
filtrationBomStatusfiltrationBomStatusstring_autoFillResponse
ididstring
autoFillResponse
backTaskUuidbackTaskUuidstring_autoFillResponse
backNumbbackNumbstring
autoFillResponse
returnNumbreturnNumbstring_autoFillResponse
backWeightbackWeightstring
autoFillResponse
connectUuidconnectUuidstring_autoFillResponse
bomNobomNostring
autoFillResponse
dispatchPrefixdispatchPrefixstring_autoFillResponse
receiveMainTaskUuidreceiveMainTaskUuidstring
autoFillResponse
statusstatusstring_autoFillResponse
receiveStatusreceiveStatusstring
autoFillResponse
receiveNumbreceiveNumbstring_autoFillResponse
waitReceiveNumbwaitReceiveNumbstring
autoFillResponse
currentReceiveNumbcurrentReceiveNumbstring_autoFillResponse
warehouseUuidwarehouseUuidstring
autoFillResponse
warehouseNamewarehouseNamestring_autoFillResponse
partNopartNostring
autoFillResponse
gradeNamegradeNamestring_autoFillResponse
qualityqualitystring
autoFillResponse
brandbrandstring_autoFillResponse
specspecstring
autoFillResponse
picNopicNostring_autoFillResponse
picVersionpicVersionstring
autoFillResponse
unitNounitNostring_autoFillResponse
instockNumbinstockNumbstring
autoFillResponse
processCodeprocessCodestring_autoFillResponse
classifyIdclassifyIdstring
autoFillResponse
classifyNameclassifyNamestring_autoFillResponse
delFlagdelFlagstring
autoFillResponse
returnReasonreturnReasonstring_autoFillResponse
ynReceiveynReceivestring
autoFillResponse
matterialTypematterialTypestring_autoFillResponse
okNumbokNumbstring
autoFillResponse
ngNumbngNumbstring_autoFillResponse
hadBackNumbhadBackNumbstring
autoFillResponse
preProcessInstockTypepreProcessInstockTypestring_autoFillResponse
preProcessCodepreProcessCodestring
autoFillResponse
currentProcessCodecurrentProcessCodestring_autoFillResponse
currentProcessInstockTypecurrentProcessInstockTypestring
autoFillResponse
nextProcessCodenextProcessCodestring_autoFillResponse
planDateplanDatestring
autoFillResponse
businessNobusinessNostring_autoFillResponse
warehouseAdministorIdwarehouseAdministorIdstring
autoFillResponse
supplierNamesupplierNamestring_autoFillResponse
supplierUuidsupplierUuidstring
autoFillResponse
taskTypetaskTypestring_autoFillResponse
cuttingSizecuttingSizestring
autoFillResponse
customerOrderNocustomerOrderNostring_autoFillResponse
modeNomodeNostring
autoFillResponse
outTypeoutTypestring_autoFillResponse
serCodeserCodestring
autoFillResponse
outContentoutContentstring_autoFillResponse
processContentprocessContentstring
autoFillResponse
locationUuidlocationUuidstring_autoFillResponse
locationNolocationNostring
autoFillResponse
caiGouNumbcaiGouNumbstring_autoFillResponse
taskResourcetaskResourcestring
autoFillResponse
patterNopatterNostring_autoFillResponse
oneWeightoneWeightstring
autoFillResponse
receiveWeightreceiveWeightstring_autoFillResponse
planWeightplanWeightstring
autoFillResponse
projectCodeprojectCodestring_autoFillResponse
stagestagestring
autoFillResponse
itemCategoryitemCategorystring_autoFillResponse
filePathfilePathstring
autoFillResponse
fileNamefileNamestring_autoFillResponse
fileSuffixfileSuffixstring
autoFillResponse
fileName2dfileName2dstring_autoFillResponse
filePath2dfilePath2dstring
autoFillResponse
fileName3dfileName3dstring_autoFillResponse
filePath3dfilePath3dstring
autoFillResponse
weightweightstring_autoFillResponse
priceNumbpriceNumbstring
autoFillResponse
instockConfirmNumbinstockConfirmNumbstring_autoFillResponse
processNameprocessNamestring
autoFillResponse
purchaseUnitNopurchaseUnitNostring_autoFillResponse
purchaseUnitNamepurchaseUnitNamestring
autoFillResponse
instockNoinstockNostring_autoFillResponse
caigouNocaigouNostring
autoFillResponse
instockTimeinstockTimestring_autoFillResponse
workNoworkNostring
autoFillResponse
urgentNeedNourgentNeedNostring_autoFillResponse
bomContractNobomContractNostring
autoFillResponse
keyNokeyNostring_autoFillResponse
ifGiveawayifGiveawaystring
autoFillResponse
orderNoorderNostring_autoFillResponse
sendCheckNosendCheckNostring
autoFillResponse
wholeDeliveryDatewholeDeliveryDatestring_autoFillResponse
deliveryDatedeliveryDatestring
autoFillResponse
customerPartNocustomerPartNostring_autoFillResponse
shipmentPlaceshipmentPlacestring
autoFillResponse
customerGradeNamecustomerGradeNamestring_autoFillResponse
checkBycheckBystring
autoFillResponse
checkNamecheckNamestring_autoFillResponse
ynCheckynCheckstring
autoFillResponse
checkTimecheckTimestring_autoFillResponse
productNameproductNamestring
autoFillResponse
productPartNoproductPartNostring_autoFillResponse
caigouTimecaigouTimestring
autoFillResponse
orderTypeorderTypestring_autoFillResponse
checkNumbcheckNumbstring
autoFillResponse
rebackTyperebackTypestring_autoFillResponse
backNobackNostring
autoFillResponse
customerUuidcustomerUuidstring_autoFillResponse
customerNamecustomerNamestring
autoFillResponse
customerFullNamecustomerFullNamestring_autoFillResponse
supplierFullNamesupplierFullNamestring
autoFillResponse
connectMainUuidconnectMainUuidstring_autoFillResponse
connectUuid明细行-idstring
金蝶云星空接口明细
- 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_Text2MES入库明细行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业务对象表单IdPUR_MRB必须填写金蝶的表单ID如😛UR_PurchaseOrder
FPURMRBENTRY.Operation执行的操作batchSave
FPURMRBENTRY.IsAutoSubmitAndAudit提交并审核true
FPURMRBENTRY.IsVerifyBaseDataField验证基础资料true是否验证所有的基础资料有效性,布尔类,默认false(非必录)
FPURMRBENTRY.SubSystemId系统模块21默认仓库模块
数据对接价值
通过轻易云集成平台系列产品线可以协助企业轻易快捷的构建基于微服务架构的新一代企业服务总线,传统基于SOA架构的ESB产品主要解决的数据集成和协议转换等基础功能,已完全不能满足基于微服务架构、混合云集成架构、跨组织、跨单位的总线解决方案。 而轻易云集成平台的每个产品线都是新一代的按照最新的互联网架构模式进行研发的产品线,能快速协助企业从传统的SOA架构转向微服务架构的服务总线解决方案。
