旺店通·企业奇门和用友BIP接口打通对接实战

接入系统:旺店通·企业奇门
慧策(原旺店通)是一家技术驱动型智能零售服务商,基于云计算PaaS、SaaS模式,以一体化智能零售解决方案,帮助零售企业数字化智能化升级,实现企业规模化发展。
对接系统:用友BIP
YonBIP用友商业创新平台,是用友在数字经济时代面向成长型、大型企业及巨型企业,融合了先进且高可用技术平台和公共与关键商业应用与服务,支撑和运行客户的商业创新(业务创新、管理变革),并且具有数字化、智能化、高弹性、安全可信、社会化、全球化、平台化、生态化等特征的综合型服务平台。
系统对接接口配置
通过轻易云系统数据集成平台新增创建集成方案,通过轻易云的方案市场可以一键复制,并且可以借鉴其他的方案配置完成方案制作,方案制作只需要两步,第一步先确定好对应的数据来源;源系统:旺店通·企业奇门接口:查询入库单管理通过请求调度者配置对应的请求参数即可获取到对应的数据。目标系统:用友BIP接口:其他入库单个保存,通过写入调度者匹配获取到的数据和写入的映射关系,即可自动生成符合目标系统:用友BIP写入的数据自动产生写入队列,通过运行概况,系统会自动帮你诊断方案的运行情况。实时监控到方案的运行情况

旺店通·企业奇门接口明细
- 调用接口:wdt.stockin.order.query
- 接口名称:查询入库单管理
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | string | {{DAYS_AGO_1 datetime}} |
end_time | 结束时间 | string | {{CURRENT_TIME datetime}} |
order_type | 源单据类别 | string | 5 |
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 |
store | 门店 | string | 传入id或code 例:store_code_01 |
warehouse | 仓库 | string | 传入id或code 例:ck01 |
department | 部门 | string | 传入id或code 例:dept01 |
stockMgr | 库管员 | string | 传入id或code 例:operator_01 |
operator | 业务员 | string | 传入id或code 例:operator_01 |
memo | 备注 | string | 例:XXX |
status | 操作标识, | string | Insert:新增、Update:更新 例:Insert |
othInRecords | 其他入库单子表 | array | |
othInRecords.product | 物料 | string | 传入id或code 例:PD0817000001 |
othInRecords.product_cName | 物料名称 | 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.subQty | 件数 | string | 例:10 |
othInRecords.invExchRate | 库存换算率 | string | 例:1 |
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 |
系统集成总览
将传统的统计分析转变为预测分析,从被动分析到主动分析,从非实时分析转变为实时分析,从结构化的数据变成多元化的数据。精准查询数据流同步状况,实时监管队列任务以及数据资产的有序管理。为业务赋能,降本增效,让企业能够更加合理的布局团队;结合业务需求实现与OA,CRM,WMS等系统之间的数据交流与同步,为企业定制自定义的数据管理方案,用技术拓展商业边界,为新业务、新部门提供成长空间。

