TMDM-7192: "Refactor delete process to include update report creation"

Code clean up in browse records.
(cherry picked from commit 1f90365)
TMDM-7192: "Refactor delete process to include update report creation"

Fix compilation error in previous commit.
TMDM-7192: "Refactor delete process to include update report creation"

Continue browse record code clean up.