Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Thursday, July 25, 2019

Convert Ledger dimension from ProjectID to LedgerJournalTable in AX 2012

Hi,

//for default account:
print DimensionStorage::getDefaultAccount(54154515402);//mainAccount.RecId);

DimensionStorage::accountNum2LedgerDimension(ProjId, LedgerJournalACType::Project);

Regards,

No comments:

Post a Comment

How find size of recordsortedlist in D365/AX 2012

Hi, This is the continuity of the previous article where we are now getting the size of recordsortedlist . if(recordsortedlist.len() >1) ...