LedgerTransReportEngine Class [AX 2012]
The LedgerTransReportEngine class produces an extract of date from several transactions tables.
| Method | Description | |
|---|---|---|
| alignDate2PeriodStart | Aligns the date to the start of the period passed in as a parameter. |
| buildQuery | Builds a query for the extract by using the parameters that have been passed to the engine and the specified parameter values. |
| calculate | Starts the extract and calculation based on the parameters that have been passed on to the engine and the value in the LedgerBalanceSheetDim class object that is passed as a parameter to the method. |
| calculateNoEmptyTrans | Performs the calculation of the extract. |
| calculateTotalGroups | Performs the calculation of the extract, grouping the transactions by the main focus. |
| calculateWithEmptyTrans | Performs the calculation of the extract. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| constructMainLinesList | Constructs a container that has all possible lines according to the main focus that is specified. This list is used when making calculations. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getCriteriaList | |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| insertAggregateTransaction | Inserts an aggregate transaction into the extract. |
| insertEmptyPeriods | Inserts empty periods or transactions into the extract. |
| insertGroupTransaction | Inserts group and sum transactions into the extract of the Aggregate type. |
| insertOpeningBalance | Inserts the opening balance into the extract. |
| insertRegularTransaction | Inserts the Transaction type into the extract. |
| insertZeroTransaction | Inserts a total transaction with the opening period transaction date and an amount of zero into the extract. |
| new | Initializes a new instance of the LedgerTransReportEngine class. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| openingTxt | Returns the label for the opening transaction text field. |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmBudgetModelId | Gets or sets the BudgetModelId parameter. |
| parmByRowDef_CN | Gets or sets byRowDef field. |
| parmColumn | Gets or sets the Column parameter. |
| parmCompany | Gets or sets the Company parameter. |
| parmConstructMainLinesList | Gets or sets the ConstructMainLinesList parameter. |
| parmCriteria | Sets the value of dimension criteria and account criteria. |
| parmCurrencyRange | Gets or sets the CurrencyRange parameter. |
| parmDate | Sets the value of the variables named fromDate and toDate. |
| parmDimensionSeparator | Gets or sets the DimensionSeparator parameter. |
| parmFinancialStatementPrinted_CN | Sets or gets financialStatementPrinted to indicate whether it comes from financial statement report. |
| parmFocus | Sets the value of the main focus and secondary focus. |
| parmIncludeClosing | Gets or sets the IncludeClosing parameter. |
| parmIncludeOpening | Gets or sets the IncludeOpening parameter. |
| parmIncludeRegular | Gets or sets the IncludeRegular parameter. |
| parmIncludeSubModel | Gets or sets the IncludeSubModel parameter. |
| parmMainLinesList | Gets or sets the MainLinesList parameter. |
| parmMainLinesListIdx | Gets or sets the MainLinesListIdx parameter. |
| parmOperationsTax | Sets the value of the variable operationsTax. |
| parmOperationsTaxDim | Gets or sets the OperationsTaxDim parameter. |
| parmQuery | Gets or sets the Query parameter. |
| parmShowCurrency | Gets or sets the ShowCurrency parameter. |
| parmTmpDimTransExtract | Gets or sets the TmpDimTransExtract parameter. |
| parmUseStartDateForBeginningBalance | Gets or sets the option to use the starting date for the beginning balance calculation. |
| printEmptyPeriods | Prints empty periods between the previous date and the transaction date. |
| processTotalGroup | Makes the actual extract from the transaction tables, calculates the total for the summed transactions, and then inserts and saves the result in the tmpDimTransExtract table. |
| setParams | Sets values that are used to specify which transactions the extract should contain. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| setupValues | Initializes and sets up values before calculating. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| whileDay | Inserts empty transactions per day into the extract. |
| whileMonth | Inserts empty transactions per month into the extract. |
| whilePeriod | Inserts empty transactions per period into the extract. |
| whileQuarter | Inserts empty transactions per quarter into the extract. |
| whileTotal | Inserts empty transactions into the extract. |
| whileWeek | Inserts empty transactions per week into the extract. |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::copyQueryRangesAndFilters | Copies every query range and filter from the source data source of the source query to the target data source of the target query. |
| ::operationsTaxConvert | |
| ::operationsTaxDimConvert |
First the parm methods are called to tell the engine what to calculate. Then the calculation is started by calling the LedgerTransReportEngine.calculate Method with a class of the type ledgerBalanceSheetDim.
The class LedgerBalanceSheetDim controls the way the query is built for the extract.
The extract or result is put in the TmpDimTransExtract table and is returned by calling the tmpDimTransExtract method.
Community Additions
ADD
Show: