Jump to content

Recommended Posts

Posted

We want to prevent some AR invoices from being emailed from within Intacct. The way we can think of is to mark the document as ‘Printed/Emailed’. But we found that the RAWSTATE field cannot be updated via the API. Are there any other ways to achieve this? Thanks.

Posted

Hi Louis,

Thanks for your reply. We would like to know if it is possible to mark an invoice as "print/emailed" using the API without printing it in Intacct manually.

Do you mean using the API to print the invoice to PDF? If so, could you suggest an API function to do this please? Cheers.

  • Members
Posted

Ah I see. If you retrieve the PDF via the API, Intacct will toggle the "PRINTED" field from "No" to "Yes" on the SODOCUMENT object. Just tested this for you.

https://developer.intacct.com/api/order-entry/order-entry-transactions/#get-order-entry-transaction-pdf-data

<content>
  <function controlid="testControlId">
    <retrievepdf>
      <SODOCUMENT>
        <DOCID>Sales Invoice-INV-0051</DOCID>
      </SODOCUMENT>
    </retrievepdf>
  </function>
</content>

 

  • Like 1
×
×
  • Create New...