Skip to main content
Business Central forum
Answered

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

editSubscribe (0) ShareShare
ReportReport
Posted on by 90

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 3,949 Super User 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.

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans