Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

Dimension either or mandatory

Posted on by

Hi all, 

In the chart of account of the customer there are certain GL accounts, e.g. accounts receivable/payable, which need to be booked with a cost center or a Cost Object, depending on the transaction (asset with cost center, inventory with a Cost Object).
The customer wants to make it mandatory to fill in one of both dimensions.

Can this be setup in standard BC?

Thank you for your help

  • Verified answer
    DAnny3211 Profile Picture
    DAnny3211 9,217 Moderator on at
    RE: Dimension either or mandatory

    hi

    Code Mandatory – This means the dimension code is mandatory dimension. The system will suggest Site as London but we can change the dimension if required.

    Same code – This means the dimension code and Dimension value code London is mandatory. It will throw an error while posting the document if value is changed.

    No code– If we want to block a dimension to be used in this example with a customer then we can use No code.

    look this:

    community.dynamics.com/.../business-central-how-will-default-dimensions-help-the-business

    In my opinion, in your case, you need a customisation that goes to check before registering a document with that account that it has the one of the two dimensions enhanced

    DAniele

  • KTA Profile Picture
    KTA 1,200 on at
    RE: Dimension either or mandatory

    If you want that behaviour that means that should be the same dimension

  • Sleina Profile Picture
    Sleina on at
    RE: Dimension either or mandatory

    Hi Daniele

    Thank you for your answer! I got this far but in my case I would need something like this:

    pastedimage1669878122854v1.png

    The goal would be that the employee needs to set at least one of both dimensions.
    But if i set both to code mandatory both are required.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 69,657 Super User 2024 Season 2 on at
    RE: Dimension either or mandatory

    Hi, just adding some info.

    More control over settings for Default Dimensions (Allowed Values Filter)

    https://yzhums.com/10848/

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,217 Moderator on at
    RE: Dimension either or mandatory

    hi

    yes , it's possible

    look my picture

    pastedimage1669822107904v1.png

    check my answer if it helped you, thanks

    DAniele

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans