We built a custom form using a suitelet and we're having trouble with the sublist we created. We use a client side script to update the total amount paid on the sublist line, but the new value of the sublist field does not display on the sublist. When we debugged the code, we found that the sublist value did change, it's just not reflected on the sublist.
Code to create the sublist:
form.addSubList('display','list','Partners', null);
display.addField('pay_distributor','checkbox','Pay');
display.addField('paid_amt','currency', 'Amount to be Paid');
Client side code that changes the sublist value
if(nlapiGetLineItemValue('display','pay_distributor',i) == 'F')
{
nlapiSetLineItemValue('display','paid_amt',i,0.0);
}