从旺店通·企业奇门到用友BIP通过接口配置打通数据

对接系统:旺店通·企业奇门
慧策最先以旺店通ERP切入商家核心管理痛点——订单管理,之后围绕电商经营管理中的核心管理诉求,先后布局流量获取、会员管理、仓库管理等其他重要经营模块。慧策的产品线从旺店通ERP起步,向前向后延伸,全面布局零售企业经营,整体构建一体化智能零售解决方案,打破数据孤岛,AI植入系统,实现智能决策,助力零售企业智能化转型。当前旗下拥有店+小程序、数智门店POS、旺店通ERP、旺店通WMS、卡米全渠道、客优CRM、云筹大数据等多个PssS、SaaS产品,从前端吸引流量到后端集约化管理,助力企业智慧决策
对接目标平台:用友BIP
YonBIP用友商业创新平台,是用友在数字经济时代面向成长型、大型企业及巨型企业,融合了先进且高可用技术平台和公共与关键商业应用与服务,支撑和运行客户的商业创新(业务创新、管理变革),并且具有数字化、智能化、高弹性、安全可信、社会化、全球化、平台化、生态化等特征的综合型服务平台。
接口方案配置
通过可视化界面的拖、拉、拽即可轻松快速构建数据集成流程,将旺店通·企业奇门、用友BIP之间接口数据联通,支持数据在线预览、数据集成流程全过程调试,Web界面追踪调试日志等功能。 平台兼具实时数据处理和数据集成分发功能,用户通过可视化的拖、拽即可完成数据处理逻辑,将数据加工处理后分发到下游业务系统或其他异构存储中。

