Join Slack
Communities
Powered by
compare scriptContext.oldRecord to scriptContext.n...
# general
b
battk
04/06/2019, 2:25 AM
compare scriptContext.oldRecord to scriptContext.newRecord
l
Livio
04/06/2019, 3:06 AM
and one more question: How do i check if a certain field was updated or not in an event script?
b
battk
04/06/2019, 3:39 AM
same answer compare scriptContext.oldRecord to scriptContext.newRecord
battk
04/06/2019, 3:41 AM
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
Livio
04/07/2019, 3:37 PM
can i do all that using 1.0
b
battk
04/07/2019, 3:40 PM
Yes, use nlapiGetNewRecord and nlapiGetNewRecord and whatever methods are on a nlobjRecord
l
Livio
04/07/2019, 4:03 PM
Thanks a lot
@battk
2
Views
Open in Slack
Previous
Next