It's looking up inventory number records and match...
# suitescript
c
It's looking up inventory number records and matching them up with inventorynumberbinonhand inventory numbers and then grabbing the quantity for that record (Obv if it's serialised it's 1 for each serial)