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!
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
nlobjList has strange header and font size is huge!
My first time creating a nlobjList SuiteLet and it's not going so hot.
Here is what it looks like
Here is what the same search looks like from the regular UI
And here is the code I'm using (it's messy!!)
// Build the list this._view = nlapiCreateList(this._formTitle); var l = this._view; l.setTitle('Claims ready processing'); l.setStyle('normal'); l.addColumn('action', SL_FLD_TYPE.TEXT, 'Action'); l.addColumn(INS_CLAIM_FIELDS.STATUS, SL_FLD_TYPE.TEXT, 'Status'); l.addColumn(INS_CLAIM_FIELDS.AMOUNT, SL_FLD_TYPE.CURRENCY, 'Amount'); l.addColumn(INS_CLAIM_FIELDS.PATIENT, SL_FLD_TYPE.TEXT, 'Patient'); l.addColumn(TRANSACTION_FIELDS.DATE, SL_FLD_TYPE.DATE, 'News DoS'); l.addColumn(INS_CLAIM_FIELDS.INS_POLICY_ID, SL_FLD_TYPE.TEXT, 'Insurance'); var row = [] for(var i = 0, len = results.length; i < len; i++) { row.push( [] ); // Need the following: // Script Id // Deploy Id // RecordId // Link Name var processLink = String.format('<a href={0}>{1}</a>', this.createProcessUrl(results[i].getId()), 'Process'); row[i]['action'] = processLink; row[i][INS_CLAIM_FIELDS.STATUS] = results[i].getText(INS_CLAIM_FIELDS.STATUS); row[i][INS_CLAIM_FIELDS.AMOUNT] = results[i].getValue(INS_CLAIM_FIELDS.AMOUNT); row[i][INS_CLAIM_FIELDS.PATIENT] = results[i].getText(INS_CLAIM_FIELDS.PATIENT); row[i][TRANSACTION_FIELDS.DATE] = results[i].getValue(TRANSACTION_FIELDS.DATE, INS_CLAIM_FIELDS.INVOICE_ID); row[i][INS_CLAIM_FIELDS.INS_POLICY_ID] = results[i].getText(INS_POLICY_FIELDS.INSURANCE, INS_CLAIM_FIELDS.INS_POLICY_ID); } l.addRows(row); Steve Klett | Senior Developer
NetValue Technology
0