I am at a loss. When in action, the following cod...
# suitescript
d
I am at a loss. When in action, the following code snippet brings returns the
trandate
value as
shipdate
(which is incorrect). But if I run this code in a browser or debugger ... it'll return the correct
shipdate
s
I'd recommend trying a plain search rather than
lookupFields()
to see if it is better behaved. Possibly even better/faster, do a SuiteQL query? (though not sure if those 3 fields are directly available on
Transaction
)
s
any chance its just the caching problem and your script is actually running some other version and not updating when you push to NS?
d
I've got a SuiteLet that forces a refresh
k
are you trying to get related data from Sales orders or item fulfillment ?
w
Is the
trandate
and
shipdate
further apart than a day? If not, could it be an issue with timezones?