Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Sales picking from less qty location

(0) ShareShare
ReportReport
Posted on by 9

Hello all,

we are looking the functionality where location directive and pick work generate from less qty location.

example:

Location A having Qty: 100

Location B having Qty: 50

sales pick work should generate for Location B.

please provide feasible solution.

Thank you.

  • Test529 Profile Picture
    9 on at
    RE: Sales picking from less qty location

    Colby and Danny,

    I have tested with sorting (Available physical) and did not work for us, as the items are non batch enabled items.

    kindly share where we can extend the base code to achieve our business requirment.

    Thank you.

  • Suggested answer
    ColbyGallagher Profile Picture
    3,666 on at
    RE: Sales picking from less qty location

    Danny365 and Test529 sorting on Physical Inventory quantities is only available when the location directive action query is batch enabled.  If you want to do something similar for non-batch enabled items, you need to extend the base query, if I recall correctly its WHSLocDirActionPick or something similar.  I've done this at 2012 R3 for a similar request, it works, but I haven't done it in D365.  

  • Test529 Profile Picture
    9 on at
    RE: Sales picking from less qty location

    Hi,

    Here is the screen shot.

    pastedimage1650969390584v1.png

    Yes, i am not able to hold this on hand inventory on sorting tab. once i add above screen shot requirement, sorting tab changing to below screenshot.

    pastedimage1650969623271v2.png

    Thank you for your inputs. 

  • Danny Bilodeau Profile Picture
    4,335 Moderator on at
    RE: Sales picking from less qty location

    Hello Test529,

    In your query for location directive action you blurred the value for Location.  Is there an actual location identified there?  If there is, that is the location that will be used and sorting will not have any effect.  

    I do not understand what you mean by 'not able to put sorting criteria'.  When you select the Sorting Tab, were you able to add a new line with the On-Hand Inventory table using the Available Physical field to sort the locations in ascending order?  

  • Test529 Profile Picture
    9 on at
    RE: Sales picking from less qty location

    Hi Danny Bilodeau,

    Thank you for your inputs.

    But i am not able put sorting criteria in sorting. as its removing the on hand inventory criteria in sorting tab.

    here is location directive action range screen shot and also added in joins.

    Capture1.PNG

    pastedimage1650881531003v2.png

  • Suggested answer
    Danny Bilodeau Profile Picture
    4,335 Moderator on at
    RE: Sales picking from less qty location

    Hi Test529,

    I assume that this behavior is wanted irrespective of the unit of measure or of the quantity on the order.

    In the targetted location directive, in the query for the Location Directive Actions try this on the Sorting tab; I haven't tested but it should work:

    pastedimage1650661859619v2.png

    You are basically telling the system 'when you examine the location to find teh first valid location, look at them based on the on-hand quantity starting with smalled quantity'

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,758 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans