Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

How do I set a default Location Code within a Sales Order's item line for each Item when an Item is selected?

Posted on by 101

Goal: My contact wants to have a specific location to show up automatically on a Sales Order Item Line depending on the item selected.

For example, if I select ITEM1 as the item code, then LOCATION1 would show up with their defaulted ticked bin as described on the Bin Content page.
When the contact selects ITEM2 as the item code, then LOCATION2 would show up with their defaulted ticked bin as described on the Bin Content page.

pastedimage1661842211649v1.png

Current Version: 20.2.41144.42006

Any help is much appreciated.

  • Verified answer
    Amit Baru Profile Picture
    Amit Baru 3,025 on at
    RE: How do I set a default Location Code within a Sales Order's item line for each Item when an Item is selected?

    Hi,

    In Standard System. Location is set on Customer card. As per your requirement, this is not available in system, 

    Regards

    Amit Sharma

    www.erpconsultors.com

    https://linkedin.com/in/amit-sharma-94542440

    Press Yes if info is useful.

  • Verified answer
    Ben Baxter Profile Picture
    Ben Baxter 4,738 Super User 2024 Season 2 on at
    RE: How do I set a default Location Code within a Sales Order's item line for each Item when an Item is selected?

    This is not available in the base software.  The Location is determined by the Customer (populates Sales Header) or the Location Code established on the Sales Header.  The lines will inherit the Location Code from the Sales Header as they are entered.

    You would need to write an extension (modification) to define a default Location (new field, looks up to Location Table) on the Item table (visible on Card), then have the system pull in this value when the Item No. is entered (validated) on the Sales Line.

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: How do I set a default Location Code within a Sales Order's item line for each Item when an Item is selected?

    Hello,

    If you do not get further traction from the community, feel free to raise this issue to Microsoft via your partner or CSP or ask your partner for assistance.

    Thanks.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans