Skip to main content

Notifications

Announcements

No record found.

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

Batch Reservation Based on Transfer Order Dimensions in D365 FO

(0) ShareShare
ReportReport
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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans