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

对接系统:旺店通·企业奇门
慧策(原旺店通)是一家技术驱动型智能零售服务商,基于云计算PaaS、SaaS模式,以一体化智能零售解决方案,帮助零售企业数字化智能化升级,实现企业规模化发展。
接入系统:用友BIP
YonBIP用友商业创新平台,是用友在数字经济时代面向成长型、大型企业及巨型企业,融合了先进且高可用技术平台和公共与关键商业应用与服务,支撑和运行客户的商业创新(业务创新、管理变革),并且具有数字化、智能化、高弹性、安全可信、社会化、全球化、平台化、生态化等特征的综合型服务平台。
接口方案配置
轻易云集成平台的对接是通过一个个对应的对接方案去形成两个系统对接的连线,所以对接方案的配置极其重要,方案可以选择一键复制,轻易云有海量的对接方案可支持一键复制,复制后直接启动使用(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息。或者可以通过手工配置,配置只要确认源平台:旺店通·企业奇门的取数逻辑,例如什么时间取什么样的数据。即可完成配置,目标平台:用友BIP,把获取的数据组装成目标系统需要的格式进行写入。


旺店通·企业奇门接口明细
- 调用接口:wdt.stockout.order.query.return
- 接口名称:查询采购退货单
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | string | {{LAST_SYNC_TIME datetime}} |
end_time | 结束时间 | string | {{CURRENT_TIME datetime}} |
warehouse_no | 仓库编号 | string | |
status | 出库单状态 | string | |
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}}1 |
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 39bc45c8-c417-37df-8f20-d136f76b1a7a where code={{pr_api_outer_no}} product_cCode={{details_list.goods_no}} |
purInRecords.sourceautoid | 上游单据子表id | string | _findCollection find new_purchaseOrders_id from 39bc45c8-c417-37df-8f20-d136f76b1a7a 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 39bc45c8-c417-37df-8f20-d136f76b1a7a where code={{pr_api_outer_no}} product_cCode={{details_list.goods_no}} |
purInRecords.memo | 备注 | string | {{details_list.remark}} |
purInRecords._status | 操作标识 | string | Insert |
系统对接概况
异构系统都具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。采用“轻易云集成方案”的解决方案,可以满足客户的实际业务需求,推动软件工程的规范化,使开发人员遵循统一的概要设计开发实现,降低系统实现的风险,做到系统设计资料的规范性与全面性,以利于系统的实现、测试、维护、版本升级等。通过轻易云系统集成平台完美结合:打破企业内部数据孤岛,无需繁琐的处理工序,与数据集成服务完美结合,让数据真正通起来。 资源互补:汇集各种行业解决方案,资源互补,企业管理融合提升。


