jkabot
10/17/2018, 2:24 PMfireSlavingSync
when you set the item field. it will cause the function to block until dependent fields (like item options) are sourced
rec.setSublistValue({
sublistId: 'item',
fieldId: 'item',
value: 'whatever',
fireSlavingSync: true
});