web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Is there a class function to get default dimension from account based on account type ?

(0) ShareShare
ReportReport
Posted on by 596

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.

pastedimage1681269192642v1.png

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.

I have the same question (0)
  • Martin Dráb Profile Picture
    236,951 Most Valuable Professional on at
    RE: Is there a class function to get default dimension from account based on account type ?

    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.

  • Voltes Profile Picture
    596 on at
    RE: Is there a class function to get default dimension from account based on account type ?

    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,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 696 Super User 2025 Season 2

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 569

#3
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans