razer456
03/18/2022, 1:50 PMsublistOnTimesheetRec.addField({
id: "custpage_subproject",
type: serverWidget.FieldType.SELECT,
label: "Sub Project"
});
also I am setting value in client script
currentRec.setCurrentSublistValue({
sublistId: "timeitem",
fieldId: "custpage_subproject",
value: subProjectValue,
});
// }
currentRec.commitLine({
sublistId: 'timeitem'
});
log.debug({
title: 'subProjectValue 2',
details: subProjectValue
})
I am getting debug "subProjectValue " as the value i have set but the value doesn't set on the field after saving?