Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
setDateTimeValue - user preferences break this method?
I'm trying to set a DateTime field using the setDateTimeValue method. It works fine when the user's preferences for date format is mm/dd/yyyy and time format is hh:mm AM/PM, but if the user executing the script has any other formats picked in their preferences (i.e. 24 hour time format for example) it does not appear to work - an invalid argument error is returned. I've tried making sure that the same format is always entered to the method, and I've also tried matching the format to the user's preferences but it does not seem to matter. Does anyone have a