Hi guys,
In my creation of customer payment journal using X++, I want to get default dimension from an account. As you know to create payment journal, we need to put Account and then Offset account type and then Offset account based on the offset account type we just chose.
May I know is there a standard function or some global class for me to use to get the Default Dimension of the account ? both for account and offset account. The 1st account is not difficult since the account type already fixed as it is Customer, I can just find CustTable and get Default dimension. But the Offset account is a little bit tricky because it is based on Account type, so for example the account type is Ledger, then the Default Dimension from the Main account, but if the account type is Bank, we supposed to get Default Dimension from Bank Account.
Thanks.
Hi Martin,
Yes, understood customer is not a default dimension, that is why in my question I keep saying I want to get Default Dimension either from customer, main account, or bank account.
So the business problem in summary is, I'm asking whether there is a standard class or function that I can use to get Default Dimension from those data (customer/main account/bank),and those data is based on Account type in that Ledger Journal Trans.
Thanks,
Customer account isn't a default dimension. A default dimension is a combination of dimension values, not a single dimension value.
Maybe you should forgot the terminology for a moment and rather explain what business problem you're trying to address.
André Arnaud de Cal...
292,162
Super User 2025 Season 1
Martin Dráb
230,962
Most Valuable Professional
nmaenpaa
101,156