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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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
sourcing Payments on SELECT field on custom form page
Hello,
I am creating a custom page in Suitescript 2.0 and would like the user to be able to select a payment record from a drop-down, but I don't know where to find out the internal id of the list of customer payments or even of transactions in general. I've tried 'customerpayment', but that seems to return just a list of all records. The code where I am trying to create this field is below.
var pymtnum = form.addField({ id: 'pymtnum', type: serverWidget.FieldType.SELECT, source: 'customerpayment', label: 'Payment Number' }); Thanks!
Tagged:
0