伯俊ERP与金蝶云星空对接集成表头表体组合查询打通其他往来单位新增

源系统:伯俊ERP
伯俊科技,依托在企业信息化建设方面的领先技术与实践积累,致力于帮助企业实现全渠道一盘货。伯俊提供数字经营的咨询与系统实施,助力企业信息化升级、加速数字化转型,覆盖零售市场中时尚鞋服、母婴内衣、珠宝饰品、食品酒水等多个行业,为5000+家机构及企业提供数字化建设服务。
接通系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
数据集成方案配置
通过系统数据集成平台:数据集成方案。选择开始创建数据集成方案菜单。在方案配置表单中选择对应的源业务系统:伯俊ERP,然后选择对应的连接器。选择对应的/rest/excute作为数据对接来源。然后再写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器。选择好对应的batchSave接口作为数据写入动作完成第一步的接口配置。



伯俊ERP接口明细
- 接口:/rest/excute
- 接口名称:表头表体组合查询
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
start | 页码 | string | 从结果集合的哪一行开始获取记录(从0计算) |
range | 页数 | string | 最多获取start行开始的多少条记录,考虑系统 性能,最大值将由系统参数设定 (Bos3.0.properties#rest.query.max.range ,缺省为100) |
count | 是否计算总数 | string | |
columns | 需要查询的字段 | string | 需要查询的字段,不传默认查全部 |
params | 过滤参数 | object | 结构,称为Expression,为嵌套二叉树结构 |
params.expr1 | 参数-1 | object | 通过combine指明两个Expression之间的关系 |
params.expr1.expr1 | 参数-1 | object | |
params.expr1.expr1.condition | 条件 | string | |
params.expr1.expr1.column | 字段 | string | |
params.expr1.expr1.expr2 | 参数-2 | object | |
params.expr1.expr1.expr2.condition | 条件 | string | |
params.expr1.expr1.expr2.column | 字段 | string | |
params.expr1.expr1.expr2.combine | 组合关系 | string | “and” “or” “and not” “or not”,若设置,必填expr1和expr2属性,忽略 column和condition。 |
params.expr1.expr2 | 参数-2 | object | |
params.expr1.expr2.condition | 条件 | string | |
params.expr1.expr2.column | 字段 | string | |
params.expr1.expr2.combine | 组合关系 | string | “and” “or” “and not” “or not”,若设置,必填expr1和expr2属性,忽略 column和condition。 |
params.table | 表名 | string | |
params.command | 操作命令 | string | |
params.reftables | 关联表 | string | |
响应参数
字段 | 名称 | 类型 | 描述 |
OWNERID | 创建人 | string | autoFillResponse |
CREATIONDATE | 创建时间 | string | _autoFillResponse |
BILLDATE | 单据日期 | string | autoFillResponse |
BILLSTORE | 店仓 | string | _autoFillResponse |
EDIFLAG | 接口标记 | string | autoFillResponse |
SUPPLIER | 供应商 | string | _autoFillResponse |
BILLDATE | 业务日期 | string | autoFillResponse |
PO_DOCNO | 订单编号 | string | _autoFillResponse |
ORGANIZATION | 财务组织 | string | autoFillResponse |
IS_MODID | 是否改标 | string | _autoFillResponse |
DESCRIPTION | 备注 | string | autoFillResponse |
BILLTYPE | 单据类型 | string | _autoFillResponse |
DOCNO | 单据编号 | string | autoFillResponse |
reftables | reftables | array | _autoFillResponse |
reftables.DOCNO | 单据编号 | string | autoFillResponse |
reftables.NO | 款号 | string | _autoFillResponse |
reftables.REL_NO | 关联款号 | string | autoFillResponse |
reftables.PRICELIST | 标准价 | string | _autoFillResponse |
reftables.QTY | 数量 | string | autoFillResponse |
reftables.PRECOST | 价格 | string | _autoFillResponse |
reftables.TAX_RATE | 税率 | string | autoFillResponse |
reftables.TOT_AMT_ACTUAL | 金额 | string | _autoFillResponse |
reftables.WRITE_TIME | 写入时间 | string | autoFillResponse |
reftables.READ_TIME | 提取时间 | string | _autoFillResponse |
reftables.EDIFLAG | 接口标记 | string | autoFillResponse |
reftables.RESULTS | 问题原因 | string | _autoFillResponse |
reftables.OWNERID_TRUENAME | 创建人 | string | autoFillResponse |
reftables.CREATIONDATE | 创建时间 | string | _autoFillResponse |
reftables.MODIFIERID_TRUENAME | 修改人 | string | autoFillResponse |
reftables.MODIFIEDDATE | 修改时间 | string | |
reftables.ID | ID | string | _autoFillResponse |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:其他往来单位新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FBillTypeID | 单据类型 | string | ZZCX01_SYS |
FStockOrgId | 库存组织 | string | {{ORGANIZATION}} |
FAffairType | 事务类型 | string | Assembly |
FDate | 日期 | string | {{BILLDATE}} |
FOwnerTypeIdHead | 成品货主类型 | string | BD_OwnerOrg |
FOwnerIdHead | 成品货主 | string | {{ORGANIZATION}} |
FSubProOwnTypeIdH | 子件货主类型 | string | BD_OwnerOrg |
FSubProOwnerIdH | 子件货主 | string | {{ORGANIZATION}} |
FEntity | FEntity | array | |
FEntity.FMaterialID | 物料编码 | string | {{reftables.reftables_NO}} |
FEntity.FQty | 数量 | string | {{reftables.reftables_QTY}} |
FEntity.FStockID | 仓库 | string | function case when '{{reftables.CK_NEW}}'='' then '{{reftables.BILLSTORE}}' else '{{reftables.CK_NEW}}' end |
FEntity.FOwnerTypeID | 货主类型 | string | BD_OwnerOrg |
FEntity.FOwnerID | 货主 | string | _findCollection find FCreateOrgId_FNumber from 0b1afab3-a35b-3ee4-8a26-3dd62dfa8739 where FNumber={{reftables_NO}} endFind |
FEntity.FKeeperTypeID | 保管者类型 | string | BD_KeeperOrg |
FEntity.FKeeperID | 保管者 | string | {{ORGANIZATION}} |
FEntity.FInstockDate | 入库日期 | string | {{reftables.BILLDATE}} |
FEntity.FSubEntity | 子件表 | array | reftables |
FEntity.FSubEntity.FMaterialIDSETY | 物料编码 | string | {{reftables.reftables_REL_NO}} |
FEntity.FSubEntity.FQtySETY | 数量 | string | {{reftables.reftables_QTY}} |
FEntity.FSubEntity.FStockIDSETY | 仓库 | string | _findCollection find F_SSLP_BaseProperty from dc968bc0-4133-3ddd-97d0-bbbd1a6818cc where F_SSLP_Text1={{BILLSTORE}} |
FEntity.FSubEntity.FKeeperTypeIDSETY | 保管者类型 | string | BD_KeeperOrg |
FEntity.FSubEntity.FKeeperIDSETY | 保管者 | string | {{ORGANIZATION}} |
FEntity.FSubEntity.FOwnerTypeIDSETY | 货主类型 | string | BD_OwnerOrg |
FEntity.FSubEntity.FOwnerIDSETY | 货主 | string | _findCollection find FCreateOrgId_FNumber from 0b1afab3-a35b-3ee4-8a26-3dd62dfa8739 where FNumber={{reftables_REL_NO}} _endFind |
FEntity.FSubEntity.F_WK_DPJ2 | 吊牌价 | string | {{reftables.reftables_PRICELIST}} |
FEntity.FSubEntity.F_WK_DPJ1 | 吊牌价 | string | {{reftables.reftables_PRICELIST}} |
FEntity.FBillNo | FBillNo | string | {{bfn_num}} |
FEntity.FormId | 业务对象表单Id | string | STK_AssembledApp |
FEntity.Operation | 执行的操作 | string | BatchSave |
FEntity.IsAutoSubmitAndAudit | 提交并审核 | bool | true |
FEntity.IsVerifyBaseDataField | 验证基础资料 | bool | false |
数据对接价值
全新的API数据集成模式,赋能企业业务创新 传统企业集成主要采用点对点或ESB集成方式,基于全新API战略中台的API新型集成方式通过解耦系统资源,降低系统间对接难度,实现快速业务需求响应,提升对接效率,助力企业满足快速业务交付需求,实现业务创新。通过构建API生态,助力能力开放与共享 基于API战略中台梳理并整合内部API资源与IT资产,可实现内部资源共享,满足内部开发人员资源使用需求,例如:金蝶云星空与伯俊ERP之间数据集成;并将API资源对外可控开放,打造面向开发者的生态服务,为您打通自身和上下游合作伙伴,创造共赢价值链。开展API战略中台,重塑IT 帮助您基于内部资源构建不同业务能力中心,打造企业统一API战略中台,赋能企业发展,实现对业务频繁变化的快速响应。同时您在能力中心基础上构建新业务时,无需从“零”组建各业务模块,提升开发效率,重塑IT组织及交付能力。


