旺店通·企业奇门查询采购单_v1API接口文档

所属平台: 旺店通·企业奇门
类型: WebAPI
作用: QUERY
接口版本: 0.1
适配器: \Adapter\Wdt\WdtQMQueryAdapter
帮助链接:
描述:
更新日期: 2021-04-27 21:56:42
查询采购单_v1

接口地址:wdt.purchase.order.query

请求方法: POST

加工厂: {"operation":{"method":"none"}}

接口请求参数
序号 字段 名称 类型 默认值 描述 是否必要
1 start_time start_time string {{DAYS_AGO_1|datetime}} 111
2 outer_no outer_no string 1 外部创建采购单推送的单号,传该字段可以不传开始时间和结束时间
3 purchase_no purchase_no string 1 ERP系统采购单编号,传该字段可以不传开始时间和结束时间
4 status status string 1 10 已取消,20 编辑中,30 待审核,35 待财审,40 已审核,43 待推送,45 推送失败,48 待收货,50 部分到货,60已到货,70 待结算,80 部分结算,90 已完成(不传默认查询全部状态采购单)
5 warehouse_no warehouse_no string 1 111
6 purchase_no purchase_no string 1 ERP系统采购单编号,传该字段可以不传开始时间和结束时间
7 end_time end_time string {{CURRENT_TIME|datetime}} 111
接口响应参数
序号 字段 名称 类型 默认值 描述 是否必要
1 purchase_id purchase_id string 1 采购单id,采购单表主键
2 purchase_outer_no purchase_outer_no string 1 ERP推送采购单外部返回单号(对应外部仓储单号)。
3 outer_no outer_no string 1 通过接口创建采购单时传的api单号
4 warehouse_name warehouse_name string 1 仓库名称
5 warehouse_no warehouse_no string 1 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置)
6 status status string 1 采购单状态:10已取消,20编辑中,30待审核,35待财审,40已审核,43待推送,45推送失败,48待收货,50部分到货,60已到货,70待结算,80部分结算,90已完成
7 provider_no provider_no string 1 供应商编号
8 provider_name provider_name string 1 供应商名称
9 contact contact string 1 联系人
10 telno telno string 1 电话
11 purchaser_name purchaser_name string 1 采购员
12 receive_address receive_address string 1 收货地址
13 logistics_type logistics_type string 1 货运方式
14 check_time check_time string 1 审核时间,格式:yyyy-MM-dd HH:mm:ss
15 goods_amount goods_amount string 1 货款
16 post_fee post_fee string 1 邮资
17 other_fee other_fee string 1 其他费用
18 tax_goods_amount tax_goods_amount string 1 税后货品总金额
19 remark remark string 1 采购单备注
20 modified modified string 1 单据的最后修改时间,格式:yyyy-MM-dd HH:mm:ss
21 expect_arrive_time expect_arrive_time string 1 采购预计到货时间,格式:yyyy-MM-dd HH:mm:ss
22 prop1 prop1 string 1 自定义属性1
23 prop2 prop2 string 1 自定义属性2
24 created created string 1 单据创建时间,格式:yyyy-MM-dd HH:mm:ss
25 creator_id creator_id string 1 默认为'0',创建人id
26 creator_name creator_name string 1 默认为'0',创建人姓名
27 warehouse_id warehouse_id string 1 仓库id
28 api_outer_no api_outer_no string 1 默认为'',接口创建的单据的外部单号,同outer_no
29 wms_outer_no wms_outer_no string 1 默认为'',对应外部仓库的单号,同purchase_outer_no字段
30 wms_status wms_status string 1 默认为'0',外部状态,与wms对接使用0初始化1失败2成功
31 error_info error_info string 1 默认为'',返回错误信息
32 purchaser_id purchaser_id string 1 默认为'0',采购员id
33 order_type order_type string 1 默认为'0',0普通采购单,1档口采购单,2APP档口采购单
34 flag_id flag_id string 1 默认为'0',颜色标记
35 provider_id provider_id string 1 默认为'0',供应商
36 check_operator_id check_operator_id string 1 默认为'0',审核人
37 facheck_operator_id facheck_operator_id string 1 默认为'0',财审人
38 facheck_time facheck_time string 1 默认为'0000-00-00',财审时间
39 goods_fee goods_fee string 1 默认为'0.0000',货品总价
40 goods_count goods_count string 1 默认为'0.0000',货品数量
41 tax_fee tax_fee string 1 默认为'0',税后总价
42 goods_type_count goods_type_count string 1 默认为'0',货品种类
43 goods_arrive_count goods_arrive_count string 1 默认为'0.0000',到货总量
44 revert_reason revert_reason string 1 默认为'0',驳回原因
45 version_id version_id string 1 默认为'0',版本号
46 note_count note_count string 1 默认为'0',便签条数
47 prop_time1 prop_time1 string 1 默认为'0000-00-0000:00:00',自定义属性时间1
48 details_list details_list array 1 响应参数的2级数据节点,,节点下数据字段详见下述“details_list”
49 rec_id rec_id string 1 采购明细表主键id
50 purchase_id purchase_id string 1 采购单id
51 spec_no spec_no string 1 代表单品(sku)所有属性的编码,SKU概念介绍,单击这里
52 brand_name brand_name string 1 品牌名称,推送此字段前需将版本升级至V2.3.9.1及以上的稳定版本
53 num num string 1 数量
54 price price string 1 税前单价
55 discount discount string 1 折扣
56 tax tax string 1 税率
57 tax_price tax_price string 1 税后单价
58 tax_amount tax_amount string 1 税后金额
59 amount amount string 1 税前金额
60 stockin_amount stockin_amount string 1 采购到货入库总金额
61 stockin_num stockin_num string 1 采购到货入库数量
62 prop1 prop1 string 1 自定义属性1
63 prop2 prop2 string 1 自定义属性2
64 remark remark string 1 明细备注
65 modified modified string 1 修改时间,格式:yyyy-MM-dd HH:mm:ss
66 provider_goods_no provider_goods_no string 1 供应商货品编号
67 goods_no goods_no string 1 货品编号
68 goods_name goods_name string 1 货品名称
69 short_name short_name string 1 货品简称
70 spec_name spec_name string 1 规格名称
71 spec_code spec_code string 1 规格码
72 base_unit base_unit string 1 基本单位
73 purchase_unit purchase_unit string 1 采购单位
74 arrive_num arrive_num string 1 采购到货未入库数量
75 stopwait_num stopwait_num string 1 停止等待数量
76 purchase_price purchase_price string 1 采购价
77 last_price last_price string 1 最后采购价
78 last_second_price last_second_price string 1 上一次采购价
79 lowest_price lowest_price string 1 最低采购价
80 weight weight string 1 重量
81 arrive_more_num arrive_more_num string 1 多到货量
82 lack_num lack_num string 1 未到货量
83 spec_id spec_id string 1 规格id
84 warehouse_id warehouse_id string 1 默认为'0',仓库id
85 tag tag string 1 默认为'0', tag=0表示默认采购
86 num2 num2 string 1 默认为'0.0000',辅助单位数量
87 unit_ratio unit_ratio string 1 默认为'1.0000',基本单位和辅助单位的换算系数
88 unit_id unit_id string 1 辅助单位/采购单位
89 base_unit_id base_unit_id string 1 基本单位
90 created created string 1 单据创建时间,格式:yyyy-MM-dd HH:mm:ss
旺店通·企业奇门的接口:查询采购单_v1(wdt.purchase.order.query),由轻易云数据集成平台API资产管理模块整理收纳,并且根据旺店通·企业奇门版本更新同步实时更新。API资产管理平台提供了丰富的API开发和测试工具,支持API的快速迭代和创新,加速产品的上市速度,提升企业的市场竞争力。
联系轻易云集成专家
联系系统对接开发人员胡秀丛

胡秀丛 加微信

项目总监 她以卓越的数据集成专长,精通ERP、MES系统,以及数据中台的构建与优化。通过创新的一站式解决方案,她助力企业实现数据的无缝对接,提升业务流程效率,确保信息流通无障碍,为企业的数字化转型提供强有力的支持。