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 :
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
 
I have the same question (0)
  • Suggested answer
    Kevin Xia Profile Picture
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 153 Super User 2025 Season 2

#2
Yng Lih Profile Picture

Yng Lih 148

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 104 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans