is there a way to get the field value of a non sto...
# suitescript
i
is there a way to get the field value of a non stored value field via user event script? Their is a custom field that get it's value from a saved search which works great for the UI but don't see a way to get that value via ue script. I know the alternate would make the same call to the saved search but was wondering if their is an alternate way?
b
what have you tried
i
it's a SS1 script so I tried nlapiGetFieldValue('custrecord_shippingadvice_lastirecdate') and nlapiGetFieldText('custrecord_shippingadvice_lastirecdate') and they both return null
b
that should work under normal circumstances where the record is loaded
it wont work for things that dont actually load the record like web services
👍 1
i
@battk thanks! that tip about loading the record worked. it seems like via the standard UE beforeload i wasn't able to access but if I loaded the record separately i was then able to access the fields i am looking for