Finance.Accounting.AccountingVoucherLines Entity
Namespace: Finance.Accounting
Contains one debit or credit posting within an accounting voucher. Entity: Acc_Voucher_Lines
Default Visualization
Default Display Text Format:
{LineNo}. {Voucher.DocumentNo} {Voucher.DocumentType.TypeName:T}
Default Search Members:
Voucher.DocumentNo
Category: Definitions
Show in UI: ShownByDefault
Track Changes
Min level: 0 - Do not track changes
Max level: 4 - Track object attribute and blob changes
Aggregate
An aggregate is a cluster of domain objects that can be treated as a single unit.
Aggregate Parent:
Finance.Accounting.AccountingVouchers
Aggregate Root:
Finance.Accounting.AccountingVouchers
Attributes
Name | Type | Description |
---|---|---|
CorrespondanceNo | int32 | The number of the correspondance group within the accounting voucher. For each correspondance group, the debits are equal to the credits. Required Default(0) |
CorrespondantAmount | decimal (18, 2) nullable | The amount (in the currency of the correspondant line) to which the amount in this line is corresponding. This field has value only when the current line is corresponding to only one line (e.g. null means that the current line is corresponding to many lines). ReadOnly |
Credit | Amount (18, 2) | The amount of the credit in the currency of the account. 0 means that the account is not credited. Currency: Currency Required Default(0) |
CreditBase | Amount (18, 2) | The amount of credit in base currency. Currency: Voucher.EnterpriseCompany.BaseCurrency Required Default(0) |
Debit | Amount (18, 2) | The amount of the debit in the currency of the account. 0 means that the account is not debited. Currency: Currency Required Default(0) |
DebitBase | Amount (18, 2) | The amount of debit in base currency. Currency: Voucher.EnterpriseCompany.BaseCurrency Required Default(0) |
DisplayText | string | Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object. |
Id | guid | |
ItemKey | string (64) nullable | The item (grouping) key for the account in the line. Account_Id + Item_Key - the smallest unit of calculation for account balance. Filter(eq;like) |
LineNo | int32 | Consecutive number of the line within the voucher. Required |
ObjectVersion | int32 | The latest version of the extensible data object for the aggregate root for the time the object is loaded from the database. Can be used for optimistic locking. |
RateDivisor | decimal (18, 6) | The divisor for conversion from Debit/Credit to base currency. Required Default(1) |
RateMultiplier | decimal (18, 6) | The multiplier for conversion from Debit/Credit to base currency. Required Default(1) |
References
Name | Type | Description |
---|---|---|
Account | Accounts | The account being debited or credited. Required Filter(multi eq) |
CostCenter | CostCenters (nullable) | The cost center to which this cost is related. Filter(multi eq) |
Currency | Currencies | The currency of the movement in this line. If there is defined currency for the account in the line that it should be equal to the value in this field. Required Filter(multi eq) |
Document | AccountingVouchers | The voucher to which this line is attached. Required Filter(multi eq) |
ProfitCenter | ProfitCenters (nullable) | The profit center to which this revenue is related. Filter(multi eq) |
ReferencedDocument | Documents | The document which is referenced by the line. By default, this is the document of the voucher. Required Filter(multi eq) |
Voucher | AccountingVouchers | The voucher to which this line is attached. Required Filter(multi eq) Owner |
Attribute Details
CorrespondanceNo
The number of the correspondance group within the accounting voucher. For each correspondance group, the debits are equal to the credits. Required
Default(0)
Type: int32
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: 0
Show in UI: ShownByDefault
CorrespondantAmount
The amount (in the currency of the correspondant line) to which the amount in this line is corresponding. This field has value only when the current line is corresponding to only one line (e.g. null means that the current line is corresponding to many lines). ReadOnly
Type: decimal (18, 2) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: HiddenByDefault
Credit
The amount of the credit in the currency of the account. 0 means that the account is not credited. Currency: Currency
Required
Default(0)
Type: Amount (18, 2)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: Constant
Show in UI: ShownByDefault
CreditBase
The amount of credit in base currency. Currency: Voucher.EnterpriseCompany.BaseCurrency
Required
Default(0)
Type: Amount (18, 2)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: Constant
Show in UI: HiddenByDefault
Debit
The amount of the debit in the currency of the account. 0 means that the account is not debited. Currency: Currency
Required
Default(0)
Type: Amount (18, 2)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: Constant
Show in UI: ShownByDefault
DebitBase
The amount of debit in base currency. Currency: Voucher.EnterpriseCompany.BaseCurrency
Required
Default(0)
Type: Amount (18, 2)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: Constant
Show in UI: HiddenByDefault
DisplayText
Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object.
Type: string
Category: Calculated Attributes
Supported Filters: NotFilterable
Supports Order By: ****
Show in UI: HiddenByDefault
Id
Type: guid
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Default Value: NewGuid
Show in UI: CannotBeShown
ItemKey
The item (grouping) key for the account in the line. Account_Id + Item_Key - the smallest unit of calculation for account balance. Filter(eq;like)
Type: string (64) nullable
Category: System
Supported Filters: Equals, Like
Supports Order By: False
Maximum Length: 64
Show in UI: HiddenByDefault
LineNo
Consecutive number of the line within the voucher. Required
Type: int32
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: ShownByDefault
Back-End Default Expression:
( obj.Voucher.Lines.Select( c => c.LineNo).DefaultIfEmpty( 0).Max( ) + 10)
Front-End Recalc Expressions:
( obj.Voucher.Lines.Select( c => c.LineNo).DefaultIfEmpty( 0).Max( ) + 10)
ObjectVersion
The latest version of the extensible data object for the aggregate root for the time the object is loaded from the database. Can be used for optimistic locking.
Type: int32
Category: Extensible Data Object
Supported Filters: NotFilterable
Supports Order By: ****
Show in UI: HiddenByDefault
RateDivisor
The divisor for conversion from Debit/Credit to base currency. Required
Default(1)
Type: decimal (18, 6)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: 1
Show in UI: HiddenByDefault
RateMultiplier
The multiplier for conversion from Debit/Credit to base currency. Required
Default(1)
Type: decimal (18, 6)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: 1
Show in UI: HiddenByDefault
Reference Details
Account
The account being debited or credited. Required
Filter(multi eq)
Type: Accounts
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
CostCenter
The cost center to which this cost is related. Filter(multi eq)
Type: CostCenters (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
Currency
The currency of the movement in this line. If there is defined currency for the account in the line that it should be equal to the value in this field. Required
Filter(multi eq)
Type: Currencies
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
Document
The voucher to which this line is attached. Required
Filter(multi eq)
Type: AccountingVouchers
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
ProfitCenter
The profit center to which this revenue is related. Filter(multi eq)
Type: ProfitCenters (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
ReferencedDocument
The document which is referenced by the line. By default, this is the document of the voucher. Required
Filter(multi eq)
Type: Documents
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
Back-End Default Expression:
IIF( ( obj.Voucher.DefaultReferencedDocument != null), obj.Voucher.DefaultReferencedDocument, obj.Document)
Voucher
The voucher to which this line is attached. Required
Filter(multi eq)
Owner
Type: AccountingVouchers
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Filterable Reference: True
Show in UI: ShownByDefault
API Methods
Methods that can be invoked in public APIs.
GetAllowedCustomPropertyValues
Gets the allowed values for the specified custom property for this entity object. If supported the result is ordered by property value. Some property value sources do not support ordering - in that case the result is not ordered.
Return Type: Collection Of CustomPropertyValue
Declaring Type: EntityObject
Domain API Request: GET
Parameters
customPropertyCode
The code of the custom property
Type: stringsearch
The search text - searches by value or description. Can contain wildcard character %.
Type: string
Optional: True
Default Value: nullexactMatch
If true the search text should be equal to the property value
Type: boolean
Optional: True
Default Value: FalseorderByDescription
If true the result is ordered by Description instead of Value. Note that ordering is not always possible.
Type: boolean
Optional: True
Default Value: Falsetop
The top clause - default is 10
Type: int32
Optional: True
Default Value: 10skip
The skip clause - default is 0
Type: int32
Optional: True
Default Value: 0
CreateNotification
Create a notification immediately in a separate transaction, and send a real-time event to the user.
Return Type: void
Declaring Type: EntityObject
Domain API Request: POST
Parameters
user
The user.
Type: UsersnotificationClass
The notification class.
Type: stringsubject
The notification subject.
Type: string
CreateCopy
Duplicates the object and its child objects belonging to the same aggregate. The duplicated objects are not saved to the data source but remain in the same transaction as the original object.
Return Type: EntityObject
Declaring Type: EntityObject
Domain API Request: POST
Business Rules
Front-End Business Rules
None
API
Domain API Query: https://demodb.my.erp.net/api/domain/odata/Finance_Accounting_AccountingVoucherLines?$top=10
Domain API Query Builder: https://demodb.my.erp.net/api/domain/querybuilder#Finance_Accounting_AccountingVoucherLines?$top=10