旺店通·企业奇门接口明细
- 调用接口:wdt.stockin.order.query
- 接口名称:查询入库单管理
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | string | {{LAST_SYNC_TIME datetime}} |
end_time | 结束时间 | string | {{CURRENT_TIME datetime}} |
order_type | 源单据类别 | string | 6 |
status | 入库单状态 | string | 80 |
warehouse_no | 仓库编号 | string | |
src_order_no | 上层单据编号 | string | |
stockin_no | 入库单号 | string | |
page_size | 分页大小 | string | {{PAGINATION_PAGE_SIZE}} |
page_no | 页号 | string | {{PAGINATION_START_PAGE}} |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
stockin_id | 入库单主键id | string | |
order_no | 入库单号 | string | |
stockin_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 | 物流公司 | string | |
post_share_type | 邮费分摊类型 | string | |
operator_id | 经办人 | string | |
note_count | 便签条数 | string | |
flag_id | 标记颜色 | string | |
modified | 最后修改时间 | string | |
warehouse_no | 仓库编号 | string | |
warehouse_name | 仓库名称 | string | |
status | 状态 | string | |
stockin_time | 入库时间 | string | |
created_time | 创建时间 | string | |
remark | 备注 | string | |
stockin_reason | 入库原因 | string | |
order_type | 订单类别 | string | |
order_type_name | 订单类别名称 | string | |
goods_count | 货品数量 | string | |
goods_amount | 货款总额 | string | |
total_price | 扣除优惠后货款总额 | string | |
discount | 优惠金额 | string | |
tax_amount | 税后金额 | string | |
post_fee | 邮费 | string | |
other_fee | 其他费用 | string | |
logistics_type | 物流类型 | string | |
check_time | 审核时间 | string | |
src_order_no | 源单号 | string | |
outer_no | 外部单号 | string | |
logistics_no | 物流单号 | string | |
operator_name | 操作员姓名 | string | |
details_list | 货品列表节点 | array | |
details_list.stockin_id | 入库单主键id | string | |
details_list.rec_id | 主键 | string | |
details_list.src_order_detail_id | 上层单据明细主键 | string | |
details_list.src_order_type | 入库类型 | string | |
details_list.org_stockin_detail_id | 原始入库单明细 | string | |
details_list.spec_id | 规格ID | string | |
details_list.batch_id | 批次 | string | |
details_list.position_id | 货位ID | string | |
details_list.num | 库存单位 | string | |
details_list.num2 | 辅助单位量 | 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 | |
details_list.spec_no | 商家编码 | string | |
details_list.goods_count | 货品数量 | string | |
details_list.discount | 优惠金额 | string | |
details_list.right_num | 调整后数量 | string | |
details_list.right_price | 调整后单价 | string | |
details_list.right_cost | 调整后总金额 | 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.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.prop2 | 自定义属性2 | string | |
details_list.goods_unit | 单位 | string | |
details_list.batch_no | 批次号 | string | |
details_list.batch_remark | 批次备注 | string | |
details_list.position_no | 货位编号 | string | |
用友BIP接口明细
- API:/yonbip/scm/othinrecord/single/save
- NAME:其他入库单个保存
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
resubmitCheckKey | 保证请求的幂等性 | {{stockin_no}} | 该值由客户端生成,并且必须是全局唯一的,长度不能超过32位。更多信息,请参见«MDD幂等性» |
id | 主表id | {{src_order_id}} | |
needCalcLines | 表体行计算标识 | false | 不传或传入false时不对子表进行二次计算,需调用方保证数据的完整及正确性;为true时,以数量反算件数、以成本金额反算单价。 例:false |
code | 单据编号 | {{stockin_no}} | 以系统编码规则配置为准,系统设置为手工编号时必输,系统设置为自动编号时非必输;更新操作时必填 例:QTRK0000001 |
defines!define1 | defines!define1 | {{outer_no}} | 以系统编码规则配置为准,系统设置为手工编号时必输,系统设置为自动编号时非必输;更新操作时必填 例:QTRK0000001 |
org | 库存组织 | findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code={{warehouse_no}} | ,传入id或code 例:wzyqzn |
accountOrg | 会计主体 | _findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code={{warehouse_no}} | 传入id或code 例:wzyqzn |
vouchdate | 单据日期 | {{check_time}} | 例:2021-03-05 |
bustype | 交易类型 | 001 | 传入id或code 例:A08001 |
warehouse | 仓库 | {{warehouse_no}} | 传入id或code 例:ck01 |
memo | 备注 | {{remark}} | 例:XXX |
status | 操作标识, | Insert | Insert:新增、Update:更新 例:Insert |
othInRecords | 其他入库单子表 | details_list | |
othInRecords.id | 子表id | | |
othInRecords.rowno | 行号 | | 例:1 |
othInRecords.isSerialNoManage | 序列号管理 | | true:是、false:否、 例:false |
othInRecords.product | 物料 | {{details_list.goods_no}} | 传入id或code 例:PD0817000001 |
othInRecords.productsku | 物料SKU | {{details_list.spec_no}} | 传入id或code 例:PD08170000010004 |
othInRecords.batchno | 批次号 | | 例:SH01 |
othInRecords.producedate | 生产日期 | | 例:2020-09-24 00:00:00 |
othInRecords.invaliddate | 有效期至 | | 例:2020-09-24 00:00:00 |
othInRecords.contactsQuantity | 应收数量 | | 应收数量与实收数量不能同时为空 例:10 |
othInRecords.contactsPieces | 应收件数 | | 例:10 |
othInRecords.qty | 数量,实收数量与应收数量不能同时为空 | {{details_list.goods_count}} | 例:10 |
othInRecords.unit | 主计量单位,传入id或code | _findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name={{goods_unit}} | 例:KGM |
othInRecords.invExchRate | 换算率 | 1 | 例:件(精度2) |
othInRecords.subQty | 件数 | {{details_list.goods_count}} | 例:件(精度2) |
othInRecords.stockUnitId | 库存单位 | findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name={{goods_unit}} | 传入id或code 例:KGM |
othInRecords.natUnitPrice | 单价 | | 例:10 |
othInRecords.natMoney | 金额 | | 例:100 |
othInRecords.goodsposition | 货位 | | 传入id或code,仓库开启货位记存量时必输 例:ck01_hw01 |
othInRecords.project | 项目 | | 传入id或code 例:2411545234969600 |
othInRecords.unitExchangeType | 库存换算率换算方式 | | ,0固定换算,1浮动换算 例:1 |
othInRecords.autoCalcCost | 存货自动计算成本标识 | | 是否由存货核算回写成本金额、成本单价 例:false |
othInRecords.isBatchManage | 是否批次管理 | | true:是;false:否 例:false |
othInRecords.isExpiryDateManage | 是否效期管理 | | true:是;false:否 例:false |
othInRecords.memo | 备注 | {{details_list.remark}} | 例:XXX |
othInRecords._status | 操作标识 | Insert | Insert:新增、Update:更新 例:Insert |
系统对接概况
通过数据集成平台可视化的快速配置调用接口打通旺店通·企业奇门与用友BIP之间的数据接口,使得两个系统之间的对接更加快捷、稳定。轻易云数据集成平台打破信息孤岛、适配多种场景、降低运营成本、缩短开发周期、灵活调度配置是这种多系统数据打通时的特性优势。采用元数据模型驱动的低代码集成工具,基于系统预置的数据模型、映射、编排、日志、脚本等集成核心引擎,通过可视化配置,快速实现客户灵活多变的动态集成需求,让集成开发简单、执行过程可靠、问题风险可控。

