Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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);