Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Batch Reservation Based on Transfer Order Dimensions in D365 FO

Posted on by 9
We have a specific requirement where batch reservation needs to be conducted based on the dimensions specified in transfer orders, relating them to the main BOM line.
Here's the scenario:
- The `ProdTable` is linked to the transfer order through the `ProductionID` field (foreign key in the `TransferOrder` table).
- We aim to reserve the received quantity with the dimensions specified in the transfer order and relate it to the main BOM line.
I explored two potential solutions:
 
1. **Using the `WHSInventOnHandReserv` Class:**
   I attempted to utilize the `reserveHandlingQuantity` method within the `WHSInventOnHandReserv` class. However, this method requires a `FormRun` as a parameter and didn't yield the desired reservation.
 
2. **Using the `InventMovement` Class:**
   Another approach was to create reservation transactions using the `updateReservation()` method in the `InventMovement` class. By modifying the dimension of the BOM line with the dimension of the transfer order, I achieved the desired outcome.
 
However, an issue arises when partially reserving the quantity, as the on-order transaction is created with the dimensions of the transfer order instead of retaining the initial dimensions specified in the BOM.
I seek guidance on how to address this issue effectively. Are there alternative methods or approaches within D365 FO to achieve batch reservation based on transfer order dimensions while maintaining the original BOM dimensions during partial reservations?
Any insights or suggestions would be greatly appreciated. Thank you.
 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans