End of mainstream support for Microsoft Dynamics AX 2009, 2012, and 2012Mainstream support for Dynamics AX 2009 Service Pack 1 (SP1), Dynamics AX 2012, and Dynamics AX 2012 R2 ended Oct. 9, 2018. After that date, only security hotfixes will be provided for these three versions through the extended support period that until Oct. 12, 2021. Read more
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
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 and Operations TechTalks | Customer Engagement TechTalks | Talent 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