用友BIP和旺店通·企业奇门单据接口集成

对接系统旺店通·企业奇门
旺店通是北京掌上先机网络科技有限公司旗下品牌,国内的零售云服务提供商,基于云计算SaaS服务模式,以体系化解决方案,助力零售企业数字化智能化管理升级。为零售电商企业的订单管理及仓储管理提供解决方案,致力于帮助企业实现数字化转型,企业规模化发展
对接目标系统:用友BIP
面向数智化市场,用友倾力打造了全球领先的数智商业创新平台——用友BIP,定位为数智商业的应用级基础设施、企业服务产业的共创平台,服务企业数智化转型和商业创新,让企业云服务随需而用,让数智价值无处不在,让商业创新如此便捷。
数据接口配置
异构系统具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。那么对接就需要根据接口配置对应的规则,例如取数就要根据查询接口获取旺店通·企业奇门的数据,并且根据对应的条件进行取数,目标系统就必须根据目标系统的格式,以及获取的数据进行加工处理后进行写入到用友BIP中。轻易云集成平台的可视化配置轻松实现。数据管道ETL:构建一体化的数据融合平台。高级数据转换: 支持公式转换数据格式、支持脚本直接进行数据转换、支持可视化多维度数据处理。高性能实时处理:针对不同数据节点类型提供TB级吞吐量,秒级延迟的增量数据处理能力。自动将旧版web服务转变为基于云端微服务的API,统一接口输出标准。支持接口开放服务,实现内外部能力接入。



