Avoid hardcoding IDs
Impact area
Manageability
Severity
Medium
Affected element
Apex Class
Rule ID
SF-0035
Impact
Harcoding sysids will cause the code to fail when deploying code across environments.
Remediation
Use system properties or other environment-specific mechanism to avoid hard coding Ids.
Time to fix
60 min