<@U68JCMTFF> I had tried that as well, but keep ge...
# suitescript
c
@andrewh I had tried that as well, but keep getting -1 back. It's really weird because this RESTlet worked previously. I was able to do something like this and it' just worked.
Copy code
var linenum = payment.findSublistLineWithValue({
                 sublistId: 'apply',
                 fieldId: 'internalid',
                 value: context.billid
             });