Accounting rule action

This table contains one or several rows for each accounting rule.

Actions are the result of the rules set on selected criteria. When accounting rule criteria is selected, actions based upon the chosen criteria will apply on the voucher line.

The following fields exist in this table:

Accounting rule no.

The accounting rule the accounting rule action is linked to.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainNo.Integer
Primary keyYesAccounting rule no., Line no.
SQL nameAcRuleNoThe database field name.
API identifieraccountingRuleNoThe API identifier used in GraphQL.
Number19044 
Table 1. Table relations
To tablePurposeFrom columnsTo columnsComments
Accounting rule criteriaAccountingRuleCriteria
  • Accounting rule no.

Action group no.

Used to define accounting rule actions when the total share exceeds 100 %.

Use this field to group actions that should be processed together. Actions with the same Action group no. are treated as one group, and their shares are calculated independently of other groups. This makes it possible to have multiple action groups within the same rule, each with its own total share of 100 % or more. Rounding is applied separately for each action group, using the standard rounding logic.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainNo.Integer
SQL nameActGrNoThe database field name.
API identifieractionGroupNoThe API identifier used in GraphQL.
Number20610 

Credit account

Suggested credit account.

The specified account number will be filled in the Credit account field in the Voucher table, when the accounting rule is applied to the Voucher.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAccount no.Integer
SQL nameCrAcNoThe database field name.
API identifiercreditAccountNoThe API identifier used in GraphQL.
Number19052 
Table 2. Table relations
To tablePurposeFrom columnsTo columnsComments
AssociateCreditCustomer
  • Credit account
AssociateCreditSupplier
  • Credit account
General ledger accountCreditGeneralLedgerAccount
  • Credit account
Capital assetCreditCapitalAsset
  • Credit account
All accountsCreditAllAccounts
  • Credit account

Credit account type

The account type indicates whether the account numbers entered refer to a customer no., supplier no., general ledger account or capital asset account.

A look-up in this field gives you the following list of possible values:
1 - Customer
The account number refer to a customer.
2 - Supplier
The account number refer to a supplier.
3 - General ledger account
The account number refer to a general ledger account.
4 - Capital asset
The account number refer to a capital asset.
PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainAccount typeInteger
SQL nameCrAcClThe database field name.
API identifiercreditAccountTypeThe API identifier used in GraphQL.
Number19051 

Credit VAT code

If you want a specific VAT code to be applied to the voucher line by the accounting rule, you can enter the code here for each credit account.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainVAT codeInteger
SQL nameCrTxCdThe database field name.
API identifiercreditTaxCodeThe API identifier used in GraphQL.
Number19053 
Table 3. Table relations
To tablePurposeFrom columnsTo columnsComments
VAT codeCreditTaxCode
  • Credit VAT code

Debit account

Suggested debit account.

The specified account number will be filled in the Debit account field in the Voucher table, when accounting rule is applied to the Voucher.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainAccount no.Integer
SQL nameDbAcNoThe database field name.
API identifierdebitAccountNoThe API identifier used in GraphQL.
Number19049 
Table 4. Table relations
To tablePurposeFrom columnsTo columnsComments
AssociateDebitCustomer
  • Debit account
AssociateDebitSupplier
  • Debit account
General ledger accountDebitGeneralLedgerAccount
  • Debit account
Capital assetDebitCapitalAsset
  • Debit account
All accountsDebitAllAccounts
  • Debit account

Debit account type

The account type indicates whether the account numbers entered refer to a customer no., supplier no., general ledger account or capital asset account.

A look-up in this field gives you the following list of possible values:
1 - Customer
The account number refer to a customer.
2 - Supplier
The account number refer to a supplier.
3 - General ledger account
The account number refer to a general ledger account.
4 - Capital asset
The account number refer to a capital asset.
PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainAccount typeInteger
SQL nameDbAcClThe database field name.
API identifierdebitAccountTypeThe API identifier used in GraphQL.
Number19048 

Debit VAT code

If you want a specific VAT code to be applied to the voucher line by the accounting rule, you can enter the code here for each debit account.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainVAT codeInteger
SQL nameDbTxCdThe database field name.
API identifierdebitTaxCodeThe API identifier used in GraphQL.
Number19050 
Table 5. Table relations
To tablePurposeFrom columnsTo columnsComments
VAT codeDebitTaxCode
  • Debit VAT code

Distribution key

The distribution key the accounting rule action is linked to.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainDistribution keyInteger
SQL nameDstGrThe database field name.
API identifierdistributionKeyNoThe API identifier used in GraphQL.
Number19055 
Table 6. Table relations
To tablePurposeFrom columnsTo columnsComments
Distribution keyDistributionKey
  • Distribution key

Line no.

Each line in the table is given a consecutive number in the order in which they are entered.

Note:
The Line no. does not change when inserting new lines between existing ones. The Sort seq. no. specifies the order of the lines and is affected when new lines are inserted between existing lines.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainNo.Integer
Primary keyYesAccounting rule no., Line no.
SQL nameLnNoThe database field name.
API identifierlineNoThe API identifier used in GraphQL.
Number19045 

Organisational unit 1

Specifies the organisational unit to be applied to the voucher line by the accounting rule.

Organisational units fields can be used freely according to company needs to split accounting, sales and purchases into organisational units. The most common types are department, project and campaign. It is also possible to limit the organisational units a user should see by limiting the organisational units in the Limitation groups, User limitation groups and Limitations. The field appear with the name assigned to it in the Company information table.

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.
DomainOrganisational unit no.Integer
SQL nameR1The database field name.
API identifierorgUnit1The API identifier used in GraphQL.
Number19056 
Table 7. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 1OrgUnit1
  • Organisational unit 1

Organisational unit 2

Specifies the organisational unit to be applied to the voucher line by the accounting rule.

Organisational units fields can be used freely according to company needs to split accounting, sales and purchases into organisational units. The most common types are department, project and campaign. It is also possible to limit the organisational units a user should see by limiting the organisational units in the Limitation groups, User limitation groups and Limitations. The field appear with the name assigned to it in the Company information table.

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.
DomainOrganisational unit no.Integer
SQL nameR2The database field name.
API identifierorgUnit2The API identifier used in GraphQL.
Number19057 
Table 8. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 2OrgUnit2
  • Organisational unit 2

Organisational unit 3

Specifies the organisational unit to be applied to the voucher line by the accounting rule.

Organisational units fields can be used freely according to company needs to split accounting, sales and purchases into organisational units. The most common types are department, project and campaign. It is also possible to limit the organisational units a user should see by limiting the organisational units in the Limitation groups, User limitation groups and Limitations. The field appear with the name assigned to it in the Company information table.

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.
DomainOrganisational unit no.Integer
SQL nameR3The database field name.
API identifierorgUnit3The API identifier used in GraphQL.
Number19058 
Table 9. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 3OrgUnit3
  • Organisational unit 3

Organisational unit 4

Specifies the organisational unit to be applied to the voucher line by the accounting rule.

Organisational units fields can be used freely according to company needs to split accounting, sales and purchases into organisational units. The most common types are department, project and campaign. It is also possible to limit the organisational units a user should see by limiting the organisational units in the Limitation groups, User limitation groups and Limitations. The field appear with the name assigned to it in the Company information table.

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.
DomainOrganisational unit no.Integer
SQL nameR4The database field name.
API identifierorgUnit4The API identifier used in GraphQL.
Number19059 
Table 10. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 4OrgUnit4
  • Organisational unit 4

Organisational unit 5

Specifies the organisational unit to be applied to the voucher line by the accounting rule.

Organisational units fields can be used freely according to company needs to split accounting, sales and purchases into organisational units. The most common types are department, project and campaign. It is also possible to limit the organisational units a user should see by limiting the organisational units in the Limitation groups, User limitation groups and Limitations. The field appear with the name assigned to it in the Company information table.

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.
DomainOrganisational unit no.Integer
SQL nameR5The database field name.
API identifierorgUnit5The API identifier used in GraphQL.
Number19060 
Table 11. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 5OrgUnit5
  • Organisational unit 5

Organisational unit 6

Specifies the organisational unit to be applied to the voucher line by the accounting rule.

Organisational units fields can be used freely according to company needs to split accounting, sales and purchases into organisational units. The most common types are department, project and campaign. It is also possible to limit the organisational units a user should see by limiting the organisational units in the Limitation groups, User limitation groups and Limitations. The field appear with the name assigned to it in the Company information table.

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.
DomainOrganisational unit no.Integer
SQL nameR6The database field name.
API identifierorgUnit6The API identifier used in GraphQL.
Number19061 
Table 12. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 6OrgUnit6
  • Organisational unit 6

