# Email-Record Fields, In-Line PDFs & File-Size Limits

### **Abstract** <a href="#iy9tzt2deafh" id="iy9tzt2deafh"></a>

Administrators can control the content and attachments included in approval notification emails sent during the vendor bill approval process in *NetSuite*. By customizing email-record fields and PDF options, they can streamline communication and reduce the need for manual follow-ups. For instance, an *AP* manager might include invoice details directly in the email body and automatically attach supporting documents like *COIs* or *W-9s* from the vendor record.

This article explains how to configure email template fields, attachment templates, and related settings for approval automation.

### **Configuring Email Record Fields and Attachment Options for Approval Automation** <a href="#qe50yeltee8c" id="qe50yeltee8c"></a>

Configuration of email content and attachments includes settings for record field display, PDF rendering, and file inclusion based on entity associations. These options help streamline approval emails while supporting compliance. Administrators can control where data appears and which documents are attached.

Follow the steps below to configure email content and attachment settings:<br>

1. From the **AWA Approval Record Type Settings**, locate and select the **Email Communication** tab:\ <br>

   <div align="left"><figure><img src="https://4244775538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi74GwuQpTYzdGbZQFpz%2Fuploads%2FxHMzzxTpD8RGGWlG88HK%2F0.png?alt=media&#x26;token=e06023b9-f0d8-4d9a-a356-c6b63593fbf3" alt=""><figcaption></figcaption></figure></div>

   \
   \
   Then, from the **Email Communication** tab, locate the **Record Details** tab:\ <br>

   <div align="left"><img src="https://4244775538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi74GwuQpTYzdGbZQFpz%2Fuploads%2FDdAwTt984sxqBLnkWHGS%2F1.png?alt=media&#x26;token=0a97dfa0-59be-43ad-8608-71b96af08510" alt="" width="298"></div>

   <br>
2. To specify which **Record Details** should appear in the approval email, enter a comma-separated list of field IDs in the **EMAIL TEMPLATE RECORD FIELDS** box. These can include body or line fields that capture important data from the bill being approved:\ <br>

   <div align="left"><img src="https://4244775538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi74GwuQpTYzdGbZQFpz%2Fuploads%2Fpwvc6N6hrSrS48RWeRlo%2F2.png?alt=media&#x26;token=d2458ce0-57ba-4c3b-a3eb-2056ce5a246d" alt=""></div>

   \
   \
   **Note**: If you're using an **Email Template Preset**, this list may already be pre-populated based on a standard configuration.\ <br>
3. Then, insert the **{{SW\_AEA\_RECORD\_DETAILS}}** placeholder into the email template to control where the details are displayed in the email body. This placeholder inserts the formatted field values; if omitted, the details appear at the bottom of the email by default:\ <br>

   <div align="left"><img src="https://4244775538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi74GwuQpTYzdGbZQFpz%2Fuploads%2Fj92fXndXJbV0tDwzHjjX%2F3.png?alt=media&#x26;token=e5fe29d2-db84-4853-9117-681f6935479d" alt=""></div>

   <br>
4. To present record information in a formatted PDF, open the **Attachments** tab and select a document from the **CUSTOM ATTACHMENT TEMPLATE** dropdown. You can scroll or type the specific name of an **Advanced PDF** template to locate it quickly:\ <br>

   <div align="left"><img src="https://4244775538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi74GwuQpTYzdGbZQFpz%2Fuploads%2Fi1VAs8kw90Z9NTOSCFSY%2F4.png?alt=media&#x26;token=d8ffb3d7-9546-4f95-baab-eaa4e184a53e" alt=""></div>

   <div align="left"><figure><img src="https://4244775538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi74GwuQpTYzdGbZQFpz%2Fuploads%2FOXRUM1AydjhkV3E5DFud%2F5.png?alt=media&#x26;token=e12f57de-678a-43b7-8582-58c4e0af8c7e" alt=""><figcaption></figcaption></figure></div>

   \
   \
   **Note:** It's preferred that the **EMAIL TEMPLATE RECORD FIELDS** be used in this field.\ <br>
5. Once you've selected a template, decide how you want it to appear in the email by choosing a setting from the **TEMPLATE ATTACHMENT MODE** dropdown. For example, you can select **Inline HTML** to render the template content directly within the email:\ <br>

   <div align="left"><figure><img src="https://4244775538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi74GwuQpTYzdGbZQFpz%2Fuploads%2F8ge0fGqJSzf8I2R1qqy3%2F6.png?alt=media&#x26;token=9e0c538f-6830-4b87-8f66-79ae8435b466" alt=""><figcaption></figcaption></figure></div>

   \
   \
   **Note**: When using **Inline HTML**, ensure that your email template contains the placeholder **{{SW\_AEA\_HTML\_ATTACHMENT}}**. This will be replaced with the rendered output of the selected PDF template at runtime.\ <br>
6. Next, to attach a specific file from the record, enter the field ID in the **CUSTOM ATTACHMENT FIELD ID**. This must be a document-type body field, and you can use join syntax to reference related records if needed:\ <br>

   <div align="left"><img src="https://4244775538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi74GwuQpTYzdGbZQFpz%2Fuploads%2FuWFDEWuxIFzdVWvgu51w%2F7.png?alt=media&#x26;token=ee0ed4d4-0be4-4b55-b31e-9f67482b8536" alt=""></div>

   \
   \
   **Note:** Files larger than **10MB** will not be attached to the email when using the **Custom Attachment Field ID**.\ <br>
7. To attach all files linked to the associated entity (e.g., **Vendor or Customer**), check the **ATTACH ALL FILES FROM ENTITY** box — ideal for including documents like &#x57;**-9s**, **COIs**, or compliance forms in approval emails:\ <br>

   <div align="left"><img src="https://4244775538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi74GwuQpTYzdGbZQFpz%2Fuploads%2FuIol1EUJNoVYBpRMUOKu%2F8.png?alt=media&#x26;token=c63125cb-8902-46a5-9076-a6827a0d39ff" alt=""></div>

   \
   \
   **Note**: This setting supports up to **10** files per email, with a **15MB** combined size limit and a **10MB** maximum per file.\ <br>

This concludes the process of configuring email-record fields, in-line PDFs and file-size limits.
