I am trying to get the field value from a sublist in CliendScript. The field is added as below
sublist.addField({
id: 'custpage_available',
label: 'Available Qty',
type: ui.FieldType.INTEGER
}).updateDisplayType({
displayType : ui.FieldDisplayType.INLINE
});
Using getCurrentSublistValue returns undefined, unless displayType is changed to ui.FieldDisplayType.ENTRY
It seems CurrenRecord method can access the input filed only, Could any one advice how to get the value from a non-input field.
Thanks