GeneralJournalEntry::addRangeForPostingLayer Method
Adds a range for the specified posting layer.
Syntax
client server public static QueryBuildRange addRangeForPostingLayer(
QueryBuildDataSource _dataSource,
FieldId _postingLayerFieldId,
OperationsTax _postingLayer)
Run On
Called
Parameters
- _dataSource
Type: QueryBuildDataSource Class
The data source that contains the posting layer field.
- _postingLayerFieldId
Type: FieldId Extended Data Type
The ID of the posting layer field for the data source.
- _postingLayer
Type: OperationsTax Enumeration
The posting layer value.
Return Value
Type: QueryBuildRange Class
The range for the posting layer field.
Remarks
The posting layer values do not use simple restrictions. This method implements the correct range for the specified posting layer. The query results still have to be interpreted correctly based on the following patterns.
Current: Current
Operations: Current + Operations
Tax: Current + Tax
DminusS: Operations - Tax
OperationsPlusTax: Operations + Tax
OnlyOperations: Operations
OnlyTax: Tax
Total: Current + Operations + Tax