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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Location and Store Code Required

(0) ShareShare
ReportReport
Posted on by 101

Good Day Experts, 

Please help

We set up a new blank company In D365BC today and was able to create most of the setups, post opening journal  balances for AP and AR. We tried posting a sales invoice to the General Income G/L account but we were getting the following errors (Location is required and store code (dimension is required). I cannot understand why a location code is mandatory for a GL account in this new company. As regards to the store code. a user setup a store but  it has seen been deleted before any invoices were posted.  5287.Sales-invoice-error.PNG

I have the same question (0)
  • Francisco Bedolla Profile Picture
    1,123 on at

    You mentioned "Store"

    In BC standard the Store term doesn´t exists,

    did you have any extension? can you show an image of your extension administration page?

  • Suggested answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at

    Hi, If you mean this red star, setting the NotBlank property to true on the fields in a table does not cause a red star marking on the UI.

    More details: https://yzhums.com/4940/#toc2

    If the NotBlank property is used on other fields than primary fields, the behavior is as follows:
    ・If the field is blank, and never entered, the page can be closed.
    ・If the field has been entered, and the user tries to enter a blank value, a validation error occurs.

    Hope this helps.
    Thanks.

    ZHU

  • PETERFL Profile Picture
    101 on at

    I hope the page below is what you wanted to see. The main company that our partner created 2 years ago had customizations relating to store and locations being mandatory fields. The new company above with the shortcut dimension and location only has 120 transactions per year so we decided to implement ourselves with the blessing of our external D365 Partner

    pastedimage1658884530952v1.png

  • Suggested answer
    Ben Baxter Profile Picture
    6,575 Super User 2025 Season 2 on at

    Location Mandatory:

    This is an option on your Inventory Setup.  Go and uncheck the box if you don't use Locations.  However, if you have Locations, we strongly encourage you to keep Location Mandatory turned on.

    pastedimage1658930942232v2.png

    Dimension Requirement:

    Look at the GL Account where the entries would land when Posted.  Under Dimensions you will see a "Value Posting" field which likely has "Code Mandatory" set.  This means you are not able to post a transaction into this account if the associated Dimension does not have a Value.  There is more capability around this, but in terms of addressing your issue this is likely the setting used.

    pastedimage1658930838742v1.png

    Hope this helps resolve your issues.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at
    [quote user="PETERFL"]

    I hope the page below is what you wanted to see. The main company that our partner created 2 years ago had customizations relating to store and locations being mandatory fields. The new company above with the shortcut dimension and location only has 120 transactions per year so we decided to implement ourselves with the blessing of our external D365 Partner

    pastedimage1658884530952v1.png

    [/quote]

    Then you should probably evaluate together with your partner if you still needs this customization or not and analyse the consequences of possible uninstall it. 

  • PETERFL Profile Picture
    101 on at

    Good Day, the extension was for our Main operating company that needed the customization. Is seems that the extension was also incorporated into this company This company , has no location or stores , no inventory and a few inter company transactions per month. So what is needed is the out of the box software solution

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    And the main company stills needs it and is in the same database?

    If not you should be able to uninstall it. Or else you need a setup in your extension that tells you if it should be active in this company or not.

    That will probably require code changes by your partner.

  • PETERFL Profile Picture
    101 on at

    I am seeing the extension but I do not know the contents of the extension or a description of its purpose and what it affects so I may have to contact them

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at
    [quote user="PETERFL"]

    I am seeing the extension but I do not know the contents of the extension or a description of its purpose and what it affects so I may have to contact them

    [/quote]

    Sounds like a good idea in this case.

  • Francisco Bedolla Profile Picture
    1,123 on at

    the PTE (Per TEnant) extension works for ALL companies in the same tenant, so if in one company those fields are required, the same process would be required in the other companies.

    You can ask your partner to make a change in the extension and activate the process by company instead of tenant

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,226

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,047 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,257 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans