fbpx

Download Sales Form PDFs

2 min read

Accord Sync lets you download PDFs of various Sales Form objects like Invoices. The download action generates a file related to the synced record, previewing it post download.

Supported Sales Form Objects

  • Credit Memo
  • Estimate
  • Invoice
  • Payment
  • Purchase Order
  • Refund Receipt
  • Sales Receipt

Activating the Download Button

  1. Open the detail page of the record you want to enable the button for.
  2. Click the “Setup” icon in the top right.
  3. Click “Edit Page”.
  4. If not already added, add the “Accord Record Sync” component to the page. Check the “Download QuickBooks PDF” option in the design attribute section.
  5. Save your changes.

Adding a Standalone Download Button

  1. Open the detail page of the record you want to add the button to.
  2. Click the “Setup” icon in the top right.
  3. Click “Edit Page”.
  4. Drag the “Download QuickBooks PDF” component from the “Custom – Managed” section onto your desired location on the page.
  5. Adjust the button alignment using design attributes.
  6. Save your changes.

Using Action in a Flow

  1. Create an asynchronous flow.
  2. Define conditions for triggering this action.
  3. In the asynchronous path, add the “Download QuickBooks PDF” apex action available in the package.
    1. Provide the Salesforce Record Id of the triggering record.
    2. The action returns the new Content Document Id, usable for other processes in the flow.
  4. Save and activate the flow.

PDF Viewer

To streamline viewing downloaded PDFs, we’ve introduced a component called “Accord PDF Viewer”. Any files adhering to the naming convention of this feature will appear as tabs.

CRITICAL
To use this feature effectively, you must update the File Upload and Download Security in Setup. Find the .pdf file type and update its Download Behavior to “Execute in Browser”. Otherwise, a download prompt will appear every time you load the page with this component on it.

  1. Open the detail page of the record you want to add the component to.
  2. Click the “Setup” icon in the top right.
  3. Click “Edit Page”.
  4. Drag the “Accord PDF Viewer” component from the ‘Custom – Managed’ section onto your desired location on the page.
  5. Adjust the height of the component using design attributes.
  6. Save your changes.
Go to Top