Share via


MainAccount Table

The MainAccount table contains account values that do not include dimension attribute values.

Configuration Key: LedgerBasic

Methods

  Method Description
Gg901309.pubmethod(en-us,AX.60).gif accountCategory Retrieves the account category for the main account record.
Gg901309.pubmethod(en-us,AX.60).gif aosValidateDelete Validates on the server that the specified record can be deleted from a table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif aosValidateInsert Validates on the server that the specified record can be inserted. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif aosValidateRead Validates on the server that the specified record can be read. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif aosValidateUpdate Validates on the server that the specified record can be updated. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif buf2con Packs the table buffers of an xRecord instance into an X++ container. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg901309.pubmethod(en-us,AX.60).gif canSubmitToWorkflow Indicates whether submission to workflow is possible. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif caption Gets and sets the caption property of a table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif checkAccountCurrency
Gg901309.pubmethod(en-us,AX.60).gif checkForPosting Checks whether the current record is valid for posting.
Gg901309.pubmethod(en-us,AX.60).gif checkInvalidFieldAccess Gets and sets invalid field access. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif checkLedgerPostingType
Gg901309.privmethod(en-us,AX.60).gif checkParentAccount_BR Verifies whether the main account is self-referenced as a parent or if its hierarchical relation with its chain of parents creates a circular reference.
Gg901309.pubmethod(en-us,AX.60).gif checkRecord Gets and sets the property that indicates whether to check mandatory fields. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif checkRestrictedDeleteActions Gets and sets the property that indicates whether a record can be deleted. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif checkUserId
Gg901309.pubmethod(en-us,AX.60).gif clear Removes all rows from the table buffer. (Inherited from xRecord.)
Gg901309.privmethod(en-us,AX.60).gif clearBudgetCache Clears the budget cache for the main account data.
Gg901309.pubmethod(en-us,AX.60).gif company Gets and sets the property that indicates a legal entity for the record. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif con2buf Unpacks a container into the table buffers. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif concurrencyModel Gets and sets the default concurrency model to use to update records. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif context Gets and sets the context property. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif data Retrieves a row from the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif dataSource Retrieves the data source of the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif defaultField Populates default values in a field in the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif defaultRow Populates default values in fields in the table in the non-interactive case. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif delete Deletes the current record from the database.
Gg901309.pubmethod(en-us,AX.60).gif disableCache Gets and sets the property that indicates whether caching is disabled. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif dispose Releases resources that are used by the xRecord object. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif doClear Removes all rows from the table buffer and bypasses any additional logic in the clear method of the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif doDelete Deletes the current record from the table and bypasses any additional logic in the delete method of the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif doInsert Inserts the record into the table and bypasses any additional logic in the insert method of the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif doUpdate Updates the current record and bypasses any additional logic in the update method of the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif doValidateDelete Performs the action to validate that a record can be deleted. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif editIsSeparateBalanceMainAccount Manages the way(how) the separate balance field is set.
Gg901309.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif fieldAccessRight Returns the field access right. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif fieldBufferAccessRight Returns the field access right for the current record. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif fieldState Sets or returns the state of a field in the table buffer. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif getAccountLevel_BR Gets the main account level
Gg901309.pubmethod(en-us,AX.60).gif getAllowRedefault Returns the list of fields that are allowed to re-default. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif getBalance Calculates the balance in the functional currency for the current main account based on a ledger category, date range, and period code.
Gg901309.pubmethod(en-us,AX.60).gif getDefaultingDependencies Returns the container that holds defaulting dependencies. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif getExtension Returns the table extension. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif getFieldValue Gets the value of the specified field from a table buffer. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif getFinancialStatementValues Gets the financial statement information associated with the current record.
Gg901309.pubmethod(en-us,AX.60).gif getInstanceRelationType Returns the table name that corresponds to the InstanceRelationType ID. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif getPhysicalTableName Return the physical table name, which, in the case of the SQL Temp DB table, is the table instance name. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif getPresenceFieldData Retrieves the PresenceInfo value from the specified field. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif getSQLStatement Gets the SQL statement that is used to return records from the database. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif getTableInInstanceHierarchy (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif getTableType Indicates the type of the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg901309.pubmethod(en-us,AX.60).gif getType_BR Determines the account type of the deepest level in the account structure
Gg901309.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg901309.pubmethod(en-us,AX.60).gif hasBalance
Gg901309.pubmethod(en-us,AX.60).gif hasChildAccount_BR Verifies whether the current MainAccount has any child accounts
Gg901309.pubmethod(en-us,AX.60).gif hasRelatedTable Indicates whether a foreign key constraint buffer is linked with the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif heading
Gg901309.pubmethod(en-us,AX.60).gif helpField Retrieves a string that contains the Help text for the specified field. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif initValue Initializes a field to the default value. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif inputStatus Sets or returns the current input status of the table buffer. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif insert Inserts the current record into the database.
Gg901309.pubmethod(en-us,AX.60).gif interactiveContext Sets or returns the current interactive context of the table buffer. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif isBalanceSheetAccount
Gg901309.privmethod(en-us,AX.60).gif isBlockedForManualEntry
Gg901309.pubmethod(en-us,AX.60).gif isFieldDataRetrieved Checks whether the data of the given field has been retrieved. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif isFieldSet Checks whether a field has a Set or Defaulted state. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif isFormDataSource Indicates whether the data source is a form. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif isNewRecord Returns true if the record is a new record that hasn't been persisted yet. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif isNonPostingAccount
Gg901309.pubmethod(en-us,AX.60).gif isPartOfUOWSaveChanges (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif isProfitAndLossAccount
Gg901309.pubmethod(en-us,AX.60).gif isTempDb Indicates whether the type of the table is SQL TempDB. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif isTmp Indicates whether this is a temporary table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif joinChild Finds the join child of the current record. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif joinParent Finds the join parent of the current record. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif ledgerInterval
Gg901309.pubmethod(en-us,AX.60).gif linkPhysicalTableInstance Checks whether there is a link for the physical table instance for the record. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif localizedName Gets the localized name of the current main account.
Gg901309.pubmethod(en-us,AX.60).gif merge Merges the current table with the specified table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif modifiedField
Gg901309.pubmethod(en-us,AX.60).gif modifiedFieldValue Modifies the specified field to the original value. (Inherited from xRecord.)
Gg901309.privmethod(en-us,AX.60).gif modifyMonetaryField Modifies the monetary field value, depending on values in the other fields.
Gg901309.privmethod(en-us,AX.60).gif modifyRepomoType_MX
Gg901309.privmethod(en-us,AX.60).gif modifyUnitField Modifies the unit field value, depending on values in the other fields.
Gg901309.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg901309.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.)
Gg901309.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.)
Gg901309.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg901309.pubmethod(en-us,AX.60).gif orig Retrieves the original values of the current record. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif overwriteSystemfields Gets and sets the property that indicates whether system fields can be overwritten. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg901309.pubmethod(en-us,AX.60).gif postCacheLoad Is executed after data is hit from the cache for the select operation on the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif postLoad Is executed after a record is read. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif preRemoting Is executed before a cross-tier call is about to be executed for the table that would pack its state to the other tier. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif queryTimedOut Indicates whether the query exceeded the time limit for execution. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif queryTimeout Gets and sets the property that indicates the time limit for the execution of a query. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif readCommittedLock (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif readPast Gets and sets the property that indicates whether to skip rows that are locked by other processes when a record is read. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif recordLevelSecurity Gets and sets the property that indicates whether to apply security on a record level. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif relatedTable Sets or returns the related buffer of a link of a table buffer. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif renamePrimaryKey Renames the foreign keys in other tables according to the change of the corresponding primary key value in this table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif reread Rereads the record from the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif RowCount Retrieves the number of rows in the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif selectForUpdate Gets and sets the property that indicates whether to select records for update when they are read. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif selectLocked Indicates whether to select locked records. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif selectRefRecord Selects the record by referenced field ID. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif selectWithRepeatableRead Gets and sets the property that indicates whether repeatable read is enabled. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif setConnection Sets the user connection for this table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif setCrossPartition Sets or resets cross-partitioning for the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif setFieldValue Sets the field value in the record buffer. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif setSQLTracing Enables or disables SQL tracing mode. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg901309.pubmethod(en-us,AX.60).gif setTmp Sets the table so that it is not persisted to the database. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif setTmpData Sets the contents of the temporary table to the specified data. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif setXDSContext Sets new XDS context. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif skipAosValidation Gets and sets the property that indicates whether to skip validation of Microsoft Dynamics AX Application Object Server (AOS). (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif skipDatabaseLog Gets and sets the property that indicates whether to skip database log requests. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif skipDataMethods Gets and sets the property that indicates whether to discard overloaded methods. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif skipDeleteActions Gets and sets the property that indicates whether to skip delete actions on the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif skipDeleteMethod Gets and sets the property that indicates whether to discard overloaded methods. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif skipEvents Provides an option to turn off calling the Application.event* methods for the lifetime of an xRecord object. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif skipPostLoad Gets and sets the property that indicates whether to skip executing the xRecord.postLoad method on the table. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif skipTTSCheck Gets and sets the property that indicates whether to skip the check to determine whether the record is selected for update. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif suppressWarnings Gets and sets the property that indicates whether to suppress warnings for this pointer. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif tableAccessRight Returns the table access right. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif tableBufferAccessRight Returns the table access right for the current record. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif takeOwnershipOfTempDBTable (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif toolTipField Retrieves the HelpText value for the specified field. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif toolTipRecord Retrieves the ToolTip value for the current record. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg901309.pubmethod(en-us,AX.60).gif transactionAccount Determines whether the type field is considered a transaction account.
Gg901309.pubmethod(en-us,AX.60).gif ttsabort Aborts a transaction that was started by a call to the ttsbegin method. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif ttsbegin Starts a transaction that can be either committed by the ttscommit method or aborted by the ttsabort method. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif ttscommit Commits a transaction that was started by a call to the ttsbegin method. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif update Updates the current record in the database.
Gg901309.pubmethod(en-us,AX.60).gif usageCount Retrieves the current number of references (the value of the reference counter) that the object has. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif useExistingTempDBTable (Inherited from xRecord.)
Gg901309.privmethod(en-us,AX.60).gif validateAccountCategoryRef Validates the account category reference ID field.
Gg901309.privmethod(en-us,AX.60).gif validateAdjustmentMethod_MX Indicates whether a valid adjustment method is selected when an inflation indicator is marked.
Gg901309.pubmethod(en-us,AX.60).gif validateCloseType Determines the ledger type and Account close type and through an error message if DimensionLedgerAccountType is DimensionLedgerAccountType::Totalor DimensionLedgerAccountType::Statistical and AccountCloseType is not equal to AccountCloseType::NotApplicable.
Gg901309.pubmethod(en-us,AX.60).gif validateDelete Determines whether the current record is valid and ready to be deleted from the database.
Gg901309.pubmethod(en-us,AX.60).gif validateField Determines whether the _fieldIdToCheck field is valid.
Gg901309.pubmethod(en-us,AX.60).gif validateFieldValue (Inherited from xRecord.)
Gg901309.privmethod(en-us,AX.60).gif validateIsInfAdjClosed_MX Validates whether to allow the Closed and inflation adjustment checkboxes to be marked together.
Gg901309.privmethod(en-us,AX.60).gif validateLedgerAccountType_CN Validate if the Type can be changed when enabling China account tree structure
Gg901309.privmethod(en-us,AX.60).gif validateOffsetAccount Validates the offset account field.
Gg901309.privmethod(en-us,AX.60).gif validateOpeningAccount Validates the opening account field.
Gg901309.privmethod(en-us,AX.60).gif validateRepomoType_MX Validation a repomo field based on the account type and adjustment method.
Gg901309.privmethod(en-us,AX.60).gif validateTransferYearEndAccount_ES Validates the transfer year end account field.
Gg901309.pubmethod(en-us,AX.60).gif validateWrite Determines whether the current record is valid and ready to be written to the database.
Gg901309.pubmethod(en-us,AX.60).gif validTimeStateUpdateMode Sets a valid time state update mode on the cursor. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg901309.pubmethod(en-us,AX.60).gif wasCached Specifies the location from which the data was retrieved. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif write Updates a record if it exists; otherwise, inserts a record. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gif xml Retrieves an XML string that represents the current object. (Inherited from xRecord.)
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::addSecureRangeForChartOfAccounts Adds a secure range for the LedgerChartOfAccounts table foreign key.
Gg901309.privmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::buildAccountTypeLookupString Creates a comma-delimited string of the DimensionLedgerAccountType enumeration values to use as a query range value.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::checkAllowPosting
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::checkCurrency
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::checkExist Validates that the specified record exists in the MainAccount table; if not, an error message is displayed.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::checkLedgerAccount_IN Reads the record from the table.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::checkPostingType
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::checkSumAccount
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::checkTransactionAccount
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::checkUser
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::clearAccountCategoryRef
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::exist Indicates whether the specified record in the MainAccount table exists.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::existAccountCategoryRef
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::existLedgerPostingType
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::existLedgerPostingType_IN Check the record exist with current criteria.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::find Finds the specified record in the MainAccount table.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::findByLedgerDimension Finds the specified record in the MainAccount table.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::findByMainAccountId Finds the specified record in the MainAccount table.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::findTotalCriteria Finds first occurence DimensionAttributeValueTotallingCriteria record for given RecId of MainAccount.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::getAdvancedRules Gets the advanced rules which use the specified main account in their criteria.
Gg901309.privmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::getAdvancedRulesServer
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::getLocalizedName Gets the localized name of the specified main account.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::getLocalizedNameByMainAccountId Gets the localized name of the specified main account ID.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::getTotalAccount_RU Finds the total account number for specified child account number..
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::lookupBudgetMainAccounts
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::lookupByChartOfAccounts_CN Lookup the instance of the MainAccount class by chart of accounts.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::lookupMainAccount
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::lookupMainAccountByTypes Provides form lookup functionality for the MainAccount table lookups that filter by account type.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::lookupReference
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::renameAllMainAccount_CN Renames all main account id
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::resolveMainAccountByTypes Ensures that an appropriate record has been entered for the MainAccount table lookups that filter by an account type.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::resolveReference
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::subLedgerJournalNotTransferred
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::subLedgerJournalNotTransferredRecId Builds query for SubLedgerJournalEntry table.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::txtNotExist Gets the message to use when a specific record in the MainAccount table does not exist.
Gg901309.pubmethod(en-us,AX.60).gifGg901309.static(en-us,AX.60).gif ::updateBalances Updates the dimension set balances associated with the MainAccount table.

Top

Fields

Field Type Configuration key Description
AccountCategoryRef Extended Data Type: AccountCategoryRef
Type: Integer
None System assigned value for main account category
AdjustmentMethod_MX Enumeration: AdjustmentMethod_MX
None Specify the adjustment method.
CloseType Enumeration: AccountCloseType
PublicSector The account type that determines which transactions are generated at the fiscal year-end close. (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS), Microsoft Dynamics AX 2012 Feature Pack (SYS), Microsoft Dynamics AX 2012 (FPK))
Closing Enumeration: LedgerClosing
LedgerBasic Select how balances should be transferred to the Closing sheet form
ConsolidationMainAccount Extended Data Type: LedgerAccountExt
Type: String
LedgerAdvConsolidations The name of the main account in the parent legal entity that is used for ledger consolidation
CurrencyCode Extended Data Type: CurrencyCode
Type: String
None Select the default currency that is displayed when the main account is assigned to the general journal line
DebitCreditBalanceDemand Extended Data Type: DebCredBalanceDemand
Type: Enum
LedgerBasic Select whether an account must have a balance in either receivables or payables
DebitCreditCheck Enumeration: DebCredProposal
LedgerBasic Select whether the transaction must be a debit or a credit
DebitCreditProposal Enumeration: DebCredProposal
LedgerBasic Select whether the typical transaction is usually a debit or a credit
ExchangeAdjusted Enumeration: NoYes
None Select to include the account in general ledger foreign currency revaluation
FinancialReportingExchangeRateType Extended Data Type: ExchangeRateTypeRecId
Type: Int64
None Select the system exchange rate type (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3)
FinancialReportingTranslationType Enumeration: FinancialReportingTranslationType
None Select the currency translation type to use to determine the exchange rate (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3)
InflationAdjustment_MX Extended Data Type: InflationAdjustment_MX
Type: Enum
None Include the account in B-10 adjustments from the General ledger module.
LedgerChartOfAccounts Extended Data Type: RefRecId
Type: Int64
None Reference field in a different table
MainAccountId Extended Data Type: MainAccountNum
Type: String
LedgerBasic The main account number
MainAccountTemplate Extended Data Type: RefRecId
Type: Int64
None Reference field in a different table
MandatoryPaymentReference Enumeration: NoYes
None Select to validate the payment reference
Monetary Extended Data Type: LedgerMonetary
Type: Enum
LedgerAdvConsolidations Select to indicate that the account is a monetary account and will use the exchange rate of the assessment time rather than the transaction date
Name Extended Data Type: AccountName
Type: String
None The main account name
OffsetLedgerDimension Extended Data Type: LedgerDimensionDefaultAccount
Type: Int64
LedgerBasic Select the default offset account for the selected account in the general journal
OpeningAccount Extended Data Type: RefRecId
Type: Int64
None Select the account that opening transactions are transferred to
ParentMainAccount_BR Extended Data Type: RefRecId
Type: Int64
None Link the current account number to its parent account number. (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS))
Partition Extended Data Type: Partition
Type: Int64
None (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS))
PostingType Enumeration: LedgerPostingType
LedgerBasic Select the posting type of the current account
RecId Extended Data Type: RecId
Type: Int64
None
recVersion Extended Data Type: RecVersion
Type: Integer
None
RepomoType_MX Enumeration: RepomoType_MX
None Select the type of account for the REPOMO calculation.
ReportingAccountType Enumeration: DimensionLedgerAccountReportingType
LedgerBasic Select the reporting type to be used for financial statement formatting
SRUCode Extended Data Type: LedgerSRUCode
Type: String
None Standardized accounting statement number.
TransferYearEndAccount_ES Extended Data Type: RefRecId
Type: Int64
None The name of the main account that annual net profits and losses are posted to
Type Enumeration: DimensionLedgerAccountType
LedgerBasic Select the account type that describes how the main account is reported
UnitOfMeasure Extended Data Type: UnitOfMeasureRecId
Type: Int64
None Unit symbol
UserInfoId Extended Data Type: UserId
Type: String
None Select the user authorized to post to the current account
ValidateCurrency Enumeration: FieldControl
None Select how the value in the Currency field is validated when posting to the account
ValidatePosting Enumeration: FieldControl
None Select how the value in the Posting field is validated when posting to the account
ValidateUser Enumeration: FieldControl
None Select how the value in the User field is validated when posting to the account

Top

Field Groups

Field Group Fields
AccountCloseType
AutoIdentification
Administration
AutoLookup
Currency
AutoReport
DebitCredit
FinancialReporting
Identification
InflationAdjustment_MX
Hierarchy_BR
Ledger
MainAccountTemplate
RelatedAccounts
Name
Posting
UnitOfMeasure
SalesTax
User

Top

Relations

Relation Table Lines
Currency Currency
FinancialReportingExchangeRateType ExchangeRateType
LedgerChartOfAccounts LedgerChartOfAccounts
MainAccountCategory MainAccountCategory
MainAccountTemplate MainAccountTemplate
OffsetLedgerDimension DimensionAttributeValueCombination
OpeningAccount MainAccount
ParentMainAccount_BR MainAccount
Partition Partitions
TransferYearEndAccount_ES MainAccount
UnitOfMeasure UnitOfMeasure
UserInfo UserInfo

Top

Indexes

Index AllowDuplicates Enabled Fields
DEL_LedgerAccountNumFormat_CNIdx Yes Yes
LedgerChartOfAccountsTypeIdx Yes Yes
MainAccountAndAdjustmentMethodIdx_MX Yes Yes
MainAccountIdIdx No Yes
RecId No Yes

Top

Inheritance Hierarchy

xRecord Class
  Common Table
    MainAccount Table

See Also

Table Methods

Tables Overview