Discussions

Check out Oracle NetSuite upcoming events and conferences here
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!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!
Unleash the Power of AI with NetSuite's Intelligent Recommendations

Don't miss out on the opportunity to boost sales and customer satisfaction. Elevate your business with NetSuite's Intelligent Recommendations.

Problems with Custom Columns

edited Jan 8, 2020 2:24AM in SuiteCloud / Customization 3 comments

I am using columns to return specfic results, and it works fine until I add in custom columns, then it throws an error. Has anyone else tried this and had the same problem?

the code snipets below

Thanks
RIchard

var columns = new Array();
columns[0] = new nlobjSearchColumn('internalid');
columns[1] = new nlobjSearchColumn('cost');
columns[3] = new nlobjSearchColumn('custitemshipper');
columns[4] = new nlobjSearchColumn('custitemexrate');
columns[5] = new nlobjSearchColumn('custitemmarginrrp');
columns[6] = new nlobjSearchColumn('custitemusdpurchase');


var searchresults = nlapiSearchRecord('inventoryitem',null,filters,columns);

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 4 (Oct-Dec 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders