旺店通·企业奇门和用友BIP接口打通对接实战

对接源平台:旺店通·企业奇门
慧策(原旺店通)是一家技术驱动型智能零售服务商,基于云计算PaaS、SaaS模式,以一体化智能零售解决方案,帮助零售企业数字化智能化升级,实现企业规模化发展。
接入系统:用友BIP
面向数智化市场,用友倾力打造了全球领先的数智商业创新平台——用友BIP,定位为数智商业的应用级基础设施、企业服务产业的共创平台,服务企业数智化转型和商业创新,让企业云服务随需而用,让数智价值无处不在,让商业创新如此便捷。
多系统对接方案配置
数据集成平台对应的配置旺店通·企业奇门与用友BIP的对接只要三步就能完成两个系统之间的数据对接。第一步根据旺店通·企业奇门的接口参数要求记录在轻易云集成平台。第二步配置旺店通·企业奇门与用友BIP之间的字段对应关系(更多方案可借鉴轻易云数据集成社区论坛中找到相关方案信息)第三步完成方案的检查参数设置:传递时间、重试次数、是否启动、前置条件等上线运行。


旺店通·企业奇门接口明细
- 调用接口:wdt.stockout.order.query
- 接口名称:查询出库单管理
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | string | {{LAST_SYNC_TIME datetime}} |
end_time | 结束时间 | string | {{CURRENT_TIME datetime}} |
order_type | 出库单类型 | string | 7 |
status | 出库单状态 | string | |
warehouse_no | 仓库编号 | string | |
src_order_no | 源单号 | string | |
stockout_no | 出库单号 | string | |
page_size | 分页大小 | string | {{PAGINATION_PAGE_SIZE}} |
page_no | 页号 | string | {{PAGINATION_START_PAGE}} |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
stockout_id | 出库单主键id | string | |
order_no | 出库单号 | string | |
src_order_no | 源单号 | string | |
warehouse_no | 仓库编号 | string | |
status | 状态 | string | |
consign_time | 出库时间 | string | |
order_type | 出库单类型 | string | |
order_type_name | 出库单类型名称 | string | |
subtype | 出库单子类型 | string | |
stockout_reason | 出库原因 | string | |
goods_count | 数量 | string | |
goods_total_amount | 货品总销售金额 | string | |
goods_total_cost | 货品总成本金额 | string | |
post_fee | 邮费 | string | |
logistics_no | 物流单号 | string | |
package_fee | 包装费 | string | |
receiver_name | 收件人 | string | |
receiver_country | 国家 | string | |
receiver_province | 省份 | string | |
receiver_city | 城市 | string | |
receiver_district | 地区 | string | |
receiver_address | 详细地址 | string | |
receiver_mobile | 收件人移动电话 | string | |
receiver_telno | 收件人固定电话 | string | |
receiver_zip | 邮编 | string | |
weight | 重量 | string | |
remark | 备注 | string | |
outer_no | 外部单号 | string | |
operator_name | 操作员姓名 | string | |
logistics_type | 物流方式 | string | |
logistics_code | 物流编号 | string | |
logistics_name | 物流公司名称 | string | |
details_list | Sku详情节点 | array | |
details_list.stockout_id | 出库单主键id | string | |
details_list.rec_id | 出库单明细id | string | |
details_list.spec_no | 商家编码 | string | |
details_list.goods_count | 货品数量 | string | |
details_list.sell_price | 销售价 | string | |
details_list.brand_no | 品牌编号 | string | |
details_list.brand_name | 品牌名称 | string | |
details_list.goods_name | 货品名称 | string | |
details_list.goods_no | 货品编号 | string | |
details_list.spec_name | 规格名称 | string | |
details_list.spec_code | 规格编号 | string | |
details_list.cost_price | 成本价 | string | |
details_list.total_amount | 总销售金额 | string | |
details_list.weight | 重量 | string | |
details_list.remark | 备注 | string | |
details_list.goods_unit | 单位 | string | |
details_list.batch_no | 批次号 | string | |
details_list.batch_remark | 批次备注 | string | |
details_list.expire_date | 有效期 | string | |
details_list.position_list | 货位列表节点 | array | |
details_list.position_list.position_id | 货位ID | string | |
details_list.position_list.position_no | 货位编号 | string | |
details_list.position_list.position_goods_count | 货位出库数量 | string | |
details_list.position_list.stockout_order_detail_id | 出库单明细id | string | |
details_list.position_list.rec_id | 货位主键id | string | |
details_list.position_list.stock_spec_detail_id | 入库单号明细id | string | |
details_list.position_list.stockin_detail_id | 入库单明细id | string | |
details_list.position_list.batch_id | 批次id | string | |
details_list.position_list.batch_no | 批次号 | string | |
details_list.position_list.cost_price | 成本价 | string | |
details_list.position_list.modified | 最后更新时间 | string | |
details_list.position_list.v_stock_spec_detail_id | 先进先出计价用 | string | |
details_list.position_list.expire_date | 有效期 | string | |
details_list.position_list.created | 创建时间 | string | |
用友BIP接口明细
- 调用接口:/yonbip/scm/othoutrecord/single/save
- 接口名称:其他出库单保存
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
resubmitCheckKey | 保证请求的幂等性 | string | {{order_no}} |
code | 单据编号 | string | {{order_no}} |
defines!define1 | defines!define1 | string | {{outer_no}} |
org | 库存组织 | string | findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code={{warehouse_no}} |
accountOrg | 会计主体 | string | _findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code={{warehouse_no}} |
vouchdate | 单据日期 | string | {{consign_time}} |
bustype | 交易类型 | string | 001 |
warehouse | 仓库 | string | {{warehouse_no}} |
memo | 备注 | string | {{remark}} |
status | 操作标识 | string | Insert |
srcBillType | 来源上级单据类型 | string | |
othOutRecords | 其他出库单子表 | array | details_list |
othOutRecords.product | 物料 | string | {{details_list.goods_no}} |
othOutRecords.productsku | 物料SKU | string | {{details_list.spec_no}} |
othOutRecords.batchno | 批次号,批次管理商品必填 | string | |
othOutRecords.producedate | 生产日期 | string | |
othOutRecords.invaliddate | 有效期至 | string | |
othOutRecords.contactsQuantity | 应发数量 | string | {{details_list.goods_count}} |
othOutRecords.contactsPieces | 应发件数 | string | {{details_list.goods_count}} |
othOutRecords.qty | 数量 | string | {{details_list.goods_count}} |
othOutRecords.invExchRate | 换算率 | string | 1 |
othOutRecords.subQty | 件数 | string | {{details_list.goods_count}} |
othOutRecords.unit | 主计量单位,传入id或code | string | _findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name={{goods_unit}} |
othOutRecords.unitExchangeType | 库存换算率换算方式 | string | |
othOutRecords.stockUnitId | 库存单位 | string | findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name={{goods_unit}} |
othOutRecords.goodsposition | 货位 | string | |
othOutRecords.project | 项目 | string | |
othOutRecords.memo | 备注 | string | {{details_list.remark}} |
othOutRecords._status | 操作标识 | string | Insert |
othOutRecords.sourceid | 上游单据主表id | string | |
othOutRecords.sourceautoid | 上游单据子表id | string | |
othOutRecords.source | 上游单据类型 | string | |
othOutRecords.upcode | 上游单据号 | string | |
othOutRecords.makeRuleCode | 生单规则编号 | string | |
othOutRecords.autoCalcCost | 自动计算成本,有来源必填:true:是、false:否 | string | |
系统集成总览
从API服务总线层面解决企业烟囱式业务系统集成现状 相互连接企业各业务系统,实现流程端到端打通,复用已有的业务系统能力,让集成架构、服务关系更清晰 使用统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。

