旺店通·企业奇门对接打通用友BIP查询入库单管理接口与其他入库单个保存接口

数据源平台:旺店通·企业奇门
慧策(原旺店通)是一家技术驱动型智能零售服务商,基于云计算PaaS、SaaS模式,以一体化智能零售解决方案,帮助零售企业数字化智能化升级,实现企业规模化发展。
对接目标平台:用友BIP
面向数智化市场,用友倾力打造了全球领先的数智商业创新平台——用友BIP,定位为数智商业的应用级基础设施、企业服务产业的共创平台,服务企业数智化转型和商业创新,让企业云服务随需而用,让数智价值无处不在,让商业创新如此便捷。
数据集成方案配置
轻易云集成平台的对接是通过一个个对应的对接方案去形成两个系统对接的连线,所以对接方案的配置极其重要,方案可以选择一键复制,轻易云有海量的对接方案可支持一键复制,复制后直接启动使用(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息。或者可以通过手工配置,配置只要确认源平台:旺店通·企业奇门的取数逻辑,例如什么时间取什么样的数据。即可完成配置,目标平台:用友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 | 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 | 该值由客户端生成,并且必须是全局唯一的,长度不能超过32位。更多信息,请参见«MDD幂等性» |
| id | 主表id | string | |
| needCalcLines | 表体行计算标识 | string | 不传或传入false时不对子表进行二次计算,需调用方保证数据的完整及正确性;为true时,以数量反算件数、以成本金额反算单价。 例:false |
| code | 单据编号 | string | 以系统编码规则配置为准,系统设置为手工编号时必输,系统设置为自动编号时非必输;更新操作时必填 例:QTRK0000001 |
| defines!define1 | defines!define1 | string | 以系统编码规则配置为准,系统设置为手工编号时必输,系统设置为自动编号时非必输;更新操作时必填 例:QTRK0000001 |
| org | 库存组织 | string | ,传入id或code 例:wzyqzn |
| accountOrg | 会计主体 | string | 传入id或code 例:wzyqzn |
| vouchdate | 单据日期 | string | 例:2021-03-05 |
| bustype | 交易类型 | string | 传入id或code 例:A08001 |
| warehouse | 仓库 | string | 传入id或code 例:ck01 |
| memo | 备注 | string | 例:XXX |
| status | 操作标识, | string | Insert:新增、Update:更新 例:Insert |
| othInRecords | 其他入库单子表 | array | |
| othInRecords.id | 子表id | string | |
| othInRecords.rowno | 行号 | string | 例:1 |
| othInRecords.isSerialNoManage | 序列号管理 | string | true:是、false:否、 例:false |
| othInRecords.product | 物料 | string | 传入id或code 例:PD0817000001 |
| othInRecords.productsku | 物料SKU | string | 传入id或code 例:PD08170000010004 |
| othInRecords.batchno | 批次号 | string | 例:SH01 |
| othInRecords.producedate | 生产日期 | string | 例:2020-09-24 00:00:00 |
| othInRecords.invaliddate | 有效期至 | string | 例:2020-09-24 00:00:00 |
| othInRecords.contactsQuantity | 应收数量 | string | 应收数量与实收数量不能同时为空 例:10 |
| othInRecords.contactsPieces | 应收件数 | string | 例:10 |
| othInRecords.qty | 数量,实收数量与应收数量不能同时为空 | string | 例:10 |
| othInRecords.unit | 主计量单位,传入id或code | string | 例:KGM |
| othInRecords.invExchRate | 换算率 | string | 例:件(精度2) |
| othInRecords.subQty | 件数 | string | 例:件(精度2) |
| othInRecords.stockUnitId | 库存单位 | string | 传入id或code 例:KGM |
| othInRecords.natUnitPrice | 单价 | string | 例:10 |
| othInRecords.natMoney | 金额 | string | 例:100 |
| othInRecords.goodsposition | 货位 | string | 传入id或code,仓库开启货位记存量时必输 例:ck01_hw01 |
| othInRecords.project | 项目 | string | 传入id或code 例:2411545234969600 |
| othInRecords.unitExchangeType | 库存换算率换算方式 | string | ,0固定换算,1浮动换算 例:1 |
| othInRecords.autoCalcCost | 存货自动计算成本标识 | string | 是否由存货核算回写成本金额、成本单价 例:false |
| othInRecords.isBatchManage | 是否批次管理 | string | true:是;false:否 例:false |
| othInRecords.isExpiryDateManage | 是否效期管理 | string | true:是;false:否 例:false |
| othInRecords.memo | 备注 | string | 例:XXX |
| othInRecords._status | 操作标识 | string | Insert:新增、Update:更新 例:Insert |
系统集成总览
从API服务总线层面解决企业烟囱式业务系统集成现状 相互连接企业各业务系统,实现流程端到端打通,复用已有的业务系统能力,让集成架构、服务关系更清晰 使用统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。
