`nlapiGetLineItemValue('apply', 'payment', i)` is ...
# suitescript
g
nlapiGetLineItemValue('apply', 'payment', i)
is returning null