Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 53207

Find Ledger Account Id by Ledger dimension in Ax 2012

$
0
0
To Find Ledger Account Id by Ledger dimension in Ax 2012 you can get hint from below code.

findByLedgerDimension is a method defined in Mainaccount table where you can pass ledgerdimension value . MainAccountId is field name which is created in MainAccount Table. MainAccount Table is main master table for Ledgers.

info(strFmt("%1",MainAccount::findByLedgerDimension(3427167077).MainAccountId));

Viewing all articles
Browse latest Browse all 53207

Trending Articles