In this post we are going to see how we can use standard client script triggers like saveRecord and pageInit on a adhoc client script that is attached to a suitelet form. From below code you will find that we ...
var record = nlapiLoadRecord(RecordType, itemInternalID); var pricelevel=1; var itemCount = record.getLineItemCount(‘price1′); if(itemCount>0){ for(var line=1; line<=itemCount; line++){ var pricelevelFind = record.getLineItemValue(‘price1′, ‘pricelevel’, line); ...
Suitescript is NetSuite API, in JavaScript that helps you to modifiy NetSuite according to your requirements and beyond the basis default functionalities given by NetSuite. Every Business has different requirements and thus NetSuite needs to be modified based on user’s ...
function GetCategory(id){ var CategoryArray = []; // Loop to Site Category var record = nlapiLoadRecord('inventoryitem', id); var categoryCount = record.getLineItemCount('sitecategory'); if(categoryCount > 0) { for(var i=1 ;i<=categoryCount ; i++) { var category = { "category" : record.getLineItemText('sitecategory', 'category', i) }; ...