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.
Customized column (accnt number) returning NULL value in journal voucher
Hi there,
Good day!
I am new in NetSuite development and I have encountered an issue on displaying the value of a customized column, accnt number, in journal voucher. We created the column to separate and get the account number of an account. For example 11110000 Cash In bank Peso -Clearing Accounts, accnt number(custcol6) column is displaying 11110000. I attached a sample transaction here and the printout for your reference.
Also please see the code below:
var search = nlapiSearchRecord(null, -36, filters);
var damt = parseFloat(0);
var camt = parseFloat(0);
var totaldebit = parseFloat(0);
var totalcredit = parseFloat(0);
if(search.length>0){
for(var x = 0;x<search.length;x++){
0