ACC / SAM - Staging table records for software usage are being marked as emptyDescriptionEmpty Records being created in the staging table for software usageThis is caused due the software for which that record was created was not discovered for subsequent discovery. The record becomes stale and there's no immediate cleanup for such recordsSteps to Reproduce Configure SAM advance metering for an endpointFetch SAM metering for a software and let it create a record in software usageUninstall the software from the device. Retrigger discovery againNotice that there's a stale record created in software usage tableWorkaroundAttached changes needed for Staging table cleanup. This contains: Cascade delete for staging tableSchedule job to cleanup stale records in staging table. Note that this would be needed for ACC-V 3.3.0 or before releases.Related Problem: PRB1684472