用友BIP和旺店通·企业奇门接口打通对接实战
用友BIP和旺店通·企业奇门接口打通对接实战
接通系统:用友BIP
用友BIP助力行业龙头企业、产业链核心企业以及平台型企业建设产业互联网运营平台,通过运营、管理、协同配置和共享资源,实现产业链上下游连接与协同,并保障安全。
对接系统:旺店通·企业奇门
慧策(原旺店通)是一家技术驱动型智能零售服务商,基于云计算PaaS、SaaS模式,以一体化智能零售解决方案,帮助零售企业数字化智能化升级,实现企业规模化发展。
数据集成方案配置
通过轻易云系统数据集成平台新增创建集成方案,通过轻易云的方案市场可以一键复制,并且可以借鉴其他的方案配置完成方案制作,方案制作只需要两步,第一步先确定好对应的数据来源;源系统:用友BIP接口:采购订单列表查询通过请求调度者配置对应的请求参数即可获取到对应的数据。目标系统:旺店通·企业奇门接口:创建采购单,通过写入调度者匹配获取到的数据和写入的映射关系,即可自动生成符合目标系统:旺店通·企业奇门写入的数据自动产生写入队列,通过运行概况,系统会自动帮你诊断方案的运行情况。实时监控到方案的运行情况
用友BIP接口明细
- 接口:/yonbip/scm/purchaseorder/list
- 接口名称:采购订单列表查询
- 接口方法:POST
请求参数
| 字段 | 名称 | 类型 | 描述 |
| pageIndex | 页码 | string | 例:1 默认值:1 |
| pageSize | 每页数 | string | 例:10 默认值:10 |
| isSum | 查询表头 | string | 例:false 默认值:false |
| simpleVOs | 查询条件 | object | |
| simpleVOs.field1 | 过滤条件1 | object | |
| simpleVOs.field1.field | 查询字段 | string | |
| simpleVOs.field1.op | 比较符 | string | |
| simpleVOs.field1.value1 | 值1 | string | “and” “or” “and not” “or not”,若设置,必填expr1和expr2属性,忽略 column和condition。 |
| simpleVOs.field1.field2 | 过滤条件2 | object | |
| simpleVOs.field1.field2.field | 查询字段 | string | |
| simpleVOs.field1.field2.op | 比较符 | string | |
| simpleVOs.field1.field2.value1 | 值1 | string | “and” “or” “and not” “or not”,若设置,必填expr1和expr2属性,忽略 column和condition。 |
| simpleVOs.field1.field2.field3 | 过滤条件3 | object | |
| simpleVOs.field1.field2.field3.field | 查询字段 | string | |
| simpleVOs.field1.field2.field3.op | 比较符 | string | |
| simpleVOs.field1.field2.field3.value1 | 值1 | string | “and” “or” “and not” “or not”,若设置,必填expr1和expr2属性,忽略 column和condition。 |
| simpleVOs.queryOrders | 排序字段 | array | |
| simpleVOs.queryOrders.field | 排序条件字段 | string | 必须传实体上有的字段;主表字段查询时字段名(例: id);子表字段查询是子表对象.字段名(例:purchaseOrders.id);参照类型只能传id(例:按物料查询只能传物料id,不能传物料code) 例:id |
| simpleVOs.queryOrders.order | 顺序 | string | 正序(asc);倒序(desc) 例:asc |
响应参数
| 字段 | 名称 | 类型 | 描述 |
| pageIndex | 页码 | string | |
| pageSize | 每页数 | string | |
| recordCount | 数量 | string | |
| recordList | 返回信息 | array | |
| recordList.product_cCode | 物料编码 | string | |
| recordList.invoiceVendor | 开票供应商id | string | |
| recordList.priceUOM_Precision | 计价单位精度 | string | |
| recordList.modifyStatus | 变更状态 | string | |
| recordList.receiveStatus | 收货状态 | string | |
| recordList.listOriSum | 含税金额 | string | |
| recordList.priceUOM_Code | 计价单位编码 | string | |
| recordList.totalInTaxMoney | 累计入库含税金额 | string | |
| recordList.totalQuantity | 整单数量 | string | |
| recordList.natCurrency | 本币 | string | |
| recordList.listTotalPayOriMoney | 累计付款核销金额 | string | |
| recordList.unit_code | 主计量编码 | string | |
| recordList.id | 主表id | string | |
| recordList.isWfControlled | 是否审批流控制 | string | |
| recordList.totalArrivedTaxMoney | 累计到货含税金额 | string | |
| recordList.purchaseOrders_arrivedStatus | 到货状态 | string | |
| recordList.bmake_st_purinvoice | 流程订货订单开蓝票 | string | |
| recordList.realProductAttribute | 实物商品属性 | string | |
| recordList.purchaseOrders_inWHStatus | 入库状态 | string | |
| recordList.totalSendQty | 发货数量 | string | |
| recordList.natCurrency_priceDigit | 本币 | string | |
| recordList.bmake_st_purinrecord_red | 流程退库 | string | |
| recordList.status | 状态 | string | |
| recordList.currency_moneyDigit | 本币金额精度 | string | |
| recordList.listTotalPayApplyAmount | 累计付款申请金额 | string | |
| recordList.currency_code | 币种编码 | string | |
| recordList.vouchdate | 单据日期 | string | |
| recordList.invoiceVendor_name | 开票供应商 | string | |
| recordList.vendor | 供货供应商id | string | |
| recordList.purchaseOrders_payStatus | 核销状态 | string | |
| recordList.listOriMoney | 无税金额 | string | |
| recordList.currency | 币种 | string | |
| recordList.pubts | 时间戳 | string | |
| recordList.org_name | 采购组织 | string | |
| recordList.generalPurchaseOrderType | 交易类型扩展参数 | string | |
| recordList.isFlowCoreBill | 是否流程核心单据 | string | |
| recordList.creator | 创建者 | string | |
| recordList.product | 物料id | string | |
| recordList.oriSum | 含税金额 | string | |
| recordList.inInvoiceOrg_name | 收票组织 | string | |
| recordList.product_defaultAlbumId | 物料首图片 | string | |
| recordList.purchaseOrders_id | 订单行id | string | |
| recordList.totalRecieveQty | 累计到货数量 | string | |
| recordList.demandOrg_name | 需求组织 | string | |
| recordList.createTime | 创建时间 | string | |
| recordList.purUOM_Precision | 采购单位精度 | string | |
| recordList.currency_priceDigit | 币种单价精度 | string | |
| recordList.bEffectStock | 影响可用量 | string | |
| recordList.inOrg | 收货组织id | string | |
| recordList.bustype_name | 交易类型 | string | |
| recordList.purchaseOrders_invPriceExchRate | 计价单位换算率 | string | |
| recordList.subQty | 采购数量 | string | |
| recordList.inInvoiceOrg | 收票组织id | string | |
| recordList.product_cName | 物料名称 | string | |
| recordList.listTaxRate | 税率 | string | |
| recordList.bmake_st_purinvoice_red | 流程订货订单开红票 | string | |
| recordList.product_model | 型号 | string | |
| recordList.storagenum | 已入库数量 | string | |
| recordList.purchaseOrders_invExchRate | 采购换算率 | string | |
| recordList.vendor_name | 供应商 | string | |
| recordList.oriUnitPrice | 无税单价 | string | |
| recordList.barCode | 单据条码 | string | |
| recordList.isContract | 是否需要与供应商协同 | string | |
| recordList.unit_name | 主计量 | string | |
| recordList.unit | 主计量id | string | |
| recordList.purchaseOrders_invoiceStatus | 发票状态 | string | |
| recordList.natCurrency_moneyDigit | 本币 | string | |
| recordList.qty | 数量 | string | |
| recordList.unit_Precision | 主计量精度 | string | |
| recordList.oriTaxUnitPrice | 含税单价 | string | |
| recordList.moneysum | 金额 | string | |
| recordList.natCurrency_code | 本币 | string | |
| recordList.product_modelDescription | 规格说明 | string | |
| recordList.code | 单据编码 | string | |
| recordList.demandOrg | 需求组织id | string | |
| recordList.bizFlow | 流程ID | string | |
| recordList.realProductAttributeType | 实物商品属性 | string | |
| recordList.priceUOM | 计价单位id | string | |
| recordList.bizstatus | 状态 | string | |
| recordList.totalInQty | 累计入库数量 | string | |
| recordList.bizFlow_version | 版本信息 | string | |
| recordList.currency_name | 币种 | string | |
| recordList.org | 采购组织 | string | |
| recordList.bmake_st_purinrecord | 流程入库 | string | |
| recordList.purchaseOrders_purUOM | 采购单位编码 | string | |
| recordList.bustype | 交易类型id | string | |
| recordList.listOriTax | 税额 | string | |
| recordList.retailInvestors | 是否散户 | string | |
| recordList.inOrg_name | 收货组织 | string | |
| recordList.listTotalPayAmount | 累计付款金额 | string | |
| recordList.priceUOM_Name | 计价单位名称 | string | |
| recordList.listTotalPayNATMoney | 本币累计付款核销金额 | string | |
| recordList.approvenum | 已审批数量 | string | |
| recordList.listdiscountTaxType | 扣税类别 | string | |
| recordList.bizFlow_name | 流程名称 | string | |
| recordList.pageCount | 页数 | string | |
| recordList.beginPageIndex | 起始页 | string | |
| recordList.endPageIndex | 结束页 | string | |
| recordList.pubts | 时间戳 | string |
旺店通·企业奇门接口明细
- 接口:wdt.purchase.order.push
- 接口名称:创建采购单
- 接口方法:POST
请求参数
| 字段 | 名称 | 类型 | 描述 |
| provider_no | 供应商编号 | string | 供应商编号,ERP供应商档案必须存在此编号,否则推送失败 |
| warehouse_no | 仓库编号 | string | 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置),用于创建指定仓库数据信息(不支持一次推送多个仓库编码) |
| outer_no | API单号 | string | API单号(如果【使用API单号作为系统采购单号】,那么该字段长度不能超过20)保证唯一 |
| is_use_outer_no | 传入ERP采购单号 | string | 使用api外部单号作为系统采购单号(1使用,0不使用),默认不使用 |
| is_check | 自动审核 | string | 是否自动审核,0 不审核,1 审核,默认不自动审核(不影响财务审核) |
| contact | 收货人姓名 | string | 收货人姓名 |
| purchase_name | 采购员 | string | 采购员 |
| remark | 备注 | string | 采购单备注 |
| details_list | 采购明细节点 | array | 请求参数的2级数据节点,包含采购单所有货品明细信息的数据节点,节点下数据字段详见下述“details_list” |
| details_list.spec_no | 商家编码 | string | 代表单品(sku)所有属性的编码,SKU概念介绍,单击这里 |
| details_list.num | 采购量 | string | 采购量 |
| details_list.price | 采购价格 | string | 采购价格,按采购单位,税前单价 |
| details_list.discount | 折扣 | string | 折扣(1为不打折,0.9为9折,以此类推,0即为免费,接口计算公式在上边) |
| details_list.tax | 税率 | string | 货品的税率,传值范围大于等于0小于等于1 |
| details_list.tax_price | 税后单价 | string | 税后单价,推送税后单价时折扣(discount)传值不生效,由接口计算,公式为discount=tax_price/(price*(1+tax)) |
| details_list.remark | 备注 | string | 采购货品明细备注 |
| details_list.prop1 | 采购类型 | string | |
| details_list.purchase_info | 采购列表节点 | string | 请求参数的1级数据节点,包含采购单所有属性信息的数据节点,节点下数据字段详见下述“purchase_info” |
系统集成总览
数据集成中台设计中心Web界面以“拖拽”式交互设计,使用鼠标即可构建设计多异构系统数据集成流程,低代码平台大大降低流程设计者上手门槛。还有丰富的组件库快速满足复杂业务需求,结合不同模块即可生成不同业务流程,提升流程设计效率。平台支持多种高度灵活部署,高并发、高性能、高可用,可以通过多节点组成集群实现性能的横向扩展。适度集群配置其数据集成处理能力可达GB级/秒,为业务流提供更高数据吞吐量。平台已集成数据回压、优先级队列等能力,保障运行稳定性。完善的企业API运营管理机制帮助您构建“API生产者、API管理者、API消费者”三者结合的统一API数字化生态。支持市面上主流厂家软件如:金蝶、用友、SAP、泛微、蓝凌、旺店通、聚水潭、马帮、小满CRM等等。
Copyright Notice
The article "用友BIP和旺店通·企业奇门接口打通对接实战" is original content owned by 广东轻亿云软件科技有限公司. Reposting is welcome, provided the source (including the original link) is credited in a prominent position.




