【问题标题】:Why does my Intuit QBO SDK purchase order not have Copy To Bill Action option in Vendor Transaction list?为什么我的 Intuit QBO SDK 采购订单在供应商交易列表中没有 Copy To Bill Action 选项?
【发布时间】:2015-01-30 16:09:02
【问题描述】:

当我使用 SDK v3 添加 Intuit Quickbooks Online 采购订单时,它会(在其在线界面中)在指定的供应商交易列表下适当地显示为采购订单。在操作列下,唯一的选项是打印或复印。如果我打开采购订单并保存它而不更改任何内容,则操作列选项包括发送、复制到账单、打印和复制。添加采购订单没有错误。日志显示 PO 已成功添加。为什么复制到账单选项在添加后不立即可用?这是请求的副本。

<?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>

【问题讨论】:

    标签: intuit-partner-platform quickbooks-online purchase-order


    【解决方案1】:

    正确的请求-

    <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>
    

    我多次尝试复制您的用例。 如果我不发送 POStatus,那么只会出现这个问题。 可能是一个错误。我会报告的。 请发送 POStatus 以解决此问题。

    【讨论】:

    • 添加 POStatus 解决了这个问题。谢谢。
    猜你喜欢
    • 2022-12-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多