旺店通·企业奇门接口明细
- API:wdt.stockin.order.query.purchase
- NAME:查询采购退货出库单
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
start_time | 开始时间 | {{LAST_SYNC_TIME datetime}} |
end_time | 结束时间 | {{CURRENT_TIME datetime}} |
status | 状态 | |
src_order_no | 上层单据编号 | |
warehouse_no | 仓库编号 | |
page_size | 分页大小 | {{PAGINATION_PAGE_SIZE}} |
page_no | 页号 | {{PAGINATION_START_PAGE}} |
响应参数
接口字段 | 名称 | 预设值 |
stockin_id | 入库单主键id | |
order_no | 入库单号 | |
status | 状态 | |
warehouse_no | 仓库编号 | |
warehouse_name | 仓库 | |
stockin_time | 修改时间 | |
check_time | 审核时间 | |
created_time | 创建时间 | |
src_order_no | 采购单号 | |
remark | 备注 | |
stockin_reason | 入库原因 | |
order_type | 入库类型 | |
order_type_name | 入库类型名称 | |
goods_amount | 货款总额 | |
total_price | 总成本 | |
discount | 优惠 | |
tax_amount | 税后金额 | |
post_fee | 邮费 | |
other_fee | 其他费用 | |
logistics_type | 物流类型 | |
logistics_code | 物流公司编号 | |
logistics_name | 物流公司名称 | |
logistics_no | 物流单号 | |
purchase_no | 采购单编号 | |
provider_no | 供应商编号 | |
provider_name | 供应商名称 | |
outer_no | 外部单号 | |
goods_count | 货品总数量 | |
adjust_num | 纠错数量 | |
adjust_price | 纠错金额 | |
right_nums | 调整后数量 | |
right_price | 调整后总金额 | |
stockin_no | 入库单号 | |
wms_outer_no | 仓储外部编号 | |
wms_status | 外部状态 | |
wms_result | 外部结果 | |
warehouse_id | 仓库id | |
src_order_type | 源单据类型 | |
src_order_id | 源单据id | |
reason_id | 原因 | |
fa_status | 财务同步状态 | |
logistics_id | 物流公司 | |
post_share_type | 邮费分摊类型 | |
operator_id | 操作员id | |
check_operator_id | 审核人id | |
goods_type_count | 货品种类数 | |
note_count | 便签数量 | |
flag_id | 标记 | |
modified | 最后修改时间 | |
details_list | 明细节点 | |
details_list.stockin_id | 入库单主键id | |
details_list.rec_id | 入库明细主键 | |
details_list.src_order_detail_id | 上层单据明细主键 | |
details_list.spec_no | 商家编码 | |
details_list.goods_count | 货品数量 | |
details_list.discount | 优惠金额 | |
details_list.cost_price | 单价 | |
details_list.production_date | 生产日期 | |
details_list.validity_days | 有效期天数 | |
details_list.expire_date | 有效期 | |
details_list.src_price | 原价 | |
details_list.tax_price | 税后价 | |
details_list.tax_amount | 税后金额 | |
details_list.tax | 税率 | |
details_list.total_cost | 总成本 | |
details_list.remark | 备注 | |
details_list.adjust_num | 纠错数量 | |
details_list.adjust_price | 纠错金额 | |
details_list.right_num | 调整后数量 | |
details_list.right_price | 调整后单价 | |
details_list.right_cost | 调整后总金额 | |
details_list.brand_no | 品牌编号 | |
details_list.brand_name | 品牌名称 | |
details_list.goods_name | 货品名称 | |
details_list.goods_no | 货品编号 | |
details_list.spec_name | 规格名称 | |
details_list.spec_code | 规格码 | |
details_list.prop2 | 自定义属性 | |
details_list.goods_unit | 单位名称 | |
details_list.batch_no | 批次号 | |
details_list.batch_remark | 批次备注 | |
details_list.position_no | 货位编号 | |
details_list.src_order_type | 源单据类型 | |
details_list.org_stockin_detail_id | 原始入库单明细 | |
details_list.spec_id | 规格id | |
details_list.batch_id | 批次 | |
details_list.position_id | 货位id | |
details_list.num | 数量 | |
details_list.num2 | 数量2 | |
details_list.unit_id | 辅助单位 | |
details_list.base_unit_id | 基本单位 | |
details_list.unit_ratio | 单位换算关系 | |
details_list.expect_num | 预期入库数量 | |
details_list.cost_price2 | 辅助成本价 | |
details_list.share_post_cost | 邮资分摊成本 | |
details_list.share_post_total | 邮资分摊总成本 | |
details_list.modified | 最后修改时间 | |
details_list.created | 创建时间 | |
用友BIP接口明细
- 调用接口:/yonbip/scm/purinrecord/mergeSourceData/save
- 接口名称:采购入库来源生单保存
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
resubmitCheckKey | 保证请求的幂等性 | string | {{random}} |
mergeSourceData | 合并上游数据 | string | true |
code | 单据编号 | string | {{order_no}} |
vouchdate | 单据日期 | string | {{consign_time}} |
bustype | 交易类型id | string | |
warehouse | 仓库id | string | {{warehouse_no}} |
memo | 备注 | string | {{remark}} |
_status | 操作标识 | string | Insert |
purInRecords | 采购入库单子表 | array | |
purInRecords.makeRuleCode | 生单规则编码 | string | st_purchaseorder_return |
purInRecords.sourceid | 上游单据主表id | string | 1482756327146520600 _findCollection find new_id from 5c14ed3c-520d-3e66-9ce1-05b241f8d07b where code={{src_order_no}} product_cName={{details_list.goods_no}} |
purInRecords.sourceautoid | 上游单据子表id | string | 1482756327146520600 findCollection find new_purchaseOrders_id from 5c14ed3c-520d-3e66-9ce1-05b241f8d07b where code={{src_order_no}} product_cName={{details_list.goods_no}} |
purInRecords.batchno | 批次号 | string | |
purInRecords.producedate | 生产日期 | string | |
purInRecords.goodsposition | 货位id | string | |
purInRecords.qty | 数量 | string | {{details_list.goods_count}} |
purInRecords.oriUnitPrice | 无税单价 | string | |
purInRecords.oriTaxUnitPrice | 含税单价 | string | {{stockin_list.tax_price}} |
purInRecords.oriMoney | 无税金额 | string | |
purInRecords.oriSum | 含税金额 | string | |
purInRecords.natUnitPrice | 本币无税单价 | string | |
purInRecords.natTaxUnitPrice | 本币含税单价 | string | |
purInRecords.natMoney | 本币无税金额 | string | |
purInRecords.natSum | 本币含税金额 | string | {{stockin_list.total_price}} |
purInRecords.memo | 备注 | string | {{stockin_list.remark}} |
purInRecords._status | 操作标识 | string | Insert |
系统打通概况
从API层面解决企业烟囱式业务系统集成现状,实现深度的业务流程拉通旺店通·企业奇门到用友BIP之间数据集成;通过API连接各业务系统,复用已有的业务系统能力,让集成架构、服务关系更清晰。使用统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升复用率和价值。全面管控企业的API资产,梳理现有业务系统的API。实现API文档的统一管理,建立API的上线、下线、监控的统一管理体系及标准规范。已链接和打通主流SaaS系统超过100+,快速对接各种API接口,实现云上云下的互联互通。将SaaS和本地业务系统联接起来,打破时间与空间界限,打通原有核心数据及SaaS应用,构建可平滑演进的企业IT架构。


