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.
getFieldText in nlapiLoadRecord
i want to get the estimate # and load it to another form by script.
i used the API of nlapiLoadRecord(type, id, initializeValues) and the getFieldText(name) and getLineItemField(group, fldnam, linenum) inorder to get the information i want.
What i want to get is to get the Estimate number, the date of Estimated, some custom body field in the Estimate, Items name in the Estimate, and some custom column fields in the Estimate
here is some of my script
function printQuotationPic(request, response)
{
var recId = request.getParameter('id');
var recEST = nlapiLoadRecord('estimate',recId);
itemname = recEST.getLineItemText('item','item',1);
itemproductionprice = recEST.getLineItemText('item','custcolprodprice',1);