LedgerTransferOpening Class [AX 2012]
The LedgerTransferOpening class creates closing and opening transactions for general ledger year end processing.
Syntax
class LedgerTransferOpening extends RunBaseBatch
Run On
Called
Methods
Method | Description | |
---|---|---|
addAccountSumPrimo | Updates the temporary work table by using an opening transaction. | |
addAccountSumUltimo | Updates the temporary work table by using a closing transaction. | |
adjustPrimoTrans | ||
adjustUltimoTrans | Adjusts the existing closing transaction for the current work record. | |
allowSaveLast | (Inherited from RunBaseBatch.) | |
batchInfo | Returns the BatchInfo class. This class is the API for the batch table. (Inherited from RunBaseBatch.) | |
calendarId_modified | Sets the value of the CalendarRecId field when dialogCalendarId field is modified. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
canGoBatch | Indicates whether the process has batch processing checked and can be run in batch mode. (Overrides the canGoBatch Method.) | |
canGoBatchJournal | Determines whether the class is shown in the list of Journal types. (Inherited from RunBaseBatch.) | |
canSwapBetweenCS | Controls whether a calledFrom class that is instantiated on the server should have its prompt executed on the client. (Inherited from RunBase.) | |
caption | Retrieves the description from the current class by calling the static description method of the class if there is one. (Inherited from RunBaseBatch.) | |
checkCloseDialog | Must be called in the CloseOk method of a RunBase dialog box. (Inherited from RunBase.) | |
checkParameters | Checks the configuration of process parameters to indicate whether the combination of parameters is valid. | |
cleanupDialog | Provides a way to clean up after a dialog box has been canceled. (Inherited from RunBase.) | |
clearAccountEntryDimensionTables | ||
clearSummaryTables | ||
createAccountEntryHash | ||
createBalanceCreationBundles | ||
createBundles | ||
createClosingOpeningTransactions | Creates the transactions for the general ledger year end process in public sector. | |
createDimensionLinks | Creates GeneralJournalAccountEntryDimension records for the specified ledger transfer opening type and account close type. | |
createHashLinkBundles | ||
createHashLinks | Creates the GeneralJournalAccountEntryHash records and GeneralJournalAccountEntryHashLink records for the specified ledger transfer opening type. | |
createHashLinksForPublicSector | Creates the GeneralJournalAccountEntryHash records and GeneralJournalAccountEntryHashLink records for the specified ledger transfer opening type and account close type. | |
createLedgerDimensions | Creates LedgerDimensionTmp records for the specified ledger transfer opening type. | |
createLedgerDimensionsForPublicSector | Creates LedgerDimensionTmp records for the specified ledger transfer opening type and account close type. | |
createTask | Creates a LedgerTransferOpening object for use in a batch task. | |
deleteExistingRecords | ||
dialog | Retrieves an instance of a class that contains the methods that are described by the RunBaseDialogable interface. (Overrides the dialog Method.) | |
dialogClear | Clears the contents of the dialog box. (Inherited from RunBase.) | |
dialogInit | Initializes the dialog box. (Inherited from RunBase.) | |
dialogInternal | (Inherited from RunBase.) | |
dialogMake | Obtains the dialog from a RunBase class. (Inherited from RunBase.) | |
dialogPost | Executes after the dialog method has been called. (Inherited from RunBaseBatch.) | |
dialogPostInit | Called right after the RunBase.dialogInit Method method. (Inherited from RunBase.) | |
dialogPostRun | Sets the transaction reversal dialog properties. (Overrides the dialogPostRun Method.) | |
dialogReInit | Reinitializes the dialog box. (Inherited from RunBase.) | |
dialogSelectCtrl | When using the dialog class for dialog, this method is called whenever a control is selected. (Inherited from RunBase.) | |
dialogTask | When using the Dialog Class class for dialog, this method is called from the task method in the dialog form. (Inherited from RunBase.) | |
dialogUpdate | Updates the dialog, for example after reinitializing the query. (Inherited from RunBase.) | |
dialogUpdateQuery | Updates the query in the dialog box. (Inherited from RunBase.) | |
dimensionIsMainAccount | Indicates whether the supplied dimension segment is a main account. | |
displayProgress | ||
displayProgressForPublicSector | Displays the progress for public sector. | |
doBatch | (Inherited from RunBaseBatch.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
fiscalYearName_Lookup | Opens the dialogFiscalYearName lookup based on CalendarRecId value. | |
fiscalYearName_Modified | Sets the value of the fiscalCalendarYearNameRecId field when dialogFiscalYearName field is modified. | |
fromFund_Lookup | Opens the filtered Fund Number lookup. | |
getClosingBalancePeriod | Retrieves the FiscalCalendarPeriod record that is selected for determining the balance of the closing transactions. | |
getClosingPostToPeriod | Retrieves the FiscalCalendarPeriod record that is selected for posting closing transactions. | |
getDimensionHierarchyFromDimensions | Retrieves a dimension hierarchy that supports the value of the _dimStorageSegments parameter. | |
getDimensionHierarchyFromLedgerDimension | Retrieves the dimension hierarchy that is associated to a ledger dimension. | |
getFromDialog | Retrieves the parameter values from the dialog form. (Overrides the getFromDialog Method.) | |
getFundFromAccount | Retrieves the fund dimension value from the ledger account. | |
getLast | Gets the last choice stored in the last value table. (Inherited from RunBaseBatch.) | |
getLedgerDimension | Gets a ledger dimension that represents the specified values. | |
getLedgerDimensionForMainAcount | Retrieves or creates a new ledger dimension based on a main account and dimension segments. | |
getLedgerDimensionForPublicSector | Gets a ledger dimension that represents the specified values. | |
getLedgerDimensionForType | ||
getMainAccountStorageSegment | ||
getOffsetAccount | Retrieves the offset account for the transaction from journalizing definitions. | |
getOpeningBalancePeriod | Retrieves the FiscalCalendarPeriod record selected for determining the balance of the opening transactions. | |
getProcessTimestamp | ||
getRunBase | (Inherited from RunBase.) | |
getSession | Gets the session number of the current process. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
inGetSaveLast | Returns true when the GetLast or SaveLast method is executed. (Inherited from RunBase.) | |
init | Gives RunBase the same profile as, for example, a FormRun class. This method is not used in the standard application. (Inherited from RunBase.) | |
initBatch | (Inherited from RunBaseBatch.) | |
initParmDefault | Initializes the internal variables. (Overrides the initParmDefault Method.) | |
initQuery | ||
initQueryForPublicSector | Initializes the query for public sector. | |
insertClosingTrans | Inserts the closing transactions based on the work table. | |
insertClosingTransForPublicSector | Inserts the closing transactions based on the work table. | |
insertedTransactions | Retrieves whether there were any transactions created by the process. | |
insertOnSystemAccount | ||
insertOpeningTrans | Inserts the opening transactions based on the work table. | |
isInBatch | Determines whether the RunBaseBatch is actually being run from a batch server. (Inherited from RunBaseBatch.) | |
isSwappingPrompt | Checks if the program is currently swapping from server to client. (Inherited from RunBase.) | |
lastValueDataAreaId | (Inherited from RunBase.) | |
lastValueDesignName | (Inherited from RunBase.) | |
lastValueElementName | (Inherited from RunBase.) | |
lastValueType | (Inherited from RunBase.) | |
lastValueUserId | (Inherited from RunBase.) | |
mainAccountLookupReference | ||
mainAccountResolveReference | ||
mustGoBatch | (Inherited from RunBaseBatch.) | |
mustLoadSaveQuery | Determines whether the last query must be loaded and saved when you leave the form. Called from the SysQueryForm. (Inherited from RunBase.) | |
name | Returns the name of the RunBase class. (Inherited from RunBase.) | |
new | Initializes an instance of the RunBaseBatch class. (Overrides the new Method.) | |
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.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
pack | Serializes the current instance of the LedgerTransferOpening class. (Overrides the pack Method.) | |
parmAcknowledgementDate | Gets or sets the AcknowledgementDate parameter. | |
parmBalanceFromPeriod | Gets or sets the BalanceFromPeriod parameter. | |
parmBalanceOpenFromPeriod | Gets or sets the BalanceOpenFromPeriod parameter. | |
parmBalanceToPeriod | Gets or sets the BalanceToPeriod parameter. | |
parmCloseDateFromPeriod | Gets or sets the CloseDateFromPeriod parameter. | |
parmCurrentBatch | Gets or sets the CurrentBatch parameter. (Inherited from RunBaseBatch.) | |
parmEndRecId | Gets or sets the EndRecId parameter. | |
parmFiscalYearName | Gets or sets the FiscalYearName parameter. | |
parmFromFund | Gets or sets the FromFund parameter. | |
parmInBatch | Gets or sets the InBatch parameter. (Inherited from RunBaseBatch.) | |
parmLedgerTransferOpeningType | Gets or sets the LedgerTransferOpeningType parameter. | |
parmMethodOperations | Gets or sets the MethodOperations parameter. | |
parmMethodStatus | Gets or sets the MethodStatus parameter. | |
parmOpenDateFromPeriod | Gets or sets the OpenDateFromPeriod parameter. | |
parmPeriodEnd | Gets or sets the PeriodEnd parameter. | |
parmPeriodname | Gets or sets the Periodname parameter. | |
parmPeriodNext | Gets or sets the PeriodNext parameter. | |
parmProcessCancelled | Gets or sets the ProcessCancelled parameter. | |
parmProcessState | Gets or sets the ProcessState parameter. | |
parmProgress | Gets or sets the Progress parameter. (Inherited from RunBase.) | |
parmRunPreview | Gets or sets the RunPreview parameter. | |
parmRunReport | Gets or sets the RunReport parameter. | |
parmSelectFund | Gets or sets the SelectFund parameter. | |
parmSilent | Gets or sets the Silent parameter. | |
parmStartRecId | Gets or sets the StartRecId parameter. | |
parmToFund | Gets or sets the ToFund parameter. | |
parmTransferDimensions | Gets or sets the TransferDimensions parameter. | |
parmTransferResultAccount | Gets or sets the TransferResultAccount parameter. | |
parmUseTransferYearEndAccount_ES | Gets or sets the UseTransferYearEndAccount_ES parameter. | |
parmVoucher | Gets or sets the Voucher parameter. | |
performFundLookup | Opens a Fund lookup form. | |
periodEndDate_Modified | Handles the modified event for the end date dialog field. | |
periodEndFrom_Lookup | Opens the dialogPeriodEndFrom lookup based on fiscalCalendarYearNameRecId and PeriodCode value. | |
periodEndFrom_Modified | Sets the value of the dialogPeriodEndFromDate field whenever the dialogPeriodEndFrom field is modified. | |
periodEndFromDate_Modified | Handles the modified event for the dialogPeriodEndFromDate dialog field. | |
periodEndTo_Lookup | Opens the dialogPeriodEndTo lookup based on fiscalCalendarYearNameRecId and PeriodCode value. | |
periodEndTo_Modified | Sets the value of the dialogPeriodEndToDate field whenever the dialogPeriodEndTo field is modified. | |
periodEndToDate_Modified | Handles the modified event for the dialogPeriodEndToDate dialog field | |
periodName_Lookup | Opens the filtered period name lookup. | |
periodStartFrom_Lookup | Opens the dialogPeriodStartFrom lookup based on fiscalCalendarYearNameRecId and PeriodCode value. | |
periodStartFrom_Modified | Sets the value of the dialogPeriodStartFromDate field whenever the dialogPeriodStartFrom field is modified. | |
periodStartFromDate_Modified | Handles the modified event for the dialogPeriodStartFromDate dialog field. | |
postZakatValue_SA | Posts general ledger journal and Updates Zakat value records. | |
prepareDimensionStorageSegments | Prepares the dimension storage segments with respect to the provided journalizing definition entry in accordance with public sector functionality. | |
prepareForRun | Allows subclasses to process the dialog box immediately before the execution of the dialog box.Run method. (Inherited from RunBaseBatch.) | |
processNewClosingRecordsForOpening | Processes the new closing transactions to find postings that must be processed for the opening process. | |
processQuery | ||
processQueryForPublicSector | Processes the query based on the transaction type. | |
progressHide | Hides the Progress form. (Inherited from RunBase.) | |
progressInit | Initializes the Progress object in RunBase. (Inherited from RunBase.) | |
progressKill | Kills the Progress object in RunBase. (Inherited from RunBase.) | |
progressUpdate | ||
prompt | Displays the dialog from the class dialog and waits for user input. (Inherited from RunBaseBatch.) | |
promptPack | Wraps a call to the RunBase.pack Method when packing in the RunBase.promptPrim Method. (Inherited from RunBaseBatch.) | |
promptUnpack | (Inherited from RunBaseBatch.) | |
putToDialog | Enables setting the fields that were just added in the RunBase.dialog Method method. This method is called from the RunBase.promptPrim Method method directly following the RunBase.dialogMake Method method. (Inherited from RunBase.) | |
queryRun | Returns the QueryRun object, which is used by the QueryPrompt class. (Inherited from RunBase.) | |
reset | Resets the class to its default state. (Inherited from RunBase.) | |
run | Performs the operations to create closing and opening transactions. (Overrides the run Method.) | |
runBase | Returns the RunBase itself. (Inherited from RunBase.) | |
runBaseDialogModifyType_RU | (Inherited from RunBase.) | |
runPreview | Displays the preview form before the closing and opening transactions are committed to the database. | |
runPreview_Modified | Handles the validation of the preview transactions field that has the batch processing field. | |
runReport | ||
runsImpersonated | Determines whether the batch task is run on the server or on a client. (Overrides the runsImpersonated Method.) | |
saveLast | Saves the last choice by using the RunBase.pack Method. (Inherited from RunBaseBatch.) | |
selectFund_Modified | Enables the dialogFromFund and dialogToFund fields whenever the dialogSelectFund field is modified. | |
setDimensionSegment | Sets a dimension segment according to the supplied dimension segment value and dimension hierarchy. | |
setProfitLossDimensions | Sets the dimensions for profit and loss. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
showBatchTab | (Inherited from RunBaseBatch.) | |
showClearButton | Determines whether to add a Clear button to the dialog box. If you change the return value to true it will add the button. (Inherited from RunBase.) | |
showDefaultButton | Determines whether a Default button is to be added to the dialog box. If you change the return value to true, it will add the button. (Inherited from RunBase.) | |
showDialog | (Inherited from RunBase.) | |
showIndexFields | If this method returns true, it will look for the first enabled index when you are adding query range fields to the dialog and if a data source does not have any ranges specified. It will also show the visible fields from that index. (Inherited from RunBase.) | |
showQuerySelectButton | (Inherited from RunBase.) | |
showQueryValues | Determines whether a Select button is to be added to the dialog box. If you change the return value to true, the button will be added. (Inherited from RunBase.) | |
toFund_Lookup | Opens the filtered Fund Number lookup. | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
unpack | Deserializes the packedClass parameter value to an instance of the LedgerTransferOpening class. (Overrides the unpack Method.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
validate | Performs the validation that is required before the process is executed. (Overrides the validate Method.) | |
validateAcknowledgementDate | Performs the validation related to the acknowledgement date that is required before the process is executed. | |
validateBatchProcessing | Prompts the user for action when the batch configuration is invalid. | |
validateCanCloseYear | Performs the validation related to closing the fiscal year that is required before the process is executed. | |
validateFiscalCalendarData | Performs the validation related to fiscal calendar data required before the process is executed. | |
validateFundRange | Performs the validation related to funds that is required before the process is executed. | |
validateJournalizingDefinitions | Performs the validation related to journalizing definitions that is required before the process is executed. | |
validateVoucher | Performs the validation that is related to the voucher number before the process is executed. | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::callIL | ||
::description | Gets the description of the class. | |
::main | Provides an entry point for the LedgerTransferOpening class when it is called from a menu item. | |
::runIL |
Top
Remarks
Closing transactions are created to bring the balance of nominal accounts to 0. Opening transactions are created for real accounts to transfer their balance to the opening period of the next fiscal year.
Inheritance Hierarchy
Object Class
RunBase Class
RunBaseBatch Class
LedgerTransferOpening Class