I have a scenario to cancel the salesLine through the x++
if possible share the code or suggest any other way through which the salesline cancellation can be done
*This post is locked for comments
I have a scenario to cancel the salesLine through the x++
if possible share the code or suggest any other way through which the salesline cancellation can be done
*This post is locked for comments
Can you mark the answer as suggested answer.
Thanks
Thanks keyur
it's working
The class is SalesUpdateRemain, there are few methods use the method that is suitable for your case.
You should look at the standard code which gets executed when you do cancel quantity from sales line. It’s pretty straight forward and best way to do this.
you can check this links
community.dynamics.com/.../cancel-a-specific-sales-line-using-code-x
http://www.k3technical.com/cancelling-a-sales-order-programmatically-in-dynamics-ax-2009/
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156