On a Vendor Payment created from a Bill how can I identify the Bill from which the payment was created?
I would like to do that in the before load of the Vendor Payment before the payment is saved.
When I try
nlapiGetLineItemValue('apply', 'apply', line)
it shows as 'F' although it displays as checked on the screen.