Hi All,
I'm creating the job to post Payment journal with offsetaccount type as 'Bank' and fetching the account(ledgerdimension) from 'retailstoretendertypetable' based on the 'Store' value but the journal is not fetching the financial dimension against the bank account-In my case there's having the 'Cost center' value against the bank account-that's not fetching and validating the journal is throwing the error as-'You must select a value in the CostCenter field in combination with the following dimensions values that are valid:'-help me to correct my code so that i can get the financial dimension inserted into journal lines
axLedgerJournalTrans.parmOffsetAccountType(LedgerJournalACType::Bank);
ledgerDimension=retailStoreTenderTypeTable.LedgerDimension;
axLedgerJournalTrans.parmOffsetLedgerDimension(ledgerDimension);
axLedgerJournalTrans.save();
*This post is locked for comments