Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Intelligent Payment Automation, powered by BILL (aka Bill.com), lets you automate payments, manage vendor details, and bank account information within NetSuite.
The SuiteApp is available to organizations based in the U.S. with a valid U.S. address, or to global customers (except Canada, China, and Japan) with U.S. business subsidiaries. It only supports payments to vendors operating in the United States.
For more information, visit this thread.
Working with custom records
Hi,
I have a script that does a search for a custom record based on a value of a custom field after a customer record has been created.
It used this value to lookup a custom record to see if it already exists.
Here is the code:
function CheckIfTHisCardNumberExists()
{
var currentRecord;
currentRecord = nlapiGetNewRecord();
var enteredcardno = currentRecord.getFieldValue('custrecord_linked_card_no');
var searchresults = nlapiSearchRecord('customrecord17', null, null, null);
var totalsize = searchresults.length;
for (var i = 0; i < totalsize; i ++)
{
var searchresult = searchresults[i];
var curcardnum = searchresult.getValue('custrecord_mship_mem_2');
alert("curcardnum is " + custrecord_mship_mem_2);
if (curcardnum == enteredcardno)