简体   繁体   English

为什么我的Intuit QBO SDK采购订单在“供应商交易”列表中没有“复制到帐单操作”选项?

[英]Why does my Intuit QBO SDK purchase order not have Copy To Bill Action option in Vendor Transaction list?

When I add an Intuit Quickbooks Online purchase order with SDK v3, it shows up (in their online interface) under the assigned Vendor's transaction list appropriately as a Purchase Order. 当我使用SDK v3添加Intuit Quickbooks Online采购订单时,它会(在其在线界面中)适当地显示为已分配的供应商的交易清单下的采购订单。 Under the Action column, the only options are Print or Copy. 在“操作”列下,唯一的选项是“打印”或“复印”。 If I open the Purchase Order and save it without changing anything, the Action column options then include Send, Copy To Bill, Print and Copy. 如果我打开采购订单并保存而不进行任何更改,则“操作”列选项将包括“发送”,“复​​制到帐单”,“打印”和“复制”。 There are no errors adding the PO. 添加采购订单没有错误。 Logging shows the PO was added successfully. 记录显示采购订单已成功添加。 Why isn't the Copy To Bill option available immediately after it is added? 为什么“添加到帐单”选项添加后不立即可用? Here is a copy of the request. 这是请求的副本。

<?xml version="1.0"?>
http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schema.intuit.com/finance/v3">
  <DocNumber>1</DocNumber>
  <TxnDate>2015-01-30</TxnDate>
  <Line>
    <Description>Fountain Pump</Description>
    <Amount>10</Amount>
    <DetailType>ItemBasedExpenseLineDetail</DetailType>
    <ItemBasedExpenseLineDetail>
      <ItemRef>11</ItemRef>
      <UnitPrice>10</UnitPrice>
      <Qty>1</Qty>
      <CustomerRef>63</CustomerRef>
    </ItemBasedExpenseLineDetail>
  </Line>
  <VendorRef>30</VendorRef>
</PurchaseOrder>

Correct request- 正确的要求-

<PurchaseOrder xmlns="http://schema.intuit.com/finance/v3">
  <TxnDate>2015-02-02</TxnDate>
  <CurrencyRef name="United States Dollar">USD</CurrencyRef>
  <Line>
    <Id>1</Id>
    <Amount>45.00</Amount>
    <DetailType>AccountBasedExpenseLineDetail</DetailType>
    <AccountBasedExpenseLineDetail>
      <AccountRef name="Purchases">17</AccountRef>
      <BillableStatus>NotBillable</BillableStatus>
      <TaxCodeRef>NON</TaxCodeRef>
    </AccountBasedExpenseLineDetail>
  </Line>
  <VendorRef name="fffaltu">9</VendorRef>
  <APAccountRef name="Name_a0a0e">10</APAccountRef>
  <TotalAmt>45.00</TotalAmt>
  <VendorAddr>
    <Id>208</Id>
    <Line1>fffaltu</Line1>
    <Line2>aaaxasxsaxasx</Line2>
  </VendorAddr>
  <ShipAddr>
    <Id>209</Id>
    <Line1>QBO_US_Plus_D49a58</Line1>
    <Line2>yyxw</Line2>
    <Line3>eee, AK  56033 US</Line3>
  </ShipAddr>
  <POStatus>Open</POStatus>
</PurchaseOrder>

I tried multiple times to replicate your use case. 我多次尝试复制您的用例。 If I do not send the POStatus then only this issue happens. 如果我不发送POStatus,则只会发生此问题。 Might be a bug. 可能是个错误。 I will report it. 我会报告。 Please send the POStatus to overcome this issue. 请发送POStatus以解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM