Skip to main content

xSuite eDNA Helix

Templates

edna_cust_templates.png

The Templates menu item offers options to create text templates for sending emails. These text templates are used when sending e-invoices (outbound) via email.

You can insert text variables as placeholders in the text templates. When sending an email, xSuite eDNA Helix uses these text variables to dynamically insert invoice data, such as the invoice date or invoice amounts.

A template set can be used either globally for all companies or only for one or more specific companies. Each template set contains at most one template for the email body (MailBody) and one template for the email subject (MailSubject).

Caution

To use email templates and send emails, you need a configured Office365 connector with an associated outbox.

Creating a template set

When creating a new template set, enter the companies for which the template set will be used. You can either create a template set that is used globally for all companies or a template set that is used only for selected companies. After creating the template set, you can add a template to it.

Creating a global template set
  1. Under the CustomizationTemplates menu item, click Create Template Set.

    ➣ The Create Template Set dialog box will open.

    edna_cust_template_dialog.png
  2. Select the Global option.

    edna_cust_template_dialog_global.png
  3. In the Title field, enter a display name for the template set.

  4. If necessary, enter a brief description of the template set in the Description field.

  5. Click Save.

    ➤ The template set has been created. You can now add a template.

Creating a template set for selected companies
  1. Under the CustomizationTemplates menu item, click Create Template Set.

    ➣ The Create Template Set dialog box will open.

    edna_cust_template_dialog.png
  2. Select the Company option.

  3. In the Title field, enter a display name for the template set.

  4. If necessary, enter a brief description of the template set in the Description field.

  5. In the Companies section, click the companies in the Available list for which the template set is used.

    Tip

    To select multiple companies at once, hold the Ctrl key.

    To move all companies to the Selected list at once, click the button edna_cust_code_map_double_arrow_right.png.

    ➣ The companies are highlighted in the Available list.

    edna_cust_template_dialog_companies_markiert.png
  6. Click the button edna_cust_code_map_arrow_right.png.

    ➣ The highlighted companies will be moved to the Selected list.

    edna_cust_template_dialog_companies_selected.png

    Tip

    To remove a company from the Selected list, click on the company and then click the button edna_cust_code_map_arrow_left.png. The company will be moved back to the Available list.

  7. Click Save.

    ➤ The template set has been created. You can now add a template.

Adding a template

Within a template set, you can add a maximum of one template for the email body (MailBody) and one template for the email subject (MailSubject). You can customize the text of the template as you wish. If necessary, you can insert text variables as placeholders. For an overview of the available text variables, see Text variables for email templates.

Notice

Only the text format is supported for text templates. Other file formats, such as HTML, are not supported.

  1. Go to the CustomizationTemplates menu item.

    ➣ A list of available template sets will be displayed.

    beschriftung_edna_cust_templates_liste.png
  2. Click on a template set in the list.

  3. Click Create Template and select one of the following options from the drop-down list:

    edna_cust_templates_auswahl.png
    • MailBody: Adds a template for the email text.

    • MailSubject: Adds a template for the email subject line.

  4. Enter the text for the template.

  5. To view the available text variables, type two curly brackets ({{) or press Ctrl + Space.

    ➣ The available text variables willbe displayed in a drop-down list.

    edna_cust_template_variablen.png
  6. To insert a text variable, click on a text variable in the drop-down list.

    ➣ The selected text variable will be inserted. The two closing curly brackets (}}) at the end of the text variable will be inserted automatically.

    edna_cust_template_variablen02.png
  7. Click Save.

    ➤ The template has been added. The template will now be automatically used when sending emails for the companies in the corresponding template set.

Text variables for email templates

Variable

Description

AllowanceChargeAmount

Amount of the discount/surcharge

AllowanceTotalAmount

Total allowance amount

BuyerName

Buyer's name

ChargeTotalAmount

Total surcharge

ChargeTotalAmountCurrency

Currency of the total surcharge

CompanyCode

Company code

CustomerName

Customer name

CustomerVAT

Customer's VAT number

DocumentType

Document type

DueDate

Due date

InvoiceDate

Invoice date

InvoiceNumber

Invoice number

LineExtensionAmount

Total of the net amounts of the invoice line items

LineExtensionAmountCurrency

Currency of the total net amount of the invoice line items

PayableAmount

Amount to be paid

PayableAmountCurrency

Currency for the amount to be paid

PrepaidAmount

Prepaid amount

PrepaidAmountCurrency

Currency of the prepaid amount

SupplierName

Vendor

SupplierVAT

Vendor's VAT number

TaxExclusiveAmount

Net amount

TaxExclusiveAmountCurrency

Currency of the net amount

TaxInclusiveAmount

Gross amount

TaxInclusiveAmountCurrency

Currency of the gross amount