LedgerAccountUtility_CN Class [AX 2012]
Handles chinese leger account.
Syntax
class LedgerAccountUtility_CN
Run On
Called
Methods
Method | Description | |
---|---|---|
calcTotalLength | Gets the total length from a LedgerChartOfAccountsTreeLevel_CN record. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
checkAccountLength | Checks the length of an account. | |
copyFromAccountParent | Copies from the parent account. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
findFirstSubLeaf | Finds the first sub-leaf main account. | |
findLastPeerAccount | Finds the last sub main account at the same level that does not have a sub-account. | |
findMaxAccountNum | Finds the maximum account number. | |
findParentAccountNum | Finds the parent account number. | |
findParentRecId | Finds the parent RecId value. | |
getAccountLengthByLevel | Gets the account length by level. | |
getAccountLevelbyAccountNum | Gets the account level according to the main account number. | |
getAccountLevelbyLength | Gets the account level according to the account length. | |
getAccountToken | Gets the account token. | |
getAllParentRecIds | Gets all the RecId values of the parent main accounts by the RecId values of the sub-accounts. | |
getCurrentUsedMaxLevel | Gets the currently used maximum level. | |
getNextLevelSubAccountIds | Gets a list of the RecId values of all the sub main accounts in the next level. | |
getNextLevelSubRecIds | Gets a list of the RecId values of all the sub main accounts in the next level. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
initMap | Calculates maps. | |
isAccountTreeLevelEmpty | Checks whether an account tree level is empty. | |
isMainAccountEmpty | Checks whether a main account is empty. | |
isRootAccount | Checks whether it is the root account. | |
new | Initializes a new instance of the LedgerAccountUtility_CN class. | |
nextSubCode | Gets the next sub-code by the RecId value of the parent main account. | |
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.) | |
renameMainAccount | Renames the main account number with a separator. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
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.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::calcSubLevelTotalLength | Calculates the total length of a sub-level.. | |
::calcTotalLengthIncludeSep | Calculates the total length including the separator. | |
::existSub | Checks whether there is a sub main account. | |
::findMaxLevel | Finds the maximum level from the LedgerChartOfAccountsTreeLevel_CN record. | |
::findSeparator | Finds the separator from the LedgerChartOfAccountsTreeLevel_CN record. | |
::findSeparatorChar | Finds the separator character for the account tree structure. | |
::initWildcard | Initializes a wildcard character that is used in select statements for fuzzy querying. | |
::numPreviewFormat | Gets the format of a preview account based on a separator character. |
Top
Inheritance Hierarchy
Object Class
LedgerAccountUtility_CN Class