reptar
03/04/2020, 6:26 PMt_gdb
03/04/2020, 6:31 PMsearch.lookupFields({type: 'salesorder', id: 1048438 , columns: ['discountitem']});
but it didn't work. So I did
var so = record.load({type: 'salesorder', id: 1048438} );
log.debug('soinfo', so.getValue('discountitem'));
and it's working.reptar
03/04/2020, 6:39 PMstalbert
03/04/2020, 8:49 PMconst so = new SalesOrder(ctx.newRecord)
so.discountiem ...
to prevent from reloading the record.t_gdb
03/05/2020, 1:30 PM