@ALL, I am trying to access bill credits from vend...
# suitescript
v
@ALL, I am trying to access bill credits from vendor payment record in suitelet. It is in apply subtab of vendor payment. My code is as below : var paymentRec= nlapiLoadRecord('vendorpayment',recordID); var creditLines = paymentRec.getLineItemCount('credit'); nlapiLogExecution('DEBUG', 'creditLines :', creditLines);