Hi - if you are looking at dependencies within a single database, the system stored procedure sp_depends could be helpful.
If you have any dynamic sql running, you should be extra cautious.
Redgate provide a graphical dependency tracker, with a free trial. I highly rate red Gate’s products, but haven’t used this personally
https://www.red-gate.com/products/sql-development/sql-dependency-tracker/
Please let me know if this helps. Dependency issues can be a pain in legacy systems, and should definitely be a consideration when designing new solutions.