compare scriptContext.oldRecord to scriptContext.n...
# general
b
compare scriptContext.oldRecord to scriptContext.newRecord
l
and one more question: How do i check if a certain field was updated or not in an event script?
b
same answer compare scriptContext.oldRecord to scriptContext.newRecord
both are record.Record, you use the methods like Record.getValue to get the value of a field from one to compare to the other
l
can i do all that using 1.0
b
Yes, use nlapiGetNewRecord and nlapiGetNewRecord and whatever methods are on a nlobjRecord
l
Thanks a lot @battk