Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Error pusing credit card info to NetSuite
When pushing valid credit card info to NetSuite, I am getting an error "Please enter a valid expiration date". I am pushing the expiry date as below:
record.setFieldText('ccexpiredate',nsExp);
Where nsExp is a string with format "MM/YYYY". Some expiry dates seem to work and others don't. If I submit the value in the format "MM/YY" they all work, but go into NetSuite with years like 0019 and 0021. Where do I look to troubleshoot this?
Thanks in advance for any help.
0