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.
| Property | Value | Description |
|---|---|---|
| Database | Company | This table is in the company databases. |
| SQL name | EmTpl | The table name in the database. |
| API identifier | emailTemplate | The API identifier used in GraphQL. |
| Table no. | 379 | The 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.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Macro functions | Text (500) |
| SQL name | AttNm | The database field name. |
| API identifier | attachmentName | The API identifier used in GraphQL. |
| Number | 19001 |
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.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | String of length 80 | Text (80) |
| SQL name | Bcc | The database field name. |
| API identifier | bcc | The API identifier used in GraphQL. |
| Number | 17613 |
Description
Description of the e-mail template.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | String of length 80 | Text (80) |
| SQL name | FileDesc | The database field name. |
| API identifier | description | The API identifier used in GraphQL. |
| Number | 17612 |
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.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | E-mail template group | Integer |
| SQL name | EmlTplGr | The database field name. |
| API identifier | emailTemplateGroup | The API identifier used in GraphQL. |
| Number | 17611 |
E-mail template no.
A unique number identifying the e-mail template.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | No. | Integer |
| Primary key | Yes | E-mail template no. |
| SQL name | EmTplNo | The database field name. |
| API identifier | emailTemplateNo | The API identifier used in GraphQL. |
| Number | 16438 |
From
The From e-mail address.
Replies on e-mails will be sent to this address.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | String of length 80 | Text (80) |
| SQL name | FromMail | The database field name. |
| API identifier | from | The API identifier used in GraphQL. |
| Number | 17614 |
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.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Binary data | Unlimited text |
| SQL name | HtmlFile | The database field name. |
| API identifier | htmlFile | The API identifier used in GraphQL. |
| Number | 16439 |
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.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Binary data | Unlimited text |
| SQL name | TxtFile | The database field name. |
| API identifier | plainTextFile | The API identifier used in GraphQL. |
| Number | 16440 |
Subject
Customizable Subject text for the e-mail.
This is configured using the email template editor. See E-mail templates.
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Macro functions | Text (500) |
| SQL name | Sub | The database field name. |
| API identifier | subject | The API identifier used in GraphQL. |
| Number | 19000 |
Template type
For which document type the template shall be used.
This is configured using the email template editor. See E-mail templates.
- Invoices
- Packing slips
- Delivery notes
- Order confirmations
- Purchase orders
- Quotations
- Production orders
- Not in use from Document delivery e-mail table.
- Interest notes
- Reminders
| Property | Value | Description |
|---|---|---|
| Visible by default | Yes | This field is visible by default in the table display. |
| Domain | Template type | Integer |
| SQL name | TmplType | The database field name. |
| API identifier | templateType | The API identifier used in GraphQL. |
| Number | 17610 |
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
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Provenance | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ChPvn | The database field name. |
| API identifier | changedByProvenance | The API identifier used in GraphQL. |
| Number | A unique column number. |
Changed by user
The name of the user that changed the record.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | User name | Text (24) |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ChUsr | The database field name. |
| API identifier | changedByUser | The API identifier used in GraphQL. |
| Number | A unique column number. |
Changed date
The date when the record was changed.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Date | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ChDt | The database field name. |
| API identifier | changedDate | The API identifier used in GraphQL. |
| Number | A unique column number. |
Changed time
The time when the record was changed.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Time | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ChTm | The database field name. |
| API identifier | changedTime | The API identifier used in GraphQL. |
| Number | A 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.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Date/time | DateTime |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ChTs | The database field name. |
| API identifier | changedTimestamp | The API identifier used in GraphQL. |
| Number | A 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
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Provenance | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | CrePvn | The database field name. |
| API identifier | createdByProvenance | The API identifier used in GraphQL. |
| Number | A unique column number. |
Created by user
The name of the user that created the record.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | User name | Text (24) |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | CreUsr | The database field name. |
| API identifier | createdByUser | The API identifier used in GraphQL. |
| Number | A unique column number. |
Created date
The date when the record was created.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Date | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | CreDt | The database field name. |
| API identifier | createdDate | The API identifier used in GraphQL. |
| Number | A unique column number. |
Created time
The time when the record was created.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Time | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | CreTm | The database field name. |
| API identifier | createdTime | The API identifier used in GraphQL. |
| Number | A unique column number. |
Created time stamp
The date and time when the record was created.
The field is updated with the UTC time.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Date/time | DateTime |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | CreTs | The database field name. |
| API identifier | createdTimestamp | The API identifier used in GraphQL. |
| Number | A 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.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Edit status | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | LckSt | The database field name. |
| API identifier | editStatus | The API identifier used in GraphQL. |
| Number | A unique column number. |
Process no
The Process no. from the Active company process table which is currently using or has control of this record.
| Property | Value | Description |
|---|---|---|
| Visible by default | No | This field is not visible by default in the table display. |
| Domain | Process no. | Integer |
| Write Access | None | You are not allowed to modify the value in this field. |
| SQL name | ChPrc | The database field name. |
| API identifier | lockedByProcessNo | The API identifier used in GraphQL. |
| Number | A unique column number. |
| To table | Purpose | From columns | To columns | Comments |
|---|---|---|---|---|
| Active company process | CompanyProcess | Process no. | Process no. |