when we select an item in UI it will set the verti...
# suitescript
a
when we select an item in UI it will set the vertical value, but when I create a record in dynamic mode and set the item field it will not set the vertical and will throw an error if I don't provide vertical. any suggestion?
p
What have you got
ignoreFieldChange
and
forceSyncSourcing
set to?
a
I've tested forceSync but didn't work, so I've deleted the property. and about ignoreField I think the default is false.
p
A few more questions then. What sort of script are you writing at the moment? How is the vertical set in the UI?
a
it's a user event script
in the UI as soon as you set the item it will source the vertical field
p
Is it actually sourced from the item, or is a client script setting it? Important distinction
a
I'm not sure
how can I check that
vertical is not a custom field
so I'm not sure if it's a NS thing or we have a client script
p
It could be one of the standard dimensions renamed (class, department). Dump a transaction using the NetSuite Field Explorer plugin
a
yes
it is class
@PNJ and I've tested, same issue with department
@PNJ any suggestion?