yes, there's spacing, and I suppose there could po...
# suitescript
j
yes, there's spacing, and I suppose there could potentially be NULL values
j
The else block you could try and wrap each field with NVL.. allows you to substitute a value when NULL is found example NVL({custrecord_qtylocationtrack},0)-NVL({custrecord_delivered_tally_qty},0)
e
as well as TO_NUMBER() since you're doing math...
j
still cant get it to work, not sure why
s
when expressions get complicated in search, I often tend to think of that as a sign to perhaps do some of the work in SuiteScript
j
yea we are already down that road. this saved search is the basis of a suitelet that's going to be created to combine multiple searches. just trying to save some time in in the development phase.
s
imho, saving time in the development phase working with searches = NFT 🙂