whats wrong with the following code: var r...
# suitescript
p
whats wrong with the following code: var record = context.oldRecord; var records = context.newRecord.id; var newRec = record.load({ type: record.Type.DEPARTMENT, id: records, isDynamic: true, });