LedgerTransReportEngine Class [AX 2012]

The LedgerTransReportEngine class produces an extract of date from several transactions tables.

class LedgerTransReportEngine

Run On

Server

  MethodDescription
Gg800523.protmethod(en-us,AX.60).gif alignDate2PeriodStart Aligns the date to the start of the period passed in as a parameter.
Gg800523.protmethod(en-us,AX.60).gif buildQuery Builds a query for the extract by using the parameters that have been passed to the engine and the specified parameter values.
Gg800523.pubmethod(en-us,AX.60).gif 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.
Gg800523.protmethod(en-us,AX.60).gif calculateNoEmptyTrans Performs the calculation of the extract.
Gg800523.protmethod(en-us,AX.60).gif calculateTotalGroups Performs the calculation of the extract, grouping the transactions by the main focus.
Gg800523.protmethod(en-us,AX.60).gif calculateWithEmptyTrans Performs the calculation of the extract.
Gg800523.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg800523.protmethod(en-us,AX.60).gif constructMainLinesList Constructs a container that has all possible lines according to the main focus that is specified. This list is used when making calculations.
Gg800523.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg800523.protmethod(en-us,AX.60).gif getCriteriaList
Gg800523.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg800523.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg800523.protmethod(en-us,AX.60).gif insertAggregateTransaction Inserts an aggregate transaction into the extract.
Gg800523.protmethod(en-us,AX.60).gif insertEmptyPeriods Inserts empty periods or transactions into the extract.
Gg800523.protmethod(en-us,AX.60).gif insertGroupTransaction Inserts group and sum transactions into the extract of the Aggregate type.
Gg800523.protmethod(en-us,AX.60).gif insertOpeningBalance Inserts the opening balance into the extract.
Gg800523.protmethod(en-us,AX.60).gif insertRegularTransaction Inserts the Transaction type into the extract.
Gg800523.protmethod(en-us,AX.60).gif insertZeroTransaction Inserts a total transaction with the opening period transaction date and an amount of zero into the extract.
Gg800523.pubmethod(en-us,AX.60).gif new Initializes a new instance of the LedgerTransReportEngine class.
Gg800523.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg800523.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg800523.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg800523.protmethod(en-us,AX.60).gif openingTxt Returns the label for the opening transaction text field.
Gg800523.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg800523.pubmethod(en-us,AX.60).gif parmBudgetModelId Gets or sets the BudgetModelId parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmByRowDef_CN Gets or sets byRowDef field.
Gg800523.pubmethod(en-us,AX.60).gif parmColumn Gets or sets the Column parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmCompany Gets or sets the Company parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmConstructMainLinesList Gets or sets the ConstructMainLinesList parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmCriteria Sets the value of dimension criteria and account criteria.
Gg800523.pubmethod(en-us,AX.60).gif parmCurrencyRange Gets or sets the CurrencyRange parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmDate Sets the value of the variables named fromDate and toDate.
Gg800523.pubmethod(en-us,AX.60).gif parmDimensionSeparator Gets or sets the DimensionSeparator parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmFinancialStatementPrinted_CN Sets or gets financialStatementPrinted to indicate whether it comes from financial statement report.
Gg800523.pubmethod(en-us,AX.60).gif parmFocus Sets the value of the main focus and secondary focus.
Gg800523.pubmethod(en-us,AX.60).gif parmIncludeClosing Gets or sets the IncludeClosing parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmIncludeOpening Gets or sets the IncludeOpening parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmIncludeRegular Gets or sets the IncludeRegular parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmIncludeSubModel Gets or sets the IncludeSubModel parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmMainLinesList Gets or sets the MainLinesList parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmMainLinesListIdx Gets or sets the MainLinesListIdx parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmOperationsTax Sets the value of the variable operationsTax.
Gg800523.protmethod(en-us,AX.60).gif parmOperationsTaxDim Gets or sets the OperationsTaxDim parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmQuery Gets or sets the Query parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmShowCurrency Gets or sets the ShowCurrency parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmTmpDimTransExtract Gets or sets the TmpDimTransExtract parameter.
Gg800523.pubmethod(en-us,AX.60).gif parmUseStartDateForBeginningBalance Gets or sets the option to use the starting date for the beginning balance calculation.
Gg800523.protmethod(en-us,AX.60).gif printEmptyPeriods Prints empty periods between the previous date and the transaction date.
Gg800523.protmethod(en-us,AX.60).gif 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.
Gg800523.pubmethod(en-us,AX.60).gif setParams Sets values that are used to specify which transactions the extract should contain.
Gg800523.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg800523.protmethod(en-us,AX.60).gif setupValues Initializes and sets up values before calculating.
Gg800523.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg800523.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg800523.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg800523.protmethod(en-us,AX.60).gif whileDay Inserts empty transactions per day into the extract.
Gg800523.protmethod(en-us,AX.60).gif whileMonth Inserts empty transactions per month into the extract.
Gg800523.protmethod(en-us,AX.60).gif whilePeriod Inserts empty transactions per period into the extract.
Gg800523.protmethod(en-us,AX.60).gif whileQuarter Inserts empty transactions per quarter into the extract.
Gg800523.protmethod(en-us,AX.60).gif whileTotal Inserts empty transactions into the extract.
Gg800523.protmethod(en-us,AX.60).gif whileWeek Inserts empty transactions per week into the extract.
Gg800523.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg800523.pubmethod(en-us,AX.60).gif Gg800523.static(en-us,AX.60).gif ::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.
Gg800523.pubmethod(en-us,AX.60).gif Gg800523.static(en-us,AX.60).gif ::operationsTaxConvert
Gg800523.pubmethod(en-us,AX.60).gif Gg800523.static(en-us,AX.60).gif ::operationsTaxDimConvert
Top

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: