Table of Contents

Table Acc_Template_Lines

Entity

Entity: Finance.Accounting.TemplateLines

Each template line contains the posting to a single set of debit and credit account. It also specifies the way to calculate the amount. Entity: Acc_Template_Lines

Owner Tables Hierarchy

Summary

Name Type Description
Amount_Column_Name nvarchar(64) The name of the column within the amount rowset where the amount is located
Amount_Condition nvarchar(1) Allowed: +, - Condition for the amount. The line is accounted only when the condition is matched. The condition can be one of: NULL - no condition, the line should be accounted unconditionally; '+' - The amount should be positive; '-' - The amount should be negative. The amount is matched as returned from the source, before applying the Multiplier.
Amount_Row_Id uniqueidentifier The id of the row from the amount rowset where the amount is located. NULL means to account one by one for all rows within the rowset
Amount_Row_Name nvarchar(254) The name of definition, specified in Amount_Row_Id. NULL means that no Amount_Row_Id is specified or there is no name
Amount_Source_Filter nvarchar(max) Filter that further specifies which rows from the amount rowset determine the amount
Amount_Source_Name nvarchar(64) The source rowset for the amount. For example: DocLines, DocHeader, Additional Amounts, Stock Types, etc.
Credit_Account_Id uniqueidentifier The account which should be credited
Debit_Account_Id uniqueidentifier The account which should be debited
Filter_XML nvarchar(max) The line is accounted only when the filter is satisfied compared with the source document header
Line_No int Consecutive number of the line within the template. Determines the order of execution of the template lines.
Multiplier decimal(18, 6) Factor by which the amount from the source will be multiplied
Notes nvarchar(254)
Row_Version timestamp
Template_Id uniqueidentifier
Template_Line_Id uniqueidentifier PK
Valid_From_Date datetime Start date from which the accounting template line is valid
Valid_To_Date datetime End date to which the accounting template line is valid

Columns

Amount_Column_Name

The name of the column within the amount rowset where the amount is located

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length 64
Order 9
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(64)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Amount_Condition

Condition for the amount. The line is accounted only when the condition is matched. The condition can be one of: NULL - no condition, the line should be accounted unconditionally; '+' - The amount should be positive; '-' - The amount should be negative. The amount is matched as returned from the source, before applying the Multiplier.

Property Value
Allowed Values +, -
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length 1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(1) (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Amount_Row_Id

The id of the row from the amount rowset where the amount is located. NULL means to account one by one for all rows within the rowset

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 6
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Amount_Row_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no

Amount_Row_Name

The name of definition, specified in Amount_Row_Id. NULL means that no Amount_Row_Id is specified or there is no name

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length 254
Order 7
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(254) (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Amount_Source_Filter

Filter that further specifies which rows from the amount rowset determine the amount

Property Value
Auto Complete no
Data Filter yes
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length 2147483647
Order 8
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(max) (Allows NULL)
UI Memo Editor no
UI Width Short
User Login no
Visible no

Amount_Source_Name

The source rowset for the amount. For example: DocLines, DocHeader, Additional Amounts, Stock Types, etc.

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length 64
Order 5
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(64)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Credit_Account_Id

The account which should be credited

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 4
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Acc_Accounts
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Credit_Account_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no

Debit_Account_Id

The account which should be debited

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 3
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Acc_Accounts
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Debit_Account_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no

Filter_XML

The line is accounted only when the filter is satisfied compared with the source document header

Property Value
Auto Complete no
Data Filter yes
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length 2147483647
Order 2
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(max) (Allows NULL)
UI Memo Editor no
UI Width Short
User Login no
Visible yes

Line_No

Consecutive number of the line within the template. Determines the order of execution of the template lines.

Property Value
Auto Complete no
Autoincrement 1
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 1
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type int
UI Memo Editor no
UI Width 25
User Login no
Visible yes

Multiplier

Factor by which the amount from the source will be multiplied

Property Value
Auto Complete no
Data Filter no
Default Value 1
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 10
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type decimal(18, 6)
UI Memo Editor no
UI Width Short
User Login no
Visible no

Notes

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length 254
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(254) (Allows NULL)
UI Memo Editor no
UI Width 100
User Login no
Visible yes

Row_Version

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type timestamp
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Template_Id

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop no
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference yes
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Acc_Templates
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width 100
User Login no
Visible yes

Template_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no

Template_Line_Id

Property Value
Auto Complete no
Data Filter no
Default Value NewGuid
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key yes (order: 1)
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Template_Line_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes

Valid_From_Date

Start date from which the accounting template line is valid

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type datetime (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Valid_From_Date - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no
GreaterThanOrLessThan None yes no

Valid_To_Date

End date to which the accounting template line is valid

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type datetime (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible yes

Valid_To_Date - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL yes no
GreaterThanOrLessThan None yes no