To achieve item reservation based on its batch attribute in Dynamics 365 F&O, you can follow these steps:
Retrieve the master table records containing Region, ItemId, Batch attribute, and attribute value fields.
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.
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.
Based on the attribute value, you can then exclude specific batches from the reservation process by modifying the reservation logic.
André Arnaud de Cal... 291,711 Super User 2024 Season 2
Martin Dráb 230,458 Most Valuable Professional
nmaenpaa 101,156