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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Payment Method Record
Given a payment method id in a server-side script, can I look up the payment method record to query the "Credit Card" field?
What do people use in their scripts to decide if the payment method is a credit card or not? An array of ids? [3,4,5,6] I can do that if I need to but if someone adds a new credit card type, then I have to update my script.
Looking at the URL's, it looks like the record name may be "paymeth" but I tried using nlapiLookupField('paymeth', id) and I got an exception stating it was an unsupported record type.
0