Netsuite is throwing org.mozilla.javascript.NativeDate@11ajajs99 like error?


Hi All,

In Suite Script 2.0, if you try to get value of date field , you might end up  "org.mozilla.javascript.NativeDate@28abcd99b".

This is date object and You can write method of date object to get date,
Easiest way for this is to use getText (not getValue ) and it will work just fine.

Let us know how you fixed it in comment section.

 Thanks
Netsuite Guru
 Download Netsuite Guru Android App

Follow Me on Linkedin
Our FB Page

Comments