Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
If i want to restore a deleted SO, which is already invoiced.
**I've found a link with X++ code which is for Ax 2009 - using this i can restore the deleted SO(Open order with/without Lines) in Ax 2012 also. But if the Order status is Invoiced then i'm not getting all the information( like payment,Voucher etc ) after restore.
So please let me know how can we approach( like which class/methods we can use) this.
What would be the purpose to have a fully invoiced order back? If it is for copy functionality, I can imagine. All posted details are in transaction tables. The sales order is considered as a 'worksheet table'. This means that after fully processing the order, the data is redundant and could be cleaned up.
Can you elaborate on the payment and voucher details? Where exactly are you searching for this information?
from my point of view it is not possible to fully restore a deleted sales order using this job. Take a look at the Delete Actions node of SalesTable and SalesLine, there are a lot of tables which get deleted, when you delete a sales order.
Also, the tables SalesTableDelete and SalesLineDelete only contains a selection of fields, which are "saved" when you delete a sales order (if SalesParameters.CancelSales is enabled).
Business Applications communities