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

接通系统:旺店通·企业奇门
旺店通是北京掌上先机网络科技有限公司旗下品牌,国内的零售云服务提供商,基于云计算SaaS服务模式,以体系化解决方案,助力零售企业数字化智能化管理升级。为零售电商企业的订单管理及仓储管理提供解决方案,致力于帮助企业实现数字化转型,企业规模化发展
对接目标系统:用友BIP
面向数智化市场,用友倾力打造了全球领先的数智商业创新平台——用友BIP,定位为数智商业的应用级基础设施、企业服务产业的共创平台,服务企业数智化转型和商业创新,让企业云服务随需而用,让数智价值无处不在,让商业创新如此便捷。
系统对接接口配置
通过系统数据集成平台:数据集成方案。选择开始创建数据集成方案菜单。在方案配置表单中选择对应的源业务系统:旺店通·企业奇门,然后选择对应的连接器。选择对应的wdt.stockout.order.query作为数据对接来源。然后再写入目标平台配置目标系统为用友BIP,并且选择对应连接器。选择好对应的/yonbip/scm/storeout/save接口作为数据写入动作完成第一步的接口配置。

旺店通·企业奇门接口明细
- 调用接口:wdt.stockout.order.query
- 接口名称:查询出库单管理
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | string | {{LAST_SYNC_TIME datetime}} |
end_time | 结束时间 | string | {{CURRENT_TIME datetime}} |
order_type | 出库单类型 | string | 2 |
status | 出库单状态 | string | 110 |
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/storeout/save
- 接口名称:调出保存
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
code | 单据编号 | string | 单据编号 |
outorg | 调出组织id或code | string | 调出组织id或code |
inaccount | 调入会计主体id或code | string | 调入会计主体id或code |
vouchdate | 单据日期 | string | 单据日期 |
inorg | 调入组织id或code | string | 调入组织id或code |
outaccount | 调出会计主体id或code | string | 调出会计主体id或code |
bustype | 交易类型id或code | string | 交易类型id或code |
bizType | 自动调拨 | string | 自动调拨 默认值为0,0:手工,1:订单审核自动调出调入,2:调出保存自动调入,5:订单审核自动调出 |
breturn | 调拨退货 | string | 调拨退货, true:是、false:否 |
inwarehouse | 调入仓库id或code | int | 调入仓库id或code |
outwarehouse | 调出仓库id或code | string | 调出仓库id或code |
memo | 备注 | string | 备注 |
srcBillNO | 来源单据 | string | 来源单据 |
srcBillType | 来源上级单据类型 | string | 来源上级单据类型, st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
srcBill | 来源单据id | string | 时间戳,格式为:yyyy-MM-dd HH:mm:ss |
status | 操作标识 | string | 操作标识, Insert:新增、Update:更新 |
details | 调出单子表 | array | 调出单子表[st.storeout.StoreOutDetail] |
details.product | 物料id或code | long | 物料id或code |
details.product_cCode | 物料编码 | string | 物料编码 |
details.product_cName | 物料名称 | string | 物料名称 |
details.productsku | 商品SKUid或code | long | 商品SKUid或code |
details.productsku_cCode | 物料sku编码 | string | 物料sku编码 |
details.productsku_cName | 物料sku名称 | string | 物料sku名称 |
details.batchno | 批次号 | string | 批次号 |
details.producedate | 生产日期 | string | 生产日期 |
details.invaliddate | 有效期至 | string | 有效期至 |
details.pubts | 时间戳 | string | 时间戳,格式为:yyyy-MM-dd HH:mm:ss |
details.contactsQuantity | 应发数量 | BigDecimal | 应发数量 |
details.contactsPieces | 应发件数 | BigDecimal | 应发件数 |
details.qty | 数量 | BigDecimal | 数量 |
details.unit | 主计量id或code | long | 主计量id或code |
details.invExchRate | 换算率 | int | 换算率 |
details.subQty | 件数 | BigDecimal | 件数 |
details.stockUnitId | 库存单位id或code | long | 库存单位id或code |
details.costprice | 成本价 | BigDecimal | 成本价 |
details.firstsource | 源头单据类型, st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 | long | 物料id或code |
details.firstsourceid | 源头单据主表id | long | 物料id或code |
details.firstsourceautoid | 源头单据子表id | long | 物料id或code |
details.firstupcode | 源头单据编码 | long | 物料id或code |
details.firstuplineno | 源头单据行号 | long | 物料id或code |
details.source | 上游单据类型 | string | 上游单据类型, st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
details.sourceid | 上游单据主表id | long | 上游单据主表id |
details.sourceautoid | 上游单据子表id | long | 上游单据子表id |
details.upcode | 上游单据号 | string | 上游单据号 |
details.uplineno | 来源单据行号 | string | 上游单据号 |
details.makeRuleCode | 生单规则编号 | string | 生单规则编号 |
details.memo | 备注 | string | 备注 |
details.autoCalcCost | 自动计算成本 | string | 自动计算成本, true:是、false:否、 |
details._status | 操作标识 | string | 操作标识, Insert:新增、Update:更新 |
数据对接效果
从API服务总线层面解决企业烟囱式业务系统集成现状 相互连接企业各业务系统,实现流程端到端打通,复用已有的业务系统能力,让集成架构、服务关系更清晰 使用统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。


