用友BIP与旺店通·企业奇门对接集成查询采购退货单连通采购入库来源生单保存(采购退货单=>采购入库单(下推)-测试重推)

数据源平台:旺店通·企业奇门
慧策最先以旺店通ERP切入商家核心管理痛点——订单管理,之后围绕电商经营管理中的核心管理诉求,先后布局流量获取、会员管理、仓库管理等其他重要经营模块。慧策的产品线从旺店通ERP起步,向前向后延伸,全面布局零售企业经营,整体构建一体化智能零售解决方案,打破数据孤岛,AI植入系统,实现智能决策,助力零售企业智能化转型。当前旗下拥有店+小程序、数智门店POS、旺店通ERP、旺店通WMS、卡米全渠道、客优CRM、云筹大数据等多个PssS、SaaS产品,从前端吸引流量到后端集约化管理,助力企业智慧决策
集成系统:用友BIP
用友BIP助力行业龙头企业、产业链核心企业以及平台型企业建设产业互联网运营平台,通过运营、管理、协同配置和共享资源,实现产业链上下游连接与协同,并保障安全。
数据对接方案
数据集成平台对应的配置旺店通·企业奇门与用友BIP的对接只要三步就能完成两个系统之间的数据对接。第一步根据旺店通·企业奇门的接口参数要求记录在轻易云集成平台。第二步配置旺店通·企业奇门与用友BIP之间的字段对应关系(更多方案可借鉴轻易云数据集成社区论坛中找到相关方案信息)第三步完成方案的检查参数设置:传递时间、重试次数、是否启动、前置条件等上线运行。通过该系统数据集成平台的能力,可以集成的应用系统包括CRM、ERP、钉钉、企业微信、MES、飞书、用友、金蝶等 177 个不同应用系统之间的无代码接口集成,并且每周都在增加新的应用系统接入。

