Skip to main content

Notifications

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

How to Release a Sales Order Programmatically?

(0) ShareShare
ReportReport
Posted on by 52
Hi everyone! 
 
I am attempting to release a sales order programmatically. 
 
Typically using the D365 portal, this would be done by finding a sales agreement, and clicking Release order, or else directly from a sales order by assigning the SalesAgreementID upon creation. 
 
My environment on Visual Studio is setup in a similar manner as the Github sample ODataConsoleApplication: https://github.com/microsoft/Dynamics-AX-Integration/tree/master/ServiceSamples. I generated the latest entities made available using the Connected Services extension and have data entities such as SalesAgreements now available. 

 

What would be the best way to release a sales order, if it is created in a similar way a sales order is created within the sample ODataConsoleApplication in ODataChangesetsExample.cs ? Does the sales order have to be created differently? Does a custom data entity need to be created? 

Thanks in advance! 

  • Martin Dráb Profile Picture
    Martin Dráb 230,962 Most Valuable Professional on at
    How to Release a Sales Order Programmatically?
    This is a duplicate - the same topic is already discussed in Creating a Release Order from agreement via OData.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans