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

Community site session details

Session Id :
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?

(0) ShareShare
ReportReport
Posted on by 156

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.

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    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.

  • Verified answer
    Ben Baxter Profile Picture
    6,396 Super User 2025 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.

  • Verified answer
    Amit Baru Profile Picture
    3,037 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.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,285

#2
Sumit Singh Profile Picture

Sumit Singh 2,725

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,526

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans