Shout, still not working, it doesn't show errors but the sublist does not get refresh
I know I'm asking a lot, but do you see an error in the code below ? alert _aa is workingi fine
var record = context.currentRecord;
var _aa = record.getSublistValue({sublistId: 'custpage_sublist',fieldId: 'custpage_customer',line: 1}) ;
alert (_aa );
record.selectLine({sublistId: 'custpage_sublist',line: 1});
record.setCurrentSublistValue({sublistId: 'custpage_sublist',fieldId: 'custpage_city',value: 'Good afternoon',ignoreFieldChange: false});
record.commitLine({sublistId: 'custpage_sublist'});