Hello Folks,
I have a requirement wherein I am creating GJ with account type as customer through code, when I do this system automatically creates LedgerDimension based on value being passed in method LedgerJournalTrans.parmAccount() which is my Customer account number and account type. Here default dimensions are also fetched automatically from the customer master to create Ledger dimension.
Now I need to do a customization wherein my default dimension should not be fetched from Customer master but must be created based on values which we want to pass (I able to create a default dimension with req logic correctly) but further I am not able to create LedgerDimension by using this Default dimension and customer account number, can someone suggest how can I achieve this ?
Further let me point out I successfully created Ledger dimension for scenario where account type is Ledger by combining my default dimension with main account, but same code doesn't work with account type customer and not sure instead of main account weather I can pass customer account number.