旺店通·企业奇门与用友BIP对接集成查询入库单管理连通其他入库单个保存(盘盈单-p)

源系统:旺店通·企业奇门
慧策(原旺店通)是一家技术驱动型智能零售服务商,基于云计算PaaS、SaaS模式,以一体化智能零售解决方案,帮助零售企业数字化智能化升级,实现企业规模化发展。
接入系统:用友BIP
用友BIP助力行业龙头企业、产业链核心企业以及平台型企业建设产业互联网运营平台,通过运营、管理、协同配置和共享资源,实现产业链上下游连接与协同,并保障安全。
数据对接方案
异构系统具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。那么对接就需要根据接口配置对应的规则,例如取数就要根据查询接口获取旺店通·企业奇门的数据,并且根据对应的条件进行取数,目标系统就必须根据目标系统的格式,以及获取的数据进行加工处理后进行写入到用友BIP中。轻易云集成平台的可视化配置轻松实现。

旺店通·企业奇门接口明细
- 调用接口:wdt.stockin.order.query
- 接口名称:查询入库单管理
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | string | {{LAST_SYNC_TIME datetime}} |
end_time | 结束时间 | string | {{CURRENT_TIME datetime}} |
order_type | 源单据类别 | string | 6 |
status | 入库单状态 | string | 60,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接口明细
- 调用接口:/yonbip/scm/othinrecord/single/save
- 接口名称:其他入库单个保存
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
resubmitCheckKey | 保证请求的幂等性 | string | {{stockin_no}} |
id | 主表id | string | {{src_order_id}} |
needCalcLines | 表体行计算标识 | string | false |
code | 单据编号 | string | {{stockin_no}} |
defines!define1 | defines!define1 | string | {{outer_no}} |
org | 库存组织 | string | findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code={{warehouse_no}} |
accountOrg | 会计主体 | string | _findCollection find org_code from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code={{warehouse_no}} |
vouchdate | 单据日期 | string | {{check_time}} |
bustype | 交易类型 | string | 001 |
warehouse | 仓库 | string | {{warehouse_no}} |
memo | 备注 | string | {{remark}} |
status | 操作标识, | string | Insert |
othInRecords | 其他入库单子表 | array | details_list |
othInRecords.id | 子表id | string | |
othInRecords.rowno | 行号 | string | |
othInRecords.isSerialNoManage | 序列号管理 | string | |
othInRecords.product | 物料 | string | {{details_list.goods_no}} |
othInRecords.productsku | 物料SKU | string | {{details_list.spec_no}} |
othInRecords.batchno | 批次号 | string | |
othInRecords.producedate | 生产日期 | string | |
othInRecords.invaliddate | 有效期至 | string | |
othInRecords.contactsQuantity | 应收数量 | string | |
othInRecords.contactsPieces | 应收件数 | string | |
othInRecords.qty | 数量,实收数量与应收数量不能同时为空 | string | {{details_list.goods_count}} |
othInRecords.unit | 主计量单位,传入id或code | string | _findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name={{goods_unit}} |
othInRecords.invExchRate | 换算率 | string | 1 |
othInRecords.subQty | 件数 | string | {{details_list.goods_count}} |
othInRecords.stockUnitId | 库存单位 | string | findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name={{goods_unit}} |
othInRecords.natUnitPrice | 单价 | string | |
othInRecords.natMoney | 金额 | string | |
othInRecords.goodsposition | 货位 | string | |
othInRecords.project | 项目 | string | |
othInRecords.unitExchangeType | 库存换算率换算方式 | string | |
othInRecords.autoCalcCost | 存货自动计算成本标识 | string | |
othInRecords.isBatchManage | 是否批次管理 | string | |
othInRecords.isExpiryDateManage | 是否效期管理 | string | |
othInRecords.memo | 备注 | string | {{details_list.remark}} |
othInRecords._status | 操作标识 | string | Insert |
系统打通概况
随着企业数字化业务的深入发展,对于企业的 IT 或者 CIO 来讲,正在面临一个愈发重要的问题——系统的结构太复杂了,尤其是头部企业,至少有十多套系统,这些系统之间的蛛网状的接口如果经常出问题。企业内部以及企业内部与外部建立起越来越多的业务应用系统,如何整合企业的现有IT资源,使企业中计算机孤岛式的应用向集体协作的方向发展,发挥资源效益的最大化,降低企业成本,正在逐渐成为企业关注的重要问题。用户希望企业内所有系统集成在一个平台上,操作统一,以节省培训时间。使用在轻易云应用集成平台 + MDM基础数据平台的解决方案中,轻易云应用集成平台负责实现异构、分布式系统之间互联互通,实现服务API治理以及数据传输交换。通过轻易云预置的各种适配器组件,连接现有各孤立应用系统,以图形化、拖拽方式构建集成流程和服务,提高应用系统集成工作效率,降低异构系统集成风险。针对未来可能出现的业务需求变更,在应用集成平台上进行动态调整,实现各应用系统之间的集成策略平滑升级。
