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.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
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