旺店通·企业奇门接口明细
- 调用接口:wdt.stockout.order.query.return
- 接口名称:查询采购退货单
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | string | {{LAST_SYNC_TIME datetime}} |
end_time | 结束时间 | string | {{CURRENT_TIME datetime}} |
warehouse_no | 仓库编号 | string | |
status | 出库单状态 | string | 110 |
page_no | 页号 | string | {{PAGINATION_START_PAGE}} |
page_size | 分页大小 | string | {{PAGINATION_PAGE_SIZE}} |
src_order_no | 上层单据编号 | string | |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
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 | |
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 | |
stockout_reason | 出库原因 | string | |
outer_no | 外部单号 | string | |
operator_name | 操作人 | string | |
receiver_area | 省市区 | string | |
return_no | 采购退货单号 | string | |
provider_no | 供应商编号 | string | |
provider_name | 供应商名称 | string | |
pr_api_outer_no | 采购退货单外部单号 | string | |
last_load_purchase_no | 最后引用采购单号 | string | |
picklist_print_status | 分拣单打印状态 | string | |
logistics_print_status | 物流单打印状态 | string | |
sendbill_print_status | 发货单打印状态 | string | |
stockout_no | 出库单号 | string | |
src_order_id | 源单据id | string | |
wms_status | 处理状态 | string | |
error_info | 错误信息 | string | |
warehouse_type | 仓库类别 | string | |
warehouse_id | 出库的仓库id | string | |
customer_id | 客户id | string | |
freeze_reason | 冻结原因 | string | |
is_allocated | 是否分配 | string | |
consign_status | 出库状态 | string | |
ebill_status | 面单状态 | string | |
operator_id | 制单人 | string | |
goods_type_count | 货品种类数量 | string | |
md5_str | MD5字符串值 | string | |
raw_goods_count | 预留字段 | string | |
custom_type | 出库类别 | string | |
receiver_ring | 接收环 | string | |
to_deliver_time | 配送时间 | string | |
pre_charge_time | 配送中心 | string | |
logistics_id | 物流公司id | string | |
unknown_goods_amount | 未知成本销售总额 | string | |
calc_post_cost | 预估邮费成本 | string | |
post_cost | 邮费成本 | string | |
calc_weight | 预估重量 | string | |
post_weight | 快递给的重量 | string | |
package_id | 包装 | string | |
package_cost | 包装成本 | string | |
has_invoice | 是否包含发票 | string | |
printer_id | 打单员 | string | |
pick_error_count | 拣货出错次数 | string | |
picker_id | 拣货操作员id | string | |
sorter_id | 包裹分拣员id | string | |
examiner_id | 验货操作员id | string | |
consigner_id | 发货人id | string | |
packager_id | 打包员 | string | |
pack_score | 打包积分 | string | |
pick_score | 拣货积分 | string | |
checkouter_id | 签出员工id | string | |
watcher_id | 监视员 | string | |
picklist_no | 分拣单编号 | string | |
picklist_seq | 分拣单中序号 | string | |
invoice_print_status | 发票打印状态 | string | |
flag_id | 颜色标记 | string | |
logistics_template_id | 物流单模板id | string | |
sendbill_template_id | 发货单模板id | string | |
pos_allocate_mode | 货位分配方式 | string | |
note_count | 便签条数 | string | |
reason_id | 出库原因 | string | |
lock_id | 锁定策略id | string | |
reserve | 保留 | string | |
block_reason | 截停原因 | string | |
stock_check_time | 出库单审核时间 | string | |
details_list | 货品列表节点 | array | |
details_list.stockout_id | 出库单主键id | string | |
details_list.goods_count | 货品数量 | string | |
details_list.weight | 重量 | string | |
details_list.remark | 备注 | string | |
details_list.modified | 最后修改时间 | string | |
details_list.src_order_type | 源单据类别 | string | |
details_list.batch_no | 批次号 | string | |
details_list.rec_id | 出库明细主键id | string | |
details_list.spec_no | 商家编码 | 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.goods_type | 货品类别 | string | |
details_list.goods_unit | 单位名称 | string | |
details_list.batch_remark | 批次备注 | string | |
details_list.expire_date | 有效期 | string | |
details_list.goods_id | 货品id | string | |
details_list.spec_id | 规格id | string | |
details_list.src_order_detail_id | 源单据细节id | string | |
details_list.base_unit_id | 基本单位 | string | |
details_list.unit_id | 辅助单位 | string | |
details_list.unit_ratio | 单位换算 | string | |
details_list.num2 | 辅助数量 | string | |
details_list.num | 货品数量 | string | |
details_list.price | 价格 | string | |
details_list.batch_id | 出库批次 | string | |
details_list.is_examined | 是否验货 | string | |
details_list.is_package | 是否包装 | string | |
details_list.is_zero_cost | 是否允许0成本 | string | |
details_list.scan_type | 类型 | string | |
details_list.created | 创建时间 | 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 | |
用友BIP接口明细
- 调用接口:/yonbip/scm/purinrecord/mergeSourceData/save
- 接口名称:采购入库来源生单保存
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
resubmitCheckKey | 保证请求的幂等性 | string | {{order_no}} |
mergeSourceData | 合并上游数据 | string | true |
needCalcLines | 表体行计算标识 | string | true |
calcLinesKey | 表体行计算依据 | string | oriTaxUnitPrice |
code | 单据编号 | string | {{order_no}} |
vouchdate | 单据日期 | string | {{consign_time date}} |
bustype | 交易类型id | string | A20003 |
warehouse | 仓库id | string | {{warehouse_no}} |
memo | 备注 | string | {{remark}} |
status | 操作标识 | string | Insert |
purInRecords | 采购入库单子表 | array | details_list |
purInRecords.makeRuleCode | 生单规则编码 | string | st_purchaseorder_return |
purInRecords.sourceid | 上游单据主表id | string | _findCollection find new_id from 5c14ed3c-520d-3e66-9ce1-05b241f8d07b where code={{pr_api_outer_no}} product_cCode={{details_list.goods_no}} |
purInRecords.sourceautoid | 上游单据子表id | string | findCollection find new_purchaseOrders_id from 5c14ed3c-520d-3e66-9ce1-05b241f8d07b where code={{pr_api_outer_no}} product_cCode={{details_list.goods_no}} |
purInRecords.qty | 数量 | string | _function {{details_list.goods_count}}*(-1) |
purInRecords.oriUnitPrice | 无税单价 | string | {{details_list.sell_price}} |
purInRecords.oriTaxUnitPrice | 含税单价 | string | findCollection find oriTaxUnitPrice from 5c14ed3c-520d-3e66-9ce1-05b241f8d07b where code={{pr_api_outer_no}} product_cCode={{details_list.goods_no}} |
purInRecords.memo | 备注 | string | {{details_list.remark}} |
purInRecords._status | 操作标识 | string | Insert |
系统数据集成价值
异构系统都具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。采用“轻易云集成方案”的解决方案,可以满足客户的实际业务需求,推动软件工程的规范化,使开发人员遵循统一的概要设计开发实现,降低系统实现的风险,做到系统设计资料的规范性与全面性,以利于系统的实现、测试、维护、版本升级等。通过轻易云系统集成平台完美结合:打破企业内部数据孤岛,无需繁琐的处理工序,与数据集成服务完美结合,让数据真正通起来。 资源互补:汇集各种行业解决方案,资源互补,企业管理融合提升。

