Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Error for Location in PO Line

Posted on by Microsoft Employee

Hello Experts,

I am facing with an error when selecting Location code in Purchase Order Line, see the below screen shot for the error details. "Location" is mandatory as per my inventory setup. 

PO-Loc_2E00_.jpg

Thanks & Regards,

Ranjith 

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,296 Super User 2024 Season 2 on at
    RE: Error for Location in PO Line

    Hi, I suggest you still debug, so that you can quickly find the problem. And judge whether it is a standard problem or a custom one.

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Error for Location in PO Line
    [quote user="Ranjith E S"]

    Hi Inge M. Bruvik,

    Yes, earlier it was able to select the Location code in PO Line even if the Location code is not selected in the PO Header. See the screen shot for the couple of time back in the same instance. But now getting error when selecting Location code in PO Line if the Location Code is not selected in the PO Header. Recently my instance is updated and current version is Version: IN Business Central 21.4 (Platform 21.0.52534.53527 + Application 21.4.52563.52602), is it an updated functionality in 21.4?

    LOC-.jpg

    [/quote]

    I just tested in the my system on the same version and I have no problem with blank location code in the header and location on the line.

    I think you should discuss this with your partner and possible open a support case with Microsoft if you are sure you do not have any customizations causing this:

    pastedimage1677696384571v1.png

  • Suggested answer
    Amit_Sharma Profile Picture
    Amit_Sharma 2,545 on at
    RE: Error for Location in PO Line

    Hello,

    Pls delete and insert new line and then check. I think it is refreshing issue. Another cause of this error is when you setup put and pick feature

    Regards

    Amit Sharma

    www.erpconsultors.com

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Error for Location in PO Line

    Hi,

    Can you check this?

    pastedimage1677683794826v1.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error for Location in PO Line

    Hi Inge M. Bruvik,

    Yes, earlier it was able to select the Location code in PO Line even if the Location code is not selected in the PO Header. See the screen shot for the couple of time back in the same instance. But now getting error when selecting Location code in PO Line if the Location Code is not selected in the PO Header. Recently my instance is updated and current version is Version: IN Business Central 21.4 (Platform 21.0.52534.53527 + Application 21.4.52563.52602), is it an updated functionality in 21.4?

    LOC-.jpg

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,125 Super User 2024 Season 2 on at
    RE: Error for Location in PO Line

    Can you paste the call stack from latest error page?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error for Location in PO Line

    Hi ZHU,

    Yes, this is the set up I did and it was working already. The Location Mandatory and BIN Mandatory. But now when I am select the location in PO Line, system throwing an error as "Location code must be equal to " in Purchase Line" 

    Regards,

    Ranjith 

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,296 Super User 2024 Season 2 on at
    RE: Error for Location in PO Line

    Hi, is it related to the settings below?

    https://yzhums.com/33037/

    Hope this helps as well.

    Thanks

    ZHU

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,272 Super User 2024 Season 1 on at
    RE: Error for Location in PO Line

    hi

    look this

    community.dynamics.com/.../location-and-store-code-required

    DAniele

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Error for Location in PO Line

    What you are describing is not standard behavior of the system. So it looks like you have some customization done to your solution.

    Those customizations are likely to cause your issues. You should talk to your partner / developer and describe the issue for them.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,188 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans