Adding credits applied details in the email template as a table.

The credits applied cannot be fetched in the beforeSubmit and afterSubmit contexts from the payment record. It can be accessed in the beforeLoad context.  * @NApiVersion 2.1  * @NScriptType UserEventScript  */ define([‘N/record’, ‘N/search’, ‘N/ui/serverWidget’, ‘N/email’, ‘N/render’, ‘N/format’],     /**      * @param{record} record      * @param{search} search      * @param{serverWidget} serverWidget… Continue reading Adding credits applied details in the email template as a table.