Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Suggested answer

Item reservation based on its batch attribute

(0) ShareShare
ReportReport
Posted on by 10
Hi all
 
Working on a customization in D365F&O
I have a master table containing Region, ItemId, Batch attribute, attribute value field.
When adding a sales line , I need to skip reserving from certain batches of the item based on the attribute and attribute value as per the master table.
Functionally this can be done via batch reservation form in the inventory  drop down in the sales line action pane
I need to achieve this via coding, can some please guide me on how this can be done
 
Thanks for the help in advance
 
  • Suggested answer
    Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    Item reservation based on its batch attribute
    Hi,

    To achieve item reservation based on its batch attribute in Dynamics 365 F&O, you can follow these steps:

    1. Retrieve the master table records containing Region, ItemId, Batch attribute, and attribute value fields.

    2. When adding a sales line, you need to implement custom logic to skip reserving from certain batches of the item based on the attribute and attribute value from the master table.

    3. You can create a customization or extension to modify the "Reserve" functionality for the sales line. In the code, you will need to query the master table to find the appropriate attribute value for the selected item.

    4. Based on the attribute value, you can then exclude specific batches from the reservation process by modifying the reservation logic.

    Best regards,
    Kevin

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans