Future consideration: A further refactoring could explore preventing the initial call to these detail functions entirely if no customer/supplier ID is present on form load.
Perf: Optimize ID validation in detail fetching