Announcements
No record found.
Hi,
Is there build in functionality in Dynamics 365 to stop a user from fulfilling an order with no line items?
*This post is locked for comments
Hi monty311,
This functionality is not in Dynamics 365 by default, but you can customise sales order fulfilment so that a user cannot fulfil a sales order with no line items.
Hi, so what's the best way to go about doing that?
Hi Monty270311,
I recommend creating a plugin that runs when the sales order is fulfilled. The plugin will need to count the number of sales order lines linked to the parent sales order and throw an InvalidPluginExecutionException if there are no sales order lines. Register the plugin on the create step for the OrderClose entity in the Pre-operation stage.
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!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.