Share via


Ledger::chartOfAccounts Method

Gets the chart of accounts of the Ledger record for a specific company.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          client server public static RefRecId chartOfAccounts([LegalEntity _legalEntityRecId])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static RefRecId chartOfAccounts([LegalEntity _legalEntityRecId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static RefRecId chartOfAccounts(LegalEntity _legalEntityRecId)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static RefRecId chartOfAccounts(LegalEntity _legalEntityRecId)

  Microsoft Dynamics AX 2012 (SYS)
          client server public static RefRecId chartOfAccounts(LegalEntity _legalEntityRecId)

Run On

Called

Parameters

Return Value

Type: RefRecId Extended Data Type
The record ID of the chart of accounts.

See Also

Reference

Ledger Table