金蝶云星空与金蝶云星空对接集成逐个单据查询连通审核单据(kd-自动审核生产补料单-run)

来源系统:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
对接目标平台:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
接口方案配置
使用轻易云系统数据集成平台对应的模块:数据集成方案。然后选择开始创建数据集成方案。在方案配置表单中选择对应的源业务系统:金蝶云星空,然后选择对应的连接器。选择对应的逐个单据查询作为数据对接来源。然后再通过写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器(关于金蝶云星空的接口如何配置可以在轻易云数据集成社区论坛中找到相关信息,选择好对应的审核单据接口作为数据写入动作,既可以完成第一步的数据对接配置。



金蝶云星空接口明细
- 调用接口:ExecuteBillQuery
- 接口名称:逐个单据查询
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
Limit | 最大行数 | string | {{PAGINATION_PAGE_SIZE}} |
StartRow | 开始行索引 | string | {{PAGINATION_START_ROW}} |
TopRowCount | 返回总行数 | int | |
FilterString | 过滤条件 | string | FDocumentStatus = 'A' and FCreateDate >= '{{LAST_SYNC_TIME datetime}}' and FCreatorId.FName = 'MES' |
FieldKeys | 需查询的字段key集合 | array | |
FormId | 业务对象表单Id | string | PRD_FeedMtrl |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
FBillType | 单据类型 | string | SCBLD01_SYS |
FDate | 日期 | string | function NOW() |
FStockOrgId | 发料组织 | string | 1 |
FPrdOrgId | 生产组织 | string | 1 |
FCurrId | 本位币 | string | PRE001 |
F_UZMJ_Date | MES补料单日期 | string | {{createTime date}} |
F_UZMJ_Text | 是否核对 | string | 否 |
FEntity | 明细 | array | |
FEntity.FParentMaterialId | 产品编码 | string | _findCollection find FMaterialId_FNumber from e011a156-9fc9-3c76-9114-76006d5e72c9 where FBillNo={{dispatchPrefix}} |
FEntity.FMaterialId | 物料编码 | string | {{partNo}} |
FEntity.FAppQty | 申请数量 | string | {{confirmNumb}} |
FEntity.FActualQty | 实发数量 | string | {{confirmNumb}} |
FEntity.FStockId | 仓库 | string | F2313A |
FEntity.FStockLocId | 仓位 | string | H-1 |
FEntity.FFeedReasonId | 补料原因 | string | BLYY01_SYS |
FEntity.FStockStatusId | 库存状态 | string | findCollection find DefStockStatusId_Number from 435f6304-1f25-37f2-bf14-b13aec7d9a5d where Number={{warehouseCode}} |
FEntity.FMoBillNo | 生产订单编号 | string | {{dispatchPrefix}} |
FEntity.FMoEntryId | 生产订单分录内码 | string | _findCollection find FTreeEntity_FEntryId from e011a156-9fc9-3c76-9114-76006d5e72c9 where FBillNo={{dispatchPrefix}} |
FEntity.FMoId | 生产订单内码 | string | findCollection find FID from e011a156-9fc9-3c76-9114-76006d5e72c9 where FBillNo={{dispatchPrefix}} |
FEntity.FMoEntrySeq | 生产订单行号 | string | 1 |
FEntity.FPPBomBillNo | 用料清单编号 | string | _findCollection find FBillNo from e39ddaed-4411-3ab3-a263-815f914b04cf where FMOBillNO={{dispatchPrefix}} |
FEntity.FEntryWorkShopId | 车间 | string | YA032 |
FEntity.FKeeperTypeId | 保管者类型 | string | BD_KeeperOrg |
FEntity.FKeeperId | 保管者 | string | 1 |
FEntity.FOwnerId | 货主 | string | 1 |
FEntity.FEntrySrcInterId | 系统源单内码 | string | findCollection find FID from e39ddaed-4411-3ab3-a263-815f914b04cf where FMOBillNO={{dispatchPrefix}} |
FEntity.FEntrySrcBillType | 系统源单类型 | string | PRD_PPBOM |
FEntity.FEntrySrcBillNo | 系统源单编号 | string | _findCollection find FBillNo from e39ddaed-4411-3ab3-a263-815f914b04cf where FMOBillNO={{dispatchPrefix}} |
FEntity.FParentOwnerTypeId | 产品货主类型 | string | BD_OwnerOrg |
FEntity.FParentOwnerId | 产品货主 | string | 1 |
FEntity.FLot | 批号 | string | _function case _findCollection find FIsBatchManage from 80f3f76d-b3eb-3e61-96cd-169790878567 where FNumber={{details.partNo}} _endFind when true then '00' else '' end |
FEntity.FMtoNo | 计划跟踪号 | string | {{bomNo}} |
金蝶云星空接口明细
- 调用接口:Audit
- 接口名称:审核单据
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FormId | 业务对象表单Id | string | PRD_FeedMtrl |
Numbers | 编码集合 | string | {{BillNo}} |
Ids | id集合 | string | |
InterationFlags | 交互标志集合 | string | |
IgnoreInterationFlag | 是否允许忽略交互 | string | true |
NetworkCtrl | 是否启用网控 | string | false |
IsVerifyProcInst | 检验单据关联运行 | string | false |
数据对接价值
通过无代码的数据集成与数据建模的智能数据管道技术,帮助企业将所有应用程序、数据库、事件和文件等数据信息提取到数据仓库中,并快速将分散的数据转化为数据集、API、自动化流程等开箱即用的数据服务。配置接口的模式对接金蝶云星空和金蝶云星空,使得单据无缝互通。打造企业内部数据一体化,让企业日常运营管理实现敏捷数据化运营。实现供应链业务信息流的互通,同时支持供应链数据分析流程自动化,结果推送,推进相关供应链问题优化。及时打通供应链孤岛,实现数据驱动供应链协同,进一步提升企业竞争力。
