raghav
06/09/2022, 9:00 PMoldRecord = context.oldRecord;
This is giving the old record values, but when I am trying to do the below it is coming as null.
oldLineCount = oldRecord.getLineCount({ sublistId: 'item' });
due to which i am not able to perform
i_quantity_old = oldRecord.getSublistValue({ sublistId: 'item', fieldId: 'quantity', line: newLineCount });
I printed oldRecord, I can even see the old quantity in the object that was coming in logs But any sublist operation on oldRecord is just giving null.