Clean Up Routines

In Dynamics 365 Finance and Dynamics 365 Supply Chain Management, cleanup routines are available in various modules. This article provides an overview of the routines that are currently available.

It is important to note that these cleanup routines should be only executed after detailed analysis and confirmation from the business this data is no longer needed. Also always test each routine first in test environment prior executing it in production.

ModulePath
Cost ManagementInventory value report storageInventory Value Report data Clean up
Cost ManagementDimension inconsistency cleanupResolve dimension inconsistencies on inventory transactions that have been financially updated and closed
Cost ManagementClean up the costing sheet cacheclear Costing sheetscache
Cost ManagementCost calculation detailsUsed to clean up cost calculation details.
Data managementJob History Clean upOnce data migration is completed then this data can be deleted
General LedgerClean up ledger journalsDeletes general ledger, accounts receivable, and accounts payable journals that have been posted
Inventory ManagementInventory journals cleanupTo delete posted inventory journals
Inventory ManagementInventory settlements cleanupgroup closed inventory transactions or delete canceled inventory settlements
Inventory ManagementCalculation of location loadReduce the number of records in the WMSLocationLoadtable and improve performance.
Inventory ManagementInventory dimensions cleanupDelete unused inventory dimension records InventDimthat are not referenced by any transaction or master data
Inventory ManagementOn-hand entries cleanupDelete closed and unused entries for on-hand inventory that is assigned to one or more tracking dimensions
Inventory ManagementWarehouse management On-hand Entries CleanupDeletes records in the InventSumand WHSInventReservetables.
Inventory ManagementTransfer order update history cleanupDeletes records from the InventTransferParmTable, InventTransferParmUpdateand InventTransferParmLinetables.
Inventory ManagementInventory transaction consolidationConsolidates data about inventory transactions to help improve system performance
Inventory ManagementInventory on-hand report data clean upDeletes Inventory on-hand report storagedata for reports that were executed before a specific date.
Inventory ManagementInventory journal data correctionDeletes all on-order or ordered inventory transactions that link to posted or nonexistent inventory journals
Inventory ManagementCorrect item that is not visible in released products form manuallySolves display problems such as released products not displaying and e-commerce catalogs
Inventory ManagementCorrect inventory transfer order lines manuallyFixes inconsistent data and corrects unexpected quantities that are related to transfer orders
Inventory ManagementOn-hand entries aggregation by financial dimensionsTool to aggregate InventSumrows with zero quantities
Master PlanningPlan version cleanupDelete orphan data from Master Planning
Organization AdministrationCalendar cleanupDelete Calendar data
Organization AdministrationDelete Inactivated AddressesDelete Address data
Organization AdministrationMigration cleanupclean up files which came as a result of Electronic reporting
Procurement and SourcingPurchase update history cleanupDelete all updates of confirmations, picking lists, product receipts, and invoices generate update history transactions
Procurement and SourcingDelete requests for quotationsDelete requests for quotation (RFQs) and RFQ replies.
Procurement and SourcingDraft consignment replenishment order journal cleanupCleanup draft consignment replenishment order journals.
Production ControlProduction journals cleanupDelete unused journals.
Production ControlProduction orders cleanupDelete production orders that are ended.
Production ControlClean up registrationsDelete time registration
Production ControlArchive future registrationsRemove future registrations from the raw registrations table.
Production ControlProduction recalculationProduction orders where the estimated costs for material and time consumption should be recalculated
Project Management and AccountingDelete project journalsDeletes project hour fee, and beginning balance journals that have been posted
Sales and MarketingDelete sales ordersDelete selected sales orders
Sales and MarketingDelete quotationsDelete selected quotations
Sales and MarketingDelete return ordersDelete selected return orders
Sales and MarketingSales update history cleanupDelete old update history transactions
Sales and MarketingOrder events cleanupCleanup job for order events
System AdministrationDatabase log cleanupDelete Database log
System AdministrationNotification clean updelete records from tables EventInboxand EventInboxData
System AdministrationBatch job clean-upCleanup batch job
System AdministrationBatch job history clean-upclean all history entries older than a specified timeframe (in days) – BatchHistoryBatchConstraintsHistory
System AdministrationWorkload history data cleanupCleanup Cloud&Edge history data
System AdministrationBatch job history clean-up customUsed only when specific entries need to be deleted – BatchHistoryBatchConstraintsHistory
Warehouse managementWork creation history cleanupTo delete work creation history records from WHSWorkCreateHistorybased on number of days to keep the history
Warehouse managementContainerization history cleanupTo delete containerization history from WHSContainerizationHistorybased on number of days to keep the history
Warehouse managementWave processing history log cleanupTo delete the wave processing history log records from the WHSWaveExecutionHistorytable
Warehouse managementWave labels cleanupTo clean up the wave label records from the WHSWaveLabeltable
Warehouse managementWave batch cleanupTo clean up batch job history records related to Wave processing batch group
Warehouse managementCycle count plan cleanupTo clean up batch job history records related to Cycle count plan configurations
Warehouse managementMobile device activity log cleanupTo delete mobile device activity log records from WHSMobileDeviceActivityLogtable based on number of days to keep
Warehouse managementWork user session log cleanupTo delete work user session records from WHSWorkUserSessionLogtable based on number of hours to keep
Warehouse managementWork line history log cleanupTo delete the temporary work history records from the WHSTmpWorkLineHistorytable
Warehouse managementClean up License plate registration historyTo delete the license plate receiving history records from the WHSLicensePlateReceivingHistory
Warehouse managementClean up work exceptions logTo delete work exceptions log records from the WHSWorkExceptionLogtable

Leave a Comment