I am using aftersubmit 1.0
var newRec = nlapiGetNewRecord();
var checkStatus = newRec.getFieldValue("status");
nlapiLogExecution("audit", "check status", checkStatus);
The value of log execution is the value that I saved previously, the new value I entered is 2 and previously it was 3 , i am getting 3 why??? I should get 2 right?