Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

error "Account structures that include financial dimensions have not been selected for the ledger" when adding financial dimension to address.

(2) ShareShare
ReportReport
Posted on by

Hi,

I try add financial dimension to a form by following this clip https://www.youtube.com/watch?v=I4PYyPWVtG8

pastedimage1685956567236v2.png

It work fine as expected but when I applied to customers' address by adding DimensionDefault field to DirPartyTable and LogisticsPostalAddress form it cause this message came out "Account structures that include financial dimensions have not been selected for the ledger"

I try to change EDT of DimensionDefault field to LedgerDefaultDimensionValueSet and follow this blog https://dynamicspedia.com/2020/12/tips-on-ledger-default-dimension-development-on-forms/ but still facing the same message. Any idea?

Daniel

  • Suggested answer
    Bill Ngo Profile Picture
    Bill Ngo 366 on at
    error "Account structures that include financial dimensions have not been selected for the ledger" when adding financial dimension to address.
    Hi Dhanate,
     
    The DirPartyLocation table could be a global table, you would need to have a link to a legal entity. So you should consider creating an additional table (e.g DirPartyLocationDefaultDimlinked to the DirPartyLocation table having following fields DirPartyLocation (Plus Location field to link to RecId of DirPartyLocation). For more detail refer to HcmPositionDefaultDimension table.
    Create a Form + a Menu for a Dialog form like HcmPositionDefaultDimensionDialog form. Like Microsoft have implemented this for having dimensions on the All positions form below. 
     
     
    Its show looks like:
    Bill
    Rgds,
  • DP-04060556-0 Profile Picture
    DP-04060556-0 73 on at
    error "Account structures that include financial dimensions have not been selected for the ledger" when adding financial dimension to address.
    Hi Bill,
    I set SalesPerson as FD and some customers service by a few salespersons, each of them take care some locations of customer. I think it is quite logic for this scenario,
     
    Rgds,
    Dhanate
  • Suggested answer
    Bill Ngo Profile Picture
    Bill Ngo 366 on at
    error "Account structures that include financial dimensions have not been selected for the ledger" when adding financial dimension to address.
    Hi Dhanate,
     
    I don't know your main purpose of putting DimensionDefault field into the customer's address form? But in my opinion, putting your DimensionDefault field into the customer's address subform is not reasonable. Because in the customer's main form already has DimensionDefault field, so I don't see any meaning in this.
     
    Bill
    Rgds,
  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    error "Account structures that include financial dimensions have not been selected for the ledger" when adding financial dimension to address.
    Hi Dhanate,
     
    Below thread is having the solution. Please go through this.
     
    Thanks,
    Girish S.
  • RE: error "Account structures that include financial dimensions have not been selected for the ledger" when adding financial dimension to address.

    Hi guys,

    To update you about my troubleshooting. I create a new form and just add DirPartyLocation table which I added DefaultDimension field into it. This form work as expected. Fin Dims populated as usual. Hence I suspect the issue is because some setting in LogisticsPostalAddress form but I still cannot figure out.

    Thanks,

    Daniel

  • RE: error "Account structures that include financial dimensions have not been selected for the ledger" when adding financial dimension to address.

    Hi Girish S,

    It was my typo. actually I add DimensionDefault field into DirPartyLocation table in both AX2012 and D365. It works fine in AX2012 but not in D365.

    Thanks,

    Daniel

  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: error "Account structures that include financial dimensions have not been selected for the ledger" when adding financial dimension to address.

    LogisticsPostalAddress form doesn't have DirPartyTable as DataSource. I think you need to add DimensionDefault field to LogisticsPostalAddress table.

    Thanks,

    Girish S.

  • RE: error "Account structures that include financial dimensions have not been selected for the ledger" when adding financial dimension to address.

    Hi André Arnaud de Calavon,

    Can you clarify about table entity without entity context? does it means table with "SaveDataPerCompany"=Yes or table with field LegalEntity?

    In the mean time I try your advise about using workers to captures Fin Dims, do you have any idea why attach default dimension to address table in AX2012 can work but not in D365 F&O?

    Thanks,

    Daniel

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,965 Super User 2025 Season 1 on at
    RE: error "Account structures that include financial dimensions have not been selected for the ledger" when adding financial dimension to address.

    Hi Daniel,

    The addresses table is a global table without legal entity context. You can follow the same approach as done in the standard for workers. Microsoft created an additional table to store the dimensions per worker/per legal entity.

  • Suggested answer
    BillurSamdancioglu Profile Picture
    BillurSamdancioglu 16,455 Most Valuable Professional on at
    RE: error "Account structures that include financial dimensions have not been selected for the ledger" when adding financial dimension to address.

    You should assign account structures to ledger

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans