Notifications
Announcements
No record found.
Maybe this will give you a hint to resolve your issue
By default, Sales Orders created via Dataverse integration are automatically Released, as part of Microsoft’s standard CRM-to-BC sync behavior.
Subscribing to Codeunit::"Release Sales Document" events like 'OnCodeOnBeforeSetStatusReleased' won’t stop the release — because the integration likely calls the release logic after the record is created, not through standard UI triggers.
Codeunit::"Release Sales Document"
'OnCodeOnBeforeSetStatusReleased'
Instead of blocking the release, try one of the following:
Subscribe to the integration event that runs after the order is created, and immediately call SetStatusOpen on the order record.
SetStatusOpen
Or use a custom batch job or event subscriber that detects newly created released orders (e.g., via User ID or Integration ID) and switches them back to Open.
User ID
Integration ID
There’s no config setting to prevent this — you’ll need a small customization to override the default behavior.
If this helped you, please check the box "Does this answer your question?"
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,132
Khushbu Rajvi. 675 Super User 2025 Season 2
YUN ZHU 665 Super User 2025 Season 2