Skip to main content

Places to clear log data from Microsoft Dynamics Axapta 2012

1. Click Area Page node: System administration -> Inquiries -> Batch jobs -> Batch job history.


Form name: Batch job history


Batch job history

2. Click the Log button.


3. Make sure the selections are changed in table Batch jobs history to:

4. Delete the record(s) in the Batch job history form.


4. Change Batch job ID from '52665554646' to '0'.


6. Click the Close toolbar button.


7. Close the Batch job history form.


8. Click Area Page node: System administration -> Inquiries -> Database -> Database log.


Form name: Database log


Database log

9. Click the Clean up log button.


Form name: Microsoft Dynamics AX


Database log

10. Click the OK button.


11. Close the Database log form.


12. Click Area Page node: System administration -> Inquiries -> Database -> SQL statement trace log.


Form name: SQL statement trace log


 SQL statement trace log

13. Click the Functions -> Clear log menu button.


14. Click Yes in the Microsoft Dynamics form.
This will remove the complete trace log. You might want to export the content before proceeding. Clear the complete trace log now?


15. Click the Close toolbar button.


16. Close the SQL statement trace log form.


17. Click Area Page node: System administration -> Inquiries -> Microsoft Project Server integration -> Integration log.


Form name: Integration log


Integration log

18. Click the Refresh button.


18. Change Show entity type from 'Project' to 'All'.


20. Click the Refresh button.


21. Close the Integration log form.


22. Click Area Page node: System administration -> Inquiries -> Users -> User log.


Form name: User log


User log

23. Make sure the selections are changed in table User log to:

24. Delete the record(s) in the User log form.


25. Make sure the selection is changed in table User log to:

26. Click the Close toolbar button.


27. Close the User log form.


28. Click Area Page node: System administration -> Periodic -> Services and Application Integration Framework -> Exceptions.


Form name: Exceptions


 Exceptions

29. Close the Exceptions form.


30. Click Area Page node: System administration -> Periodic -> Notification clean up.


Form name: Microsoft Dynamics AX


Notification cleanup

31. Click the OK button.

Popular posts from this blog

Code to get customer Primary Address in Ax 2012

Below Code to get customer Primary Address in Ax 2012. CustTable custTable_P; DirPartyTable dirPartyTable_P; DirPartyLocation dirPartyLocation_P; DirPartyLocationRole dirPartyLocationRole_P; LogisticsLocation logisticsLocation_P; LogisticsLocationRole logisticsLocationRole_P; LogisticsPostalAddress logisticsPostalAddress_P; LogisticsPostalAddress primaryAddress_P; while select custTable_P where custTable_P.AccountNum =='ED_01029' join dirPartyTable_P where dirPartyTable_P.RecId == custTable_P.Party join dirPartyLocation_P where dirPartyLocation_P.Party == custTable_P.Party && dirPartyLocation_P.IsPrimary==NoYes::Yes join dirPartyLocationRole_P where dirPartyLocationRole_P.PartyLocation == dirPartyLocation_P.RecId join logisticsLocationRole_P where logisticsLocationRole_P.RecId == dirPartyLocationRole...

Table lists which can have large number of records in Ax 2012

If you are facing database or application performance issue then you can check these tables that may have large number of records. ECORESPRODUCTVARIANTDIMENSIONVALUE INVENTBATCH ECORESPRODUCTMASTERDIMENSIONVALUE ECORESPRODUCTMASTERDIMENSIONVALUE ECORESPRODUCT ECORESPRODUCTTRANSLATION ECORESPRODUCT ECORESPRODUCTVARIANTDIMENSIONVALUE INVENTDIMCOMBINATION ECORESRELEASESESSIONPRODUCT ECORESRELEASEPRODUCTLEGALENTITY INVENTSUMLOGTTS INVENTCOSTLISTPARM GENERALJOURNALACCOUNTENTRY GENERALJOURNALACCOUNTENTRYZAKAT_SA SMMTRANSLOG LEDGERENTRYJOURNALIZING DIMENSIONFOCUSBALANCE MARKUPTRANS INVENTTRANSPOSTING INVENTREPORTDIMHISTORY SALESPARMLINE SOURCEDOCUMENTLINE INVENTTRANS TRANSACTIONLOG INVENTTRANSORIGIN INVENTSETTLEMENT SALESPARMSUBTABLE SALESPARMTABLE SOURCEDOCUMENTHEADER SALESPARMUPDATE SQLSYNCINFO GENERALJOURNALENTRY SUBLEDGERVOUCHERGENERALJOURNALENTRY CUSTSETTLEMENT SMMACTIVITYPARENTLINKTABLE INVENTSUMDATETRANS LEDGERTRANSSTATEMENTTMP DIMENSIONFOCUSLE...

Code to get Invoice settlement data for customer in ax 2012

This is simple Code to get Invoice settlement amount data for customer payment in ax 2012. This data is after posting of data. select sum(SettleAmountCur) from custSettlement where custSettlement.TransRecId == custtrans.RecId If you want get settlement amount before posting than you can refer spectrans table.The table SpecTrans contains all the transactions marked for settlement for payment journal. while select spectrans join custtransopen join custtrans where spectrans.SpecCompany == ledgerjournaltrans.DataAreaId && spectrans.SpecTableId == ledgerjournaltrans.TableId && spectrans.SpecRecId == ledgerjournaltrans.RecId && spectrans.RefCompany == custtranssopen.DataAreaId && spectrans.RefTableId == custtranssopen.TableId && spectrans.RefRecId == custtranssopen.RecId && custtransopen.RefRecId == custtrans.RecId && custtransopen.AccountNum == custtrans.AccountNum { info...