Hi all, can someone tell me what i am doing wrong. UE script. After Submit function function afterSubmit(scriptContext) {
//Get field value of record
var newRec = scriptContext.newRecord;
var vendorID = newRec.getFieldValue('custrecordur_ve_vendor');