RE - Ledger dimension filed in LedgerJournalTrans

Hi Everyone,

I am uploading Opening balances through csv file. In that i am facing some issues with the ledgerDimension filed.

The code is

ledgerDimensions = [accountNum,accountNum,3,“BusinessUnit”,businessUnit,“Department”,department,“CostCenter”,costCenter];

trans.parmJournalNum(ledgerjournalTrans.JournalNum);

trans.parmLedgerDimension(AxdDimensionUtil::getLedgerAccountId(ledgerDimensions));

It is not showing any error. But aft the upload still the "ledger Dimension field is empty in the form. The account type is “ledger” to Ledger.

Plz help me to solve this.

Regards,

Madhan