Preferably as a search result. Not a 'load record...
# suitescript
d
Preferably as a search result. Not a 'load record', loop/sum the applied amounts and subtract from the total of the deposit