Organisational unit 7

Specifies the organisational unit to be applied to the voucher line by the accounting rule.

The field appear with the name assigned to it in the Company information table.

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.
DomainLong alphanumeric organisational unit no.Text (40)
SQL nameR7The database field name.
API identifierorgUnit7The API identifier used in GraphQL.
Number19062 
Table 13. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 7OrgUnit7
  • Organisational unit 7

Organisational unit 8

Specifies the organisational unit to be applied to the voucher line by the accounting rule.

The field appear with the name assigned to it in the Company information table.

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.
DomainShort alphanumeric organisational unit no.Text (10)
SQL nameR8The database field name.
API identifierorgUnit8The API identifier used in GraphQL.
Number19063 
Table 14. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 8OrgUnit8
  • Organisational unit 8

Organisational unit 9

Specifies the organisational unit to be applied to the voucher line by the accounting rule.

The field appear with the name assigned to it in the Company information table.

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.
DomainShort alphanumeric organisational unit no.Text (10)
SQL nameR9The database field name.
API identifierorgUnit9The API identifier used in GraphQL.
Number19064 
Table 15. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 9OrgUnit9
  • Organisational unit 9

Organisational unit 10

Specifies the organisational unit to be applied to the voucher line by the accounting rule.

The field appear with the name assigned to it in the Company information table.

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.
DomainShort alphanumeric organisational unit no.Text (10)
SQL nameR10The database field name.
API identifierorgUnit10The API identifier used in GraphQL.
Number19065 
Table 16. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 10OrgUnit10
  • Organisational unit 10

Organisational unit 11

Specifies the organisational unit to be applied to the voucher line by the accounting rule.

The field appear with the name assigned to it in the Company information table.

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.
DomainShort alphanumeric organisational unit no.Text (10)
SQL nameR11The database field name.
API identifierorgUnit11The API identifier used in GraphQL.
Number19066 
Table 17. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 11OrgUnit11
  • Organisational unit 11

Organisational unit 12

Specifies the organisational unit to be applied to the voucher line by the accounting rule.

The field appear with the name assigned to it in the Company information table.

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.
DomainShort alphanumeric organisational unit no.Text (10)
SQL nameR12The database field name.
API identifierorgUnit12The API identifier used in GraphQL.
Number19067 
Table 18. Table relations
To tablePurposeFrom columnsTo columnsComments
Organisational unit 12OrgUnit12
  • Organisational unit 12

Period key

The period key the accounting rule action is linked to.

Note:
If you double-click or press * in this field, you can look up a value in the related table.
PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainPeriod keyInteger
SQL namePrKThe database field name.
API identifierperiodKeyNoThe API identifier used in GraphQL.
Number19054 
Table 19. Table relations
To tablePurposeFrom columnsTo columnsComments
Period keyPeriodKey
  • Period key

Share

Specifies a fixed share of the voucher amount fields to be posted to the account(s).

Amount fields in Voucher table distributed through the Share field:
  • Amount
  • Amount excl. VAT
  • VAT amount
  • Amount in currency
  • Amount excl. VAT in currency
  • VAT amount in currency
Note:
When setting up Accounting rule actions on either Debit or Credit side, Share shall match 100% to get balance correctly, otherwise it will require manual intervention on the batch. When it comes to the Share field used on Accounting rule action on both Debit and Credit, it is the user responsibility to set it up properly to get balance correctly.

PropertyValueDescription
Visible by defaultYesThis field is visible by default in the table display.
DomainPercentDecimal
SQL nameShrThe database field name.
API identifiershareThe API identifier used in GraphQL.
Number19047 

Sort seq. no.

The order of the lines.

In the Editing group, select Insert before (Ctrl+I) or Insert after (Shift+Ctrl+I) to insert rows between existing ones. Then all the existing subsequent lines will get an updated number.

PropertyValueDescription
Visible by defaultNoThis field is not visible by default in the table display.
DomainSort seq. no.Integer
Write AccessNoneYou are not allowed to modify the value in this field.
SQL nameSrtThe database field name.
API identifiersortSequenceNoThe API identifier used in GraphQL.
Number19046 

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 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 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 20. Table relations
To table Purpose From columns To columns Comments
Active company process CompanyProcess Process no. Process no.