Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

Dimension required in Purchase Header even though Vendor's been set up as requiring dimension value?

Posted on by 304

Hello, 

I've made CostCentre dimension mandatory for GL accounts, this is the only Master Data with a mandatory code, see screenshot below: 

pastedimage1657810246488v2.png

Also, the vendor used does not have any Default Dimensions defined

pastedimage1657810977708v5.png

I have created a Purchase Invoice  with two expense lines and I've added the dim values in the Cost Centre column, 

pastedimage1657810552936v4.png

I've tried to post it and got the error below:

"The COSTCENTRE dimension is the default dimension, and it must have a value. You can set the value on the Default Dimensions page"

and I can only post when adding a value in the Cost Centre field in the Invoice Details. 

Why do I need to add a dimension in the Invoice Header if I haven't made dimensions compulsory for the Vendor Table?

Thanks

Alejandra

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,025 Moderator on at
    RE: Dimension required in Purchase Header even though Vendor's been set up as requiring dimension value?

    I hope you are using Item and GL account as Type in Purchase and Sales, so you can define your dimension values as Code as Mandatory on Item or GL account card as the same way you did for customer and vendor.

    Now after that if you try to post your Sale or Purchases with those Items or GL account it will raise an error if not provided the dimensions.

  • AleAlonso Profile Picture
    AleAlonso 304 on at
    RE: Dimension required in Purchase Header even though Vendor's been set up as requiring dimension value?

    Hi Kim,

    It is a business requirement. They want mandatory dimensions in the lines (Purchase/Sales and JNLs), but not in customer/ vendor accounts.

    Thanks

    Alejandra

  • Suggested answer
    Dallefeld Profile Picture
    Dallefeld 11,423 User Group Leader on at
    RE: Dimension required in Purchase Header even though Vendor's been set up as requiring dimension value?

    I'm not a big fan of dimensions on balance sheet accounts. Tell me why you need them and there's generally a better solution.

    I'm a Super fan of dimensions on customer, items, vendors, etc to give me additional reporting capability on my income and expense data.

    Suggest rethinking dimension requirements on balance sheet accounts.

  • Suggested answer
    Vaishnavi J Profile Picture
    Vaishnavi J 3,056 on at
    RE: Dimension required in Purchase Header even though Vendor's been set up as requiring dimension value?

    Hi AleAlonso 

    Yes, the approach you suggested of making all G/L Accounts' default dimension or adding the dimension to the Purchase header is correct.
    However, if you skip the AP account to get a dimension, the financial reports that can be viewed using dimension will be incorrectly represented.

    There is no way you can avoid AP without dimension if you have set GL account code mandatory.

    If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much

  • AleAlonso Profile Picture
    AleAlonso 304 on at
    RE: Dimension required in Purchase Header even though Vendor's been set up as requiring dimension value?

    Hi Vaishnavi,

    Is there a way to exclude the AP Account GL from needing a dimension. I understand I could go to the CoA select all apart from the AP Account GL and default the dimensions from there. However, if we do it this way, we will need to remember to make dim mandatory for any new GL we create.

    Thanks

    Alejandra

  • Suggested answer
    Vaishnavi J Profile Picture
    Vaishnavi J 3,056 on at
    RE: Dimension required in Purchase Header even though Vendor's been set up as requiring dimension value?

    Hi AleAlonso 

    The reason you are getting this error is when you post the Purchase document it also hits the AP Account which is G/L account since you have kept it is code mandatory it will throw the error so you have to add the dimension value in Purchase Header

    If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much

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,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans