E-mail template

Settings for email templates for sending bulk email via SMTP are stored in this table. For smooth creation and editing of the templates, see E-mail templates.

PropertyValueDescription
DatabaseCompanyThis table is in the company databases.
SQL nameEmTplThe table name in the database.
API identifieremailTemplateThe API identifier used in GraphQL.
Table no.379The table number in the data model.

The following fields exist in this table:

Attachment name

Customizable name of the e-mail attachment.

This is configured using the email template editor. See E-mail templates.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainMacro functionsText (500)
SQL nameAttNmThe database field name.
API identifierattachmentNameThe API identifier used in GraphQL.
Number19001 

Bcc

The blind carbon copy for the e-mail.

The e-mail will also be sent to the e-mail addresses in this field, but they will be invisible to other recipients.

Multiple e-mail addresses can be added, divided by a semicolon (";").

If filled out it will override the corresponding field in E-mail system configuration and E-mail company configuration tables.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainString of length 80Text (80)
SQL nameBccThe database field name.
API identifierbccThe API identifier used in GraphQL.
Number17613 

Description

Description of the e-mail template.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainString of length 80Text (80)
SQL nameFileDescThe database field name.
API identifierdescriptionThe API identifier used in GraphQL.
Number17612 

E-mail template group

Link to associate that shall use the e-mail template.

The corresponding field must be filled out in the Associate table.

E-mail template group texts for different languages can be defined in the Text table. These texts has text type 208.
Note:
If you double-click or press * in this field, you can look up a E-mail template group in the Text table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainE-mail template groupInteger
SQL nameEmlTplGrThe database field name.
API identifieremailTemplateGroupThe API identifier used in GraphQL.
Number17611 

E-mail template no.

A unique number identifying the e-mail template.

Note:
If you press + in this field, the next available number is suggested. Gaps in the number series resulting from any deleted rows are not suggested. If you enter an existing number you will receive an error message. The number cannot be changed once it is entered.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNo.Integer
Primary keyYesE-mail template no.
SQL nameEmTplNoThe database field name.
API identifieremailTemplateNoThe API identifier used in GraphQL.
Number16438 

From

The From e-mail address.

Replies on e-mails will be sent to this address.

If filled out it will override the corresponding field in E-mail system configuration and E-mail company configuration tables.
Note:
If the logged in user has Use 'From' e-mail address from user selected under User pref., and this user also exists on a row in the Associate table in the User name field, the e-mail address from this associate will be used.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainString of length 80Text (80)
SQL nameFromMailThe database field name.
API identifierfromThe API identifier used in GraphQL.
Number17614 

Html file

The e-mail template that will be used when sending HTML formatted e-mails.

This is configured using the email template editor. See E-mail templates.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainBinary dataUnlimited text
SQL nameHtmlFileThe database field name.
API identifierhtmlFileThe API identifier used in GraphQL.
Number16439 

Plain text file

The e-mail template that will be used when sending plain text e-mails.

This is configured using the email template editor. See E-mail templates.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainBinary dataUnlimited text
SQL nameTxtFileThe database field name.
API identifierplainTextFileThe API identifier used in GraphQL.
Number16440 

Subject

Customizable Subject text for the e-mail.

This is configured using the email template editor. See E-mail templates.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainMacro functionsText (500)
SQL nameSubThe database field name.
API identifiersubjectThe API identifier used in GraphQL.
Number19000 

Template type

For which document type the template shall be used.

This is configured using the email template editor. See E-mail templates.

A look-up opens the dialog box where you can see the following check boxes and options:
Invoices
Packing slips
Delivery notes
Order confirmations
Purchase orders
Quotations
Production orders
Not in use from Document delivery e-mail table.
Interest notes
Reminders
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainTemplate typeInteger
SQL nameTmplTypeThe database field name.
API identifiertemplateTypeThe API identifier used in GraphQL.
Number17610 

Control columns

Control columns include information about who has changed the record last and when, and which process that is currently editing the record.

Changed by provenance

The provenance for the record change.

A look-up in this field gives you the following list of possible values:

0 - None

1 - UI

10 - External API

20 - GAiA

21 - AI Connect

100 - Internal service

101 - Task automation

102 - AutoInvoice download

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProvenanceInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChPvnThe database field name.
API identifierchangedByProvenanceThe API identifier used in GraphQL.
NumberA unique column number. 

Changed by user

The name of the user that changed the record.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainUser nameText (24)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChUsrThe database field name.
API identifierchangedByUserThe API identifier used in GraphQL.
NumberA unique column number. 

Changed date

The date when the record was changed.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDateInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChDtThe database field name.
API identifierchangedDateThe API identifier used in GraphQL.
NumberA unique column number. 

Changed time

The time when the record was changed.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainTimeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChTmThe database field name.
API identifierchangedTimeThe API identifier used in GraphQL.
NumberA unique column number. 

Changed time stamp

The date and time when the record was changed.

The field is updated with the UTC time.

This value can be used by external systems to replicate changed data. The column is indexed. 

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDate/timeDateTime
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChTsThe database field name.
API identifierchangedTimestampThe API identifier used in GraphQL.
NumberA unique column number. 

Created by provenance

The provenance for the record creation.

A look-up in this field gives you the following list of possible values:

0 - None

1 - UI

10 - External API

20 - GAiA

21 - AI Connect

100 - Internal service

101 - Task automation

102 - AutoInvoice download

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProvenanceInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCrePvnThe database field name.
API identifiercreatedByProvenanceThe API identifier used in GraphQL.
NumberA unique column number. 

Created by user

The name of the user that created the record.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainUser nameText (24)
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreUsrThe database field name.
API identifiercreatedByUserThe API identifier used in GraphQL.
NumberA unique column number. 

Created date

The date when the record was created.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDateInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreDtThe database field name.
API identifiercreatedDateThe API identifier used in GraphQL.
NumberA unique column number. 

Created time

The time when the record was created.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainTimeInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreTmThe database field name.
API identifiercreatedTimeThe API identifier used in GraphQL.
NumberA unique column number. 

Created time stamp

The date and time when the record was created.

The field is updated with the UTC time.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainDate/timeDateTime
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameCreTsThe database field name.
API identifiercreatedTimestampThe API identifier used in GraphQL.
NumberA unique column number. 

Edit status

The current status of the record.

A look-up in this field gives you the following list of possible values:

0 - Unchanged: The record is read, but not changed.

1 - Inserted: The record is new.

2 - Changed: The record is changed.

3 - Deleted: The record is deleted.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainEdit statusInteger
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameLckStThe database field name.
API identifiereditStatusThe API identifier used in GraphQL.
NumberA unique column number. 

Process no

The Process no. from the Active company process table which is currently using or has control of this record.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainProcess no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameChPrcThe database field name.
API identifierlockedByProcessNoThe API identifier used in GraphQL.
NumberA unique column number. 
Table 1. Table relations
To table Purpose From columns To columns Comments
Active company process CompanyProcess Process no. Process no.