Other software installs are not getting re-deduplicated when the primary install gets deletedDescriptionThe business rule “Bookeeping for dedup on delete” resets the "deduplicated" flag on a device's install when an install gets deleted. The flag only gets reset for installs with the same product, version, and edition as the deleted install. However, checking for the same version and edition is a bug because duplicate installs might not have the same version and edition.The scheduled job “SAM - Deduplicate Install Table” may still consider two installs as duplicate if one install has a version/edition and the other install does not and is "any" verison/edition. Let's consider the case where the former install is a primary install and the latter install is marked inactive as a duplicate. When the primary install gets deleted, the business rule will not reset the "deduplicated" column on the duplicate install because it does not have the same version/edition. This install will remain inactive and never go through deduplication again.The business rule “Bookeeping for dedup on delete” should therefore reset the "deduplicated" flag of ALL installs of the same product.Steps to Reproduce Open the software install table, cmdb_sam_sw_install Query for installs that are: active=falseprimary_install is empty Notice that the 'deduplicated' flag is true for these installs when they should be false. Only records that are deduplicated=false will be processed again by the scheduled job “SAM - Deduplicate Install Table”. The discovery model's normalized version and/or edition on these installs will also be empty.WorkaroundThe business rule “Bookeeping for dedup on delete” has been fixed for all Yokohoma customers. However, you can upload the updated business rule attached to PRB1822003 along with a fix script that will reset the "deduplicated" flag on corrupted installs.1) Run fix script sys_script_fix_119e556d430f52100e73b3d52bb8f2af.xml2) Upload the new business rule updated_sys_script_1931c36893202300c48514f1b47ffb2b.xml3) Run the scheduled job “SAM - Deduplicate Install Table”Related Problem: PRB1822003