感谢您的反馈!
查询采购订单数据信息
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| param_purchase_order_query_top_d_t_o | PurchaseOrderQueryTopDto | 可选 | 查询dto | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| content | PageDataDto | null | 分页对象 |
|
|||
| error_level | Number | 1 | 错误等级 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaPurPoGetRequest req = new AlibabaPurPoGetRequest();
AlibabaPurPoGetRequest.PurchaseOrderQueryTopDto obj1 = new AlibabaPurPoGetRequest.PurchaseOrderQueryTopDto();
obj1.setBuyer("038912");
obj1.setCurrentPage(1L);
obj1.setIncludeSupplierBankAccount(false);
obj1.setPageSize(100L);
obj1.setPoCreateDateEnd(StringUtils.parseDateTime("2019-11-21 17:00:00"));
obj1.setPoCreateDateStart(StringUtils.parseDateTime("2019-11-22 10:25:02"));
obj1.setPoModifiedDateEnd(StringUtils.parseDateTime("2019-11-21 17:00:00"));
obj1.setPoModifiedDateStart(StringUtils.parseDateTime("2019-11-22 10:25:02"));
obj1.setPoNumber("PO200002276");
obj1.setPoView("ITEM_INCLUDED");
obj1.setPrItemNumber("123123");
obj1.setPrNumber("123132");
obj1.setReceiver("038912");
obj1.setSrNumber("13213");
obj1.setStatus("EFFECT");
obj1.setSupplierId(628L);
obj1.setNeedStructureItem(true);
req.setParamPurchaseOrderQueryTopDTO(obj1);
AlibabaPurPoGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_pur_po_get_response>
<content>
<current_page>1</current_page>
<data_list>
<purchase_order_top_out_dto>
<biz_type>CERES_INQUIRY</biz_type>
<buyer>113267</buyer>
<buyer_dept_code>40549</buyer_dept_code>
<buyer_manager>113267</buyer_manager>
<buyer_purchase_org_id>1050</buyer_purchase_org_id>
<cash_pay>true</cash_pay>
<cheque_pay>false</cheque_pay>
<company_code>290</company_code>
<contract_number>A50201400468</contract_number>
<contract_type>PURCHASE</contract_type>
<creator>38912</creator>
<currency>CNY</currency>
<delivery_detail>false</delivery_detail>
<demander_purchase_org_id>1050</demander_purchase_org_id>
<description>同步测试</description>
<effect_date_range_end>2015-09-23</effect_date_range_end>
<effect_date_range_start>2015-09-23</effect_date_range_start>
<effect_time>2019-02-01 00:00:00</effect_time>
<email_status>SEND_SUCCESS</email_status>
<exchange_rate>1.0000</exchange_rate>
<expire_remind>true</expire_remind>
<external_po_number>null</external_po_number>
<files>,043e2a59203b4136a5bded4a7526eeb4.txt,</files>
<gmt_create>2017-07-26 09:45:17</gmt_create>
<gmt_modified>2019-11-05 15:12:25</gmt_modified>
<has_electronic_sign>true</has_electronic_sign>
<id>45162031</id>
<invoiced_amount>185.002020</invoiced_amount>
<item_list>
<purchase_order_item_top_out_dto>
<address_ext>code/text</address_ext>
<address_id>6540779</address_id>
<address_info>杭州阿里巴巴</address_info>
<biz_type>CMALL</biz_type>
<category_code>VB01</category_code>
<category_name>null</category_name>
<category_use>SHOOTING_OUT</category_use>
<category_use_name>null</category_use_name>
<currency>CNY</currency>
<demander>27467</demander>
<exchange_rate>1.0000</exchange_rate>
<ext_json_string>{"sourceValue":"123"}</ext_json_string>
<goods_quotation_id>101010636</goods_quotation_id>
<id>100179416</id>
<incoterm>FOB</incoterm>
<item_description>UI自动化-订单-提交-一键生成 UI自动化-订单-提交-一键生成</item_description>
<item_name>UI自动化-订单-提交-一键生成</item_name>
<line_num>1</line_num>
<need_by_date_end>2019-04-13</need_by_date_end>
<need_by_date_start>2019-04-25</need_by_date_start>
<order_type>AMOUNT</order_type>
<origin_tax_amount>1000.000000</origin_tax_amount>
<origin_tax_unit_price>1.000000</origin_tax_unit_price>
<pr_item_number>10469947</pr_item_number>
<pr_number>PR148170</pr_number>
<product_id>337399</product_id>
<project_number>NB123456</project_number>
<purchase_order_id>45162031</purchase_order_id>
<quantity>1000.000000</quantity>
<quotation_item_number>26304</quotation_item_number>
<receiver>38912</receiver>
<receiver_name>null</receiver_name>
<receiver_phone>null</receiver_phone>
<sku_id>100990</sku_id>
<specification>项目名称:采购中台;城市:杭州市;活动时间:20190101-20191231</specification>
<sr_number>26354</sr_number>
<status>CANCELLED</status>
<tax_amount>1000.000000</tax_amount>
<tax_code>liyunlongtest3</tax_code>
<tax_code_desc>null</tax_code_desc>
<tax_rate>0.000000</tax_rate>
<tax_unit_price>1.000000</tax_unit_price>
<uom>元</uom>
<finance_distribution_d_t_o_list>
<finance_distribution_top_dto>
<id>null</id>
<biz_id>null</biz_id>
<biz_type>2</biz_type>
<allocation_amount>1666</allocation_amount>
<allocation_quantity>1000</allocation_quantity>
<unit_price>14</unit_price>
<total_amount>12222</total_amount>
<total_quantity>111</total_quantity>
<allocation_value>1111</allocation_value>
<item_description>很好</item_description>
<parent_distribution_id>1</parent_distribution_id>
<acct_ccid>1</acct_ccid>
<source_id>1</source_id>
<currency_code>cny</currency_code>
<distribution_value_list>null</distribution_value_list>
<accounting_map>null</accounting_map>
</finance_distribution_top_dto>
</finance_distribution_d_t_o_list>
<received>1</received>
<quantity_received>0</quantity_received>
<structure_item_top_out_d_t_o_list>
<structure_item_top_out_d_t_o>
<id>123</id>
<parent_id>123</parent_id>
<item_level>1</item_level>
<root_id>123</root_id>
<root>y</root>
<biz_id>1234</biz_id>
<biz_type>PO</biz_type>
<properties><"purchaseCategoryCode", "HA01"></properties>
<from_structure_item_id>1234</from_structure_item_id>
</structure_item_top_out_d_t_o>
</structure_item_top_out_d_t_o_list>
</purchase_order_item_top_out_dto>
</item_list>
<modifier>38912</modifier>
<no_contract_reason>2344</no_contract_reason>
<origin_currency>CNY</origin_currency>
<ou_code>null</ou_code>
<paid_amount>1000.000000</paid_amount>
<payee_bank_id>179613</payee_bank_id>
<payee_id>948</payee_id>
<payment_plan_top_out_d_t_o>
<pay_on_percent>y</pay_on_percent>
<payment_name>货到付款</payment_name>
<payment_plan_item_top_out_dto_list>
<payment_plan_item_top_out_dto>
<item_digest_cn>null</item_digest_cn>
<item_digest_en>null</item_digest_en>
<item_type>POSTPAY_MONEY</item_type>
<need_invoice>y</need_invoice>
<pay_apply_date>2019-09-30</pay_apply_date>
<pay_ref_type>INVOICE_ARV_DATE</pay_ref_type>
<pay_term>465</pay_term>
<pay_term_type>WORKING_DAY</pay_term_type>
<payment_amount>1000.000000</payment_amount>
<payment_percent>20.000000</payment_percent>
<phase>1</phase>
<terms>1111222</terms>
</payment_plan_item_top_out_dto>
</payment_plan_item_top_out_dto_list>
<payment_type>PAY_AFTER_RECEIPT</payment_type>
</payment_plan_top_out_d_t_o>
<po_detail_link>null</po_detail_link>
<po_number>PO10075677</po_number>
<quotation_approved_time>2019-11-05 15:12:25</quotation_approved_time>
<quotation_number>BJD10023393</quotation_number>
<source_type>PR</source_type>
<status>EFFECT</status>
<supplier>
<address>null</address>
<country>null</country>
<id>628</id>
<is_need_transit_bank>y</is_need_transit_bank>
<name>供应商A</name>
<supplier_bank_accounts>
<supplier_bank_account_top_out_dto>
<account>null</account>
<account_name>null</account_name>
<bank_account_type>null</bank_account_type>
<bank_address>null</bank_address>
<bank_branch_name>null</bank_branch_name>
<bank_code>null</bank_code>
<bank_country>null</bank_country>
<bank_name>null</bank_name>
<beneficiary_citizenship_status>null</beneficiary_citizenship_status>
<beneficiary_residency_status>null</beneficiary_residency_status>
<beneficiary_type>null</beneficiary_type>
<branch_code>null</branch_code>
<bsb_code>null</bsb_code>
<cnaps>null</cnaps>
<district>null</district>
<iban_number>null</iban_number>
<id>12321</id>
<ifsc_code>null</ifsc_code>
<in_land_bank_code>null</in_land_bank_code>
<payment_purpose>null</payment_purpose>
<province>null</province>
<routing_no>null</routing_no>
<sort_code>null</sort_code>
<swift_code>null</swift_code>
</supplier_bank_account_top_out_dto>
</supplier_bank_accounts>
<supplier_code>null</supplier_code>
<transit_bank_account>null</transit_bank_account>
<transit_bank_state>null</transit_bank_state>
<transit_bank_swiftcode>null</transit_bank_swiftcode>
</supplier>
<supplier_id>628</supplier_id>
<tenant_id>10000</tenant_id>
<to_paid_amount>y</to_paid_amount>
<total_amount>1000.000000</total_amount>
</purchase_order_top_out_dto>
</data_list>
<total_count>10</total_count>
</content>
<error_level>1</error_level>
</alibaba_pur_po_get_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|---|---|
| isv.trade-service-unavailable | 查询采购订单异常 | 联系接口负责人处理 |