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

对接系统:旺店通·企业奇门
慧策(原旺店通)是一家技术驱动型智能零售服务商,基于云计算PaaS、SaaS模式,以一体化智能零售解决方案,帮助零售企业数字化智能化升级,实现企业规模化发展。
对接系统:用友BIP
YonBIP用友商业创新平台,是用友在数字经济时代面向成长型、大型企业及巨型企业,融合了先进且高可用技术平台和公共与关键商业应用与服务,支撑和运行客户的商业创新(业务创新、管理变革),并且具有数字化、智能化、高弹性、安全可信、社会化、全球化、平台化、生态化等特征的综合型服务平台。
多系统对接方案配置
使用轻易云系统数据集成平台对应的模块:数据集成方案。然后选择开始创建数据集成方案。在方案配置表单中选择对应的源业务系统:旺店通·企业奇门,然后选择对应的连接器。选择对应的查询退货入库单作为数据对接来源。然后再通过写入目标平台配置目标系统为用友BIP,并且选择对应连接器(关于用友BIP的接口如何配置可以在轻易云数据集成社区论坛中找到相关信息,选择好对应的销售出库来源生单保存接口作为数据写入动作,既可以完成第一步的数据对接配置。

旺店通·企业奇门接口明细
- 调用接口:wdt.stockin.order.query.refund
- 接口名称:查询退货入库单
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | datetime | {{LAST_SYNC_TIME datetime}} |
end_time | 结束时间 | datetime | {{CURRENT_TIME datetime}} |
status | 状态 | string | |
shop_no | 店铺编号 | string | |
page_size | 分页大小 | string | {{PAGINATION_PAGE_SIZE}} |
page_no | 页号 | string | {{PAGINATION_START_PAGE}} |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
stockin_id | 入库单主键id | string | |
order_no | 入库单号 | string | |
warehouse_no | 仓库编号 | string | |
warehouse_name | 仓库名称 | string | |
shop_no | 店铺编号 | string | |
shop_remark | 店铺备注 | string | |
src_order_no | 上层单据(退换单)编号 | string | |
process_status | 退换单状态 | string | |
status | 退货入库单状态 | string | |
stockin_time | 更新时间 | string | |
created_time | 创建时间 | string | |
remark | 备注 | string | |
trade_no | 订单编号 | string | |
trade_type | 系统订单类别 | string | |
order_type | 单据类别 | string | |
order_type_name | 单据类别名称 | string | |
goods_count | 货品数量 | string | |
goods_amount | 货款总额 | string | |
actual_refund_amount | 实际退款金额 | string | |
total_price | 扣除优惠后货款总额 | string | |
discount | 优惠金额 | string | |
tax_amount | 税后金额 | string | |
post_fee | 邮费 | string | |
other_fee | 其他费用 | string | |
adjust_price | 纠错金额 | string | |
right_price | 调整后总金额 | string | |
logistics_type | 物流类型 | string | |
logistics_no | 物流编号 | string | |
logistics_name | 物流名称 | string | |
logistics_code | 物流单号 | string | |
refund_no | 退换单编号 | string | |
check_time | 入库审核时间 | string | |
customer_no | 客户编号 | string | |
customer_name | 客户名称 | string | |
nick_name | 客户网名 | string | |
shop_name | 店铺名称 | string | |
stockin_reason | 入库原因 | string | |
flag_name | 退货单标记 | string | |
platform_id | 平台id | string | |
tid | 订单原始单号 | string | |
stockin_operator_name | 入库操作人姓名 | string | |
check_operator_name | 审核人姓名 | string | |
refund_remark | 退换备注 | string | |
refund_operator_name | 退货员姓名 | string | |
stockin_no | 入库单号 | string | |
wms_outer_no | 外部仓库单号 | string | |
wms_status | 外部仓库状态 | string | |
wms_result | 结果 | string | |
warehouse_id | 仓库id | string | |
src_order_type | 入库单类型 | string | |
src_order_id | 业务单据id | string | |
reason_id | 原因 | string | |
fa_status | 财务同步状态 | string | |
logistics_id | 物流公司d | string | |
post_share_type | 邮资分摊类型 | string | |
operator_id | 操作员id | string | |
check_operator_id | 审核员id | string | |
goods_type_count | 货品种类数 | string | |
adjust_num | 调整数量 | string | |
note_count | 便签条数 | string | |
flag_id | 标记id | string | |
modified | 最后修改时间 | string | |
details_list | 货品列表节点 | array | |
details_list.rec_id | 明细表主键id | string | |
details_list.stockin_id | 入库单主键id | string | |
details_list.src_order_detail_id | 上层单据(退换单)退回货品明细主键 | string | |
details_list.spec_no | 商家编码 | string | |
details_list.goods_count | 货品数量 | string | |
details_list.discount | 优惠金额 | string | |
details_list.cost_price | 成本价 | string | |
details_list.production_date | 生产日期 | string | |
details_list.validity_days | 有效期天数 | string | |
details_list.expire_date | 有效期 | string | |
details_list.src_price | 原价 | string | |
details_list.tax_price | 税后单价 | string | |
details_list.tax_amount | 税后金额 | string | |
details_list.tax | 税率 | string | |
details_list.total_cost | 总成本 | string | |
details_list.remark | 备注 | string | |
details_list.adjust_num | 纠错数量 | string | |
details_list.adjust_price | 纠错金额 | string | |
details_list.right_num | 调整后数量 | string | |
details_list.right_price | 调整后单价 | string | |
details_list.num | 入库数量 | string | |
details_list.num2 | 辅助数量 | string | |
details_list.right_cost | 调整后总金额 | string | |
details_list.brand_no | 品牌编号 | string | |
details_list.brand_name | 品牌名称 | string | |
details_list.goods_name | 货品名称 | string | |
details_list.prop2 | 单品自定义属性2 | string | |
details_list.goods_no | 货品编号 | string | |
details_list.spec_name | 规格名称 | string | |
details_list.spec_code | 规格编号 | string | |
details_list.goods_unit | 基本单位 | string | |
details_list.batch_no | 入库批次 | string | |
details_list.batch_remark | 批次备注 | string | |
details_list.position_no | 货位编号 | string | |
details_list.tid | 原订单原始单号 | string | |
details_list.oid | 原订单原始子单号 | string | |
details_list.src_order_type | 订单类型 | string | |
details_list.org_stockin_detail_id | 原始入库单明细 | string | |
details_list.spec_id | erp商品主键 | string | |
details_list.batch_id | 批次 | string | |
details_list.position_id | 货位id | string | |
details_list.unit_id | 辅助单位 | string | |
details_list.base_unit_id | 基本单位 | string | |
details_list.unit_ratio | 单位比率 | string | |
details_list.expect_num | 期望数量 | string | |
details_list.cost_price2 | 辅助价格 | string | |
details_list.share_post_cost | 邮资分摊成本 | string | |
details_list.share_post_total | 邮资分摊总成本 | string | |
details_list.modified | 最后修改时间 | string | |
details_list.created | 创建时间 | string | |
用友BIP接口明细
- API:/yonbip/scm/salesout/mergeSourceData/save
- NAME:销售出库来源生单保存
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
mergeSourceData | 是否合并上游数据 | true | 是否合并上游数据。值为true的话则sourceid:来源单据主表id,sourceautoid:来源单据行id,makeRuleCode:单据转换规则,status:操作标识,不可为空。 示例:true |
vouchdate | 单据日期 | {{check_time dateTime}} | 单据日期 示例:2020-11-30 00:00:00 |
warehouse | 仓库id或编码 | {{warehouse_no}} | 仓库id或编码 示例:Z001 |
bizFlow | bizFlow | 4420f835-f5e0-11ec-9896-6c92bf477043 | 流程ID |
bizFlow_version | bizFlow_version | V1.0 | |
code | 单据编号 | {{order_no}} | 单据编号 示例:XSCK20201130000002 自动编码可以不携带 |
bustype | 交易类型id或编码 | A30001 | 交易类型id或编码 示例:A30001 |
details | 销售出库单子表 | details_list | 销售出库单子表[st.salesout.SalesOuts] |
details.qty | 数量 | _function {{details_list.goods_count}}*(-1) | 数量 示例:12 |
details.sourceid | 来源单据主表id | findCollection find new_id from fa473892-f9ab-3980-849e-5ef4c61d75bb where code={{src_order_no}} | 来源单据主表id,如果有来源则必输 |
details.sourceautoid | 来源单据行id | _findCollection find new_saleReturnDetailId from fa473892-f9ab-3980-849e-5ef4c61d75bb where code={{src_order_no}} skuCode={{details_list.goods_no}} bodyFreeItem!define5={{details_list.src_order_detail_id}} | 来源单据行id,有来源必输 |
details.batchno | 批次号 | | 批次号,仓库商品均开启批次管理则必填 |
details.makeRuleCode | 单据转换规则 | salereturnTosalesout | 单据转换规则,deliveryTostoreout:发货单生销售出库,salereturnTosalesout:退货单生销售出库,orderTosalesout:销售订单生销售出库 |
details.goodsposition | 货位 | | 货位,仓库开启货位则必填 示例:whhw2467516 |
details.status | 操作标识 | Insert | 操作标识, Insert:新增 示例:Insert |
details._status | 操作标识 | Insert | 操作标识, Insert:新增 示例:Insert |
系统打通概况
全面支持数据集成操作可视化、拖拽流式开发,无代码完成多套异构系统集成,降低使用门槛,提升交付速度。特别是在面向旺店通·企业奇门、用友BIP间API接口集成时,通过对API的设计、创建、测试、部署、集成、管理、运维、下线等全生命周期管理,帮助企业洞察运营状况,进一步优化流程,提高企业商业价值。基于Web图形界面,通过拖拽、连接、配置完成流程设计,数据整合和集成,高效打通业务系统,通过面向运营的统计报表,直观查看API各项指标,实现对全局和项目层级双维度的监控管理。再通过轻易云数据集成中台通过统一门户注册管理,将业务以API的方式对外开放,实现业务创新、能力输出。
