四化智造MES(WEB)与金蝶云星空对接集成原材料/标准件采购查询(待采购)连通采购订单新增(原材料采购-采购订单(变更)-TEST)
对接系统四化智造MES(WEB)
MES建立统一平台上通过物料防错防错、流程防错、生产统计、异常处理、信息采集和全流程追溯等精益生产和精细化管理,帮助企业合理安排生产排程、优化工艺流程、改善产品质量、降低能源损耗、降低制造成本,提高执行效率,全面提升和改善企业制造能力,为企业打造可视化、透明化、数字化、智能化工厂。通过手机移动APP实时的数据查询和分析报表,为企业高层提供快速决策支持,以便针对市场变化快速准确地作出反应,综合提升企业的市场竞争力。
接入系统:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
系统对接接口配置
集成方案是整个轻易云集成平台的核心,每一个集成方案代表一种业务的对接策略(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息),用户可以根据业务的不同新建多个不同规则的集成方案。比如:采购订单同步,线上销售出库同步,线下销售出库同步。一个集成方案必须要配置源系统:四化智造MES(WEB),源系统 API:原材料/标准件采购查询(待采购),目标系统:金蝶云星空,目标系统 API采购订单新增。在新增集成方案之前需要确定两个系统的连接器都已经配置完成。
四化智造MES(WEB)接口明细
- API:mbs/pur/record/purDetailList
- NAME:原材料/标准件采购查询(待采购)
- METHOD:GET
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
---|---|---|---|
pageNum | 页码 | 1 | 页码 |
pageSize | 页数 | 100 | 页数 |
updBeginTime | 开始时间 | {{LAST_SYNC_TIME datetime}} | 开始时间 |
updEndTime | 结束时间 | {{CURRENT_TIME datetime}} | 结束时间 |
purType | 采购类型 | 3 | 1:标准件2:委外 3:原材料 |
updateTime | 修改时间 | {{LAST_SYNC_TIME datetime}} |
响应参数
接口字段 | 字段名称 | 预设值 | 描述 |
---|---|---|---|
mchId | mchId | autoFillResponse | |
createBy | createBy | _autoFillResponse | |
createName | createName | autoFillResponse | |
checkLabel | checkLabel | _autoFillResponse | |
createTime | createTime | autoFillResponse | |
updateBy | updateBy | _autoFillResponse | |
updateName | updateName | autoFillResponse | |
updateTime | updateTime | _autoFillResponse | |
remark | remark | autoFillResponse | |
companyCode | companyCode | _autoFillResponse | |
currentUserBy | currentUserBy | autoFillResponse | |
currentUserName | currentUserName | _autoFillResponse | |
currentTime | currentTime | autoFillResponse | |
filtrationBomStatus | filtrationBomStatus | _autoFillResponse | |
id | id | autoFillResponse | |
recordId | recordId | _autoFillResponse | |
detailId | detailId | autoFillResponse | |
purId | purId | _autoFillResponse | |
coefficient | coefficient | autoFillResponse | |
haveDeliveryNum | haveDeliveryNum | _autoFillResponse | |
supplierUuid | supplierUuid | autoFillResponse | |
patterNo | patterNo | _autoFillResponse | |
customerDeliveryDate | customerDeliveryDate | autoFillResponse | |
supplierName | supplierName | _autoFillResponse | |
supplierFullName | supplierFullName | autoFillResponse | |
purRecordUuid | purRecordUuid | _autoFillResponse | |
purRecordDetailUuid | purRecordDetailUuid | autoFillResponse | |
purTaskUuid | purTaskUuid | _autoFillResponse | |
takeApartDetailUuid | takeApartDetailUuid | autoFillResponse | |
orderUuid | orderUuid | _autoFillResponse | |
bomUuid | bomUuid | autoFillResponse | |
planBomUuid | planBomUuid | _autoFillResponse | |
partNo | partNo | autoFillResponse | |
processName | processName | _autoFillResponse | |
gradeName | gradeName | autoFillResponse | |
picNo | picNo | _autoFillResponse | |
quality | quality | autoFillResponse | |
purType | purType | _autoFillResponse | |
outsourcedType | outsourcedType | autoFillResponse | |
outProcessCode | outProcessCode | _autoFillResponse | |
heatTreatment | heatTreatment | autoFillResponse | |
bomNo | bomNo | _autoFillResponse | |
keyNo | keyNo | autoFillResponse | |
locationCode | locationCode | _autoFillResponse | |
barcode | barcode | autoFillResponse | |
purchaseNum | purchaseNum | _autoFillResponse | |
purPrice | purPrice | autoFillResponse | |
purTotalPrice | purTotalPrice | _autoFillResponse | |
reqDate | reqDate | autoFillResponse | |
productUuid | productUuid | _autoFillResponse | |
outsourcedWay | outsourcedWay | autoFillResponse | |
outsourcedWayList | outsourcedWayList | _autoFillResponse | |
locationUuid | locationUuid | autoFillResponse | |
stockNum | stockNum | _autoFillResponse | |
deliveryDate | deliveryDate | autoFillResponse | |
reqNo | reqNo | _autoFillResponse | |
deptName | deptName | autoFillResponse | |
totalDemandNum | totalDemandNum | _autoFillResponse | |
productNo | productNo | autoFillResponse | |
productName | productName | _autoFillResponse | |
orderNo | orderNo | autoFillResponse | |
orderType | orderType | _autoFillResponse | |
customerName | customerName | autoFillResponse | |
projectCode | projectCode | _autoFillResponse | |
purNo | purNo | autoFillResponse | |
purReason | purReason | _autoFillResponse | |
purStatus | purStatus | autoFillResponse | |
backStatus | backStatus | _autoFillResponse | |
customerOrderNo | customerOrderNo | autoFillResponse | |
deptId | deptId | _autoFillResponse | |
receiveBy | receiveBy | autoFillResponse | |
receiveTime | receiveTime | _autoFillResponse | |
receiveName | receiveName | autoFillResponse | |
takeApartType | takeApartType | _autoFillResponse | |
spec | spec | autoFillResponse | |
brand | brand | _autoFillResponse | |
materialInfoNo | materialInfoNo | autoFillResponse | |
craftId | craftId | _autoFillResponse | |
rawPurchaseWeight | rawPurchaseWeight | autoFillResponse | |
rawMaterialInfoNo | rawMaterialInfoNo | _autoFillResponse | |
purTaskType | purTaskType | autoFillResponse | |
ifMold | ifMold | _autoFillResponse | |
taxPrice | taxPrice | autoFillResponse | |
taxTotalPrice | taxTotalPrice | _autoFillResponse | |
untaxedPrice | untaxedPrice | autoFillResponse | |
untaxedTotalPrice | untaxedTotalPrice | _autoFillResponse | |
taxRate | taxRate | autoFillResponse | |
customerPartNo | customerPartNo | _autoFillResponse | |
stockTime | stockTime | autoFillResponse | |
purchaseUnitNo | purchaseUnitNo | _autoFillResponse | |
purchaseUnitName | purchaseUnitName | autoFillResponse | |
returnsNumber | returnsNumber | _autoFillResponse | |
replaceModeNo | replaceModeNo | autoFillResponse | |
secondPurType | secondPurType | _autoFillResponse | |
isSecondPur | isSecondPur | autoFillResponse | |
checkedNum | checkedNum | _autoFillResponse | |
processingFee | processingFee | autoFillResponse | |
itemCategory | itemCategory | _autoFillResponse | |
stage | stage | autoFillResponse | |
projectName | projectName | _autoFillResponse | |
rawMaterialInfo | rawMaterialInfo | autoFillResponse | |
rawPartNo | rawPartNo | _autoFillResponse | |
rawGradeName | rawGradeName | autoFillResponse | |
rawSpec | rawSpec | _autoFillResponse | |
rawBrand | rawBrand | autoFillResponse | |
rawQuality | rawQuality | _autoFillResponse | |
rawQuantity | rawQuantity | autoFillResponse | |
nuclearPriceTaskUuid | nuclearPriceTaskUuid | _autoFillResponse | |
detailBackStatus | detailBackStatus | autoFillResponse | |
unitName | unitName | _autoFillResponse | |
processingType | processingType | autoFillResponse | |
beginReqDate | beginReqDate | _autoFillResponse | |
endReqDate | endReqDate | autoFillResponse | |
beginReceiveTime | beginReceiveTime | _autoFillResponse | |
endReceiveTime | endReceiveTime | autoFillResponse | |
beginReplyTime | beginReplyTime | _autoFillResponse | |
endReplyTime | endReplyTime | autoFillResponse | |
isAbnormal | isAbnormal | _autoFillResponse | |
bomVersion | bomVersion | autoFillResponse | |
orderNum | orderNum | _autoFillResponse | |
workNo | workNo | autoFillResponse | |
bomContractNo | bomContractNo | _autoFillResponse | |
urgentNeedNo | urgentNeedNo | autoFillResponse | |
bomRemark | bomRemark | _autoFillResponse | |
distributeNum | distributeNum | autoFillResponse | |
distributeDate | distributeDate | _autoFillResponse | |
purRevokeUuid | purRevokeUuid | autoFillResponse | |
businessUuid | businessUuid | _autoFillResponse | |
filePath | filePath | autoFillResponse | |
fileName | fileName | _autoFillResponse | |
fileSuffix | fileSuffix | autoFillResponse | |
fileName2d | fileName2d | _autoFillResponse | |
filePath2d | filePath2d | autoFillResponse | |
fileName3d | fileName3d | _autoFillResponse | |
filePath3d | filePath3d | autoFillResponse | |
changeRemark | changeRemark | _autoFillResponse | |
changeColor | changeColor | autoFillResponse | |
invTypeName | invTypeName | _autoFillResponse | |
rawUnitName | rawUnitName | autoFillResponse | |
bomStatus | bomStatus | _autoFillResponse | |
bomClose | bomClose | autoFillResponse | |
shipmentPlace | shipmentPlace | _autoFillResponse | |
realName | realName | autoFillResponse | |
procuredNum | procuredNum | _autoFillResponse | |
taskPurType | taskPurType | autoFillResponse | |
moldNo | moldNo | _autoFillResponse | |
purCreateName | purCreateName | autoFillResponse | |
uploadFileTime | uploadFileTime | _autoFillResponse | |
replyTime | replyTime | autoFillResponse | |
beginPurchaseTime | beginPurchaseTime | _autoFillResponse | |
endPurchaseTime | endPurchaseTime | autoFillResponse | |
dispatchNo | dispatchNo | _autoFillResponse | |
orderGradeName | orderGradeName | autoFillResponse | |
orderPartNo | orderPartNo | _autoFillResponse | |
parentMaterialInfoNo | parentMaterialInfoNo | autoFillResponse | |
closeReason | closeReason | _autoFillResponse | |
closeUser | closeUser | autoFillResponse | |
closeTime | closeTime | _autoFillResponse | |
revokeReason | revokeReason | autoFillResponse | |
revokeName | revokeName | _autoFillResponse | |
revokeTime | revokeTime | autoFillResponse | |
detailStatus | detailStatus | _autoFillResponse | |
customerAndUrgent | customerAndUrgent | autoFillResponse | |
orderNoBom | orderNoBom | _autoFillResponse | |
singleSetNum | singleSetNum | autoFillResponse | |
receiveNum | receiveNum | _autoFillResponse | |
minPurchaseNum | minPurchaseNum | _autoFillResponse |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:采购订单新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
---|---|---|---|
FID | FID | string | findCollection find FID from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where FBillNo={{purNo}} |
FPurchaseOrgId | 采购组织 | string | 1 |
FPOOrderEntry | 明细信息 | array | details |
FPOOrderEntry.FEntryId | 明细-id | string | _findCollection find FPOOrderEntry_FEntryId from dfdc7780-aeb2-375a-89fd-ef3cac00cd48 where F_UZMJ_Text={{details.purRecordDetailUuid}} FMaterialId_FNumber={{details.rawPartNo}} |
FPOOrderEntry.FMaterialId | 物料编码 | string | {{details.rawPartNo}} |
FPOOrderEntry.FQty | 采购数量 | string | {{details.purchaseNum}} |
FPOOrderEntry.FPrice | 单价 | string | {{details.untaxedPrice}} |
FPOOrderEntry.FEntryDiscountRate | 折扣率% | string | |
FPOOrderEntry.FEntryNote | 备注 | string | |
FPOOrderEntry.FTaxPrice | 含税单价 | string | {{details.purPrice}} |
FPOOrderEntry.FEntryTaxAmount | 税额 | string | |
FPOOrderEntry.FRowCost | 行费用 | string | |
FPOOrderEntry.FDeliveryDate | 交货日期 | string | {{details.reqDate}} |
FPOOrderEntry.F_sh_id | 四化采购订单id | string | {{purRecordUuid}} |
FPOOrderEntry.FormId | 业务对象表单Id | string | PUR_PurchaseOrder |
FPOOrderEntry.Operation | 执行的操作 | string | BatchSave |
FPOOrderEntry.IsAutoSubmitAndAudit | 提交并审核 | bool | false |
FPOOrderEntry.IsVerifyBaseDataField | 验证基础资料 | bool | true |
系统打通概况
全新的API数据集成模式,赋能企业业务创新 传统企业集成主要采用点对点或ESB集成方式,基于全新API战略中台的API新型集成方式通过解耦系统资源,降低系统间对接难度,实现快速业务需求响应,提升对接效率,助力企业满足快速业务交付需求,实现业务创新。通过构建API生态,助力能力开放与共享 基于API战略中台梳理并整合内部API资源与IT资产,可实现内部资源共享,满足内部开发人员资源使用需求,例如:金蝶云星空与四化智造MES(WEB)之间数据集成;并将API资源对外可控开放,打造面向开发者的生态服务,为您打通自身和上下游合作伙伴,创造共赢价值链。开展API战略中台,重塑IT 帮助您基于内部资源构建不同业务能力中心,打造企业统一API战略中台,赋能企业发展,实现对业务频繁变化的快速响应。同时您在能力中心基础上构建新业务时,无需从“零”组建各业务模块,提升开发效率,重塑IT组织及交付能力。