Questions tagged [suitescript]

SuiteScript is a JavaScript-based API that gives developers the ability to extend NetSuite beyond the capabilities provided through SuiteBuilder point-and-click customization.

SuiteScript is the NetSuite platform built on JavaScript that enables complete customization and automation of business processes. Using the SuiteScript APIs, core business records and user information can be accessed and manipulated via scripts that are executed at pre-defined events. For example, field change, form submit, before read, before write, or Web requests. They can also be scheduled to run at specific times.

SuiteScript is comprised of several components enabling the most useful customization in SaaS:

  • Suitelets — Extensions to SuiteScript let you build a custom interface that is hosted within the NetSuite framework. Suitelets allow for completely custom HTML, Flash or NetSuite-based front-end development that can be build from scratch or by leveraging revolutionary SuiteScript UI Objects. Suitelets can also serve as the back-end for external HTML interfaces, providing complete flexibility in developing application extensions to NetSuite.

  • SuiteScript UI Objects — Serve as extensions which let you build a custom interface that runs invisibly within the NetSuite framework.

  • Portlet SuiteScript — Scripted Dashboard portlets allow for listing of any NetSuite content on the Dashboard or inclusion of external data-feeds via RSS, HTML or Flash, as well as Web 2.0 mashups (e.g. instant messaging, maps, blogs, more) via embedded Inline HTML fields, or iFrames.

  • Scheduled SuiteScript — Facilitates business process customization via JavaScript extensions and allow for records to be processed as a scheduled batch to automate workflows such as re-assignment of stale leads, drip-marketing or scheduling of collection calls based on days overdue.

  • User Event SuiteScript — SuiteScript can be used to enforce data validation and business rules. User Event SuiteScripts are triggered as users work with records and data changes in NetSuite as they open, edit or save records.

  • Client SuiteScript — Field-level calculations, alerts and business logic are facilitated by SuiteScripts which run within the user's browser as they work with data and records within NetSuite. Additionally Server SuiteScript APIs can be invoked via the Client SuiteScript code to apply business logic beyond a single record.
  • 1434 questions
    -2
    votes
    3 answers

    NetSuite : TypeError record.createCurrentLineItemSubrecord is not a function?

    I'm getting "TypeError _invadjtransRecord.createiewCurrentLineItemSubrecord is not a function" When trying the below code: var _invadjtransRecord = nlapiCreateRecord('inventoryadjustment'); _invadjtransRecord.setFieldValue('subsidiary',…
    -2
    votes
    1 answer

    Not able to use Netsuite (nlapi) in chrome extension

    I want to use nlapi (Suite Script API) of Netsuite in chrome Extension
    -2
    votes
    1 answer

    Email selection screen, set default recipient email

    I have an easy one, never had to do it before I'm on the invoice, I click on the + and I click on email. The recipient email is the customer, fine. But I have a case where I need to hardcode the email. I created a workflow and assign the email to…
    -2
    votes
    2 answers

    In Netsuite, ReferenceError nlapiCreateFile and nlapicreatecsvimport is not defined

    In netsuite, I write the these code but I face a problem as ReferenceError nlapiCreateFile is not defined Code: function creatingFile() { var file = "xxxxx"; var fileObj = nlapiCreateFile('mycsv.csv','CSV',file); // Error !!! …
    -2
    votes
    1 answer

    Call Restlet from external suitelet with authentications

    Can We call Restlet From External Suitelet with NLAuth or any auth.Kindly post some sample please.
    ashbaq1
    • 45
    • 1
    • 8
    -3
    votes
    3 answers

    Netsuite Webservices

    Using webservices I need to login to netsuite and I have to create session,I have created and modified tokens in netsuite account, i dont know how to use anybody, please suggest how to do. either to perfom this soap or java which way is best I know…
    ashbaq1
    • 45
    • 1
    • 8
    -4
    votes
    2 answers

    Listing folders in specified folder

    I'm trying this code to list the files inside cabinet's folder in NetSuite, but I can list only the files. I need to list the folders inside the folder with the ID: 28 The code I'm using: var folder = 28; var filters = new Array(); filters[0] = new…
    eXtreme
    • 244
    • 3
    • 18
    1 2 3
    95
    96