Announcements
No record found.
I am trying to perform inventory batch reservation through X++ code by running it from a batch job in Dynamics 365 Finance & Operations.
The requirement is to reserve inventory (including batch-controlled items) automatically when the batch job runs, similar to what happens during manual reservation from the sales order.
I have tried using standard reservation classes (for example InventUpd_Reservation, InventMovement) but the reservation is not happening when executed in batch, although it works interactively.
InventUpd_Reservation
InventMovement
Questions:
Is the item WMS-enabled (advanced warehousing) and are you reserving in a WMS-enabled warehouse?
Do you need to reserve a specific batch (provided by your logic), or “any batch that fits” like the UI does?
Are you reserving physical on-hand only, or can it reserve ordered supply too?
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 545 Super User 2026 Season 1
Giorgio Bonacorsi 408
Adis 267 Super User 2026 Season 1