<@U5W5QEZLJ> The difference between what you have ...
# suitescript
a
@reza.seedin The difference between what you have and writing without the object would be the same because you have an object with one property. However I found the object approach better. Without the object would be:
Copy code
values: {
fieldName: priorityStatus
}
If you need more fields you will need to put those fields name and the corresponding value inside
values
and using the object you dont need that because you are contructing the values object outside, but at the end is basically the same.
💯 1