Accounts Receivable
To delete the update history for sales transactions, follow these steps:
- In the Accounts receivable pane, expand Periodic, expand Clean up, and then click Sales update history clean up.
- In the Clean up list, select one of the following options:
- To delete update history that has a status of Executed, select Executed
- To delete update history that has a status of Executed and erroneous, select Executed and erroneous.
- Click the Created until drop-down calendar.
- Select the date up to which you want to delete the update history.
- Click OK to run the delete process. Or, click the Batch tab, and then define the parameters that will be used to delete old update history records.
Accounts Payable
To delete the update history for purchase transactions, follow these steps:
- In the Accounts payable pane, expand Periodic, expand Clean up, and then click Purchase update history clean up.
- In the Clean up list, select one of the following options:
- To delete update history that has a status of Executed, select Executed.
- To delete update history that has a status of Executed and erroneous, select Executed and erroneous.
- Click the Created until drop-down calendar.
- Select the date up to which you want to delete the update history.
- Click OK to run the delete process. Or, click the Batch tab, and then define the parameters that will be used to delete old update history records.
If you delete the update history, fewer system resources are consumed when you upgrade Microsoft Dynamics AX to a later version.
Inventory Management
The "Inventory journals clean up" functionality
When you use the
Inventory journals clean up functionality, all the posted inventory journals that you select are deleted by Microsoft Dynamics AX. The posted inventory journals are deleted regardless of the posting date. All the relevant records in the InventJournalTable table are deleted. All the relevant transactions in the InventJournalTrans table are also deleted.
The following example shows you how the
Inventory journals clean up functionality works:
- Create several counting journals, and then post the counting journals on different dates.
- Create several movement journals, and then post the movement journals on different dates.
- Create several transfer journals, and then post the transfer journals on different dates.
- View the InventJournalTable table. A sample InventJournalTable table is shown in the "More Information" section later in this article.
- View the InventJournalTrans table. A sample InventJournalTrans table is shown in the "More Information" section later in this article.
- Set the system date to January 1, 2006.
- Click Inventory management, expand Periodic, expand Clean up, and then click Inventory journals clean up.
- In the Delete journals dialog box, click to select the Counting check box, and then click OK.
- View the InventJournalTable table. A sample of the cleaned up InventJournalTable table is shown in the "More Information" section later in this article.
- View the InventJournalTrans table. A sample of the cleaned up InventJournalTrans table is shown in the "More Information" section later in this article.
In this example, all the posted counting journal records in the InventJournalTable table are deleted by Microsoft Dynamics AX. All the posted counting journal transactions in the InventJournalTrans table are also deleted. These deleted records include the records that are posted on March 29, 2006 even though March 29, 2006 is after the system date. Therefore, if you change the system date to a date that is before the posting date of the counting journals, the counting journals are still deleted.
The "Inventory settlements clean up" functionality
The
Inventory settlements clean up functionality is used to group the canceled settlement transactions and to delete the canceled settlement transactions. To use this functionality, follow these steps:
- In the Main menu window, click Inventory management, expand Periodic, expand Clean up, and then click Inventory settlements clean up.
- In the Inventory settlements clean up dialog box, select a date that is based on how old the inventory settlements must be.
This process deletes the inventory settlements based on the selection criteria. The process groups the transactions that have the same inventory transaction ID and the same voucher number. The process also inserts the grouped transactions into the InventSettlement table until the selected date. - In the Delete canceled settlements posted before field, select the date on which a canceled inventory settlement may be deleted.
This process deletes all the canceled inventory settlements before the selected date in the InventSettlement table.
Production
The "Production orders clean up" functionality
When you delete production orders that have the
Ended status, the accounting that is related to these orders is reflected through the date that you select in the calendar on the
General tab. To delete the production orders, follow these steps:
- In the Main menu window, click Production, expand Periodic, expand Clean up, and then click Production orders clean up.
- On the General tab, click the calendar button.
- Click the last date that you want production orders to be included for deletion.
- Click OK to run the delete process. Or, click the Batch tab, and then define the parameters to regularly clean up the production orders automatically.
The "Production journals clean up" functionality
After you delete old journals or unused journals, there is less demand on system resources. To delete the production journals, follow these steps:
- In the Main menu window, click Production, expand Periodic, expand Clean up, and then click Production journals clean up.
- In the Production journals clean up dialog box, click the Clean up list.
- Select whether you want to delete all the posted journals or only the journals that are posted on finished production orders.
- Click OK to run the delete process. Or, select the Batch tab, and then define the parameters to regularly control the deletion of old production orders.
The "clean up" functionality can be run as part of the regular maintenance process. The old data that may slow down system performance can be deleted. However, there may be risks if you delete the data permanently. Therefore, before you run these functions, we recommend that you make a backup of the journals and of the settlement data.