1/59
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
At what intervals does NetSuite purge script execution logs?
Every 30 Days
A developer created both client and user event scripts to validate changes on both ends. What is the correct entry point-script type combination for both sides?
Client-Side: sublistChanged
User Event: beforeSubmit
To debug a script the user must own the script?
True
What tool is used to debug Client Scripts?
Browser Tools/Console
What tool is used to debug Server Scripts?
Debugger
What does a Mass Update Script do?
Programatically perform custom updates to fields that are not available through general mass updates. Capable of running complex calculations defined in your script across records.
When is the only time a mass update script can run?
On-Demand
What does a Portlet Script do?
Scripts are run server side and rendered in the NetSuite dashboard.
What types of options are supported in a portlet?
Form, Inline HTML, Links, Lists, SuiteApps
What does a Restlet Script do?
Script made available for other apps to call either from within or externally. Import/Export data.
What does a Suitelet Script do?
API that allow you to build custom NetSuite pages and backend logic. Server script that operates in a request-response model and invoked by HTTP (Get/Post) requests to system generated URL's.
What do User Event Scripts do?
Scripts that execute on the server side. Executed when users perform certain actions such as create, load, update, copy, delete, or submit on records.
What does a Scheduled Script do?
A server side time based script that execute at a predetermined time that is programmed by the user. Scripts scheduled to run at the same time are pushed to a queue.
What is the purpose of a Map /Reduce Script?
A server side script designed to handle large amounts of data. Best suited for situations where data can be divided into segments. Map processes data into key value pairs. Reduce used to finalize mapped data. Summarize is used to audit trails and for statistics. Use for simple tasks and not complex ones.
What is the purpose of a Workflow Action Script?
A server side script designed to create a custom action that functions within a workflow. Especially useful for performing sublist actions since sublists fields are unavailable in the workflow manager.
What is the purpose of a Client Side Script?
Scripts executed by predetermined event triggers in the client browser. They can validate user entered data and auto populate fields or sublists using various form events. Only trigger when creating NEW records or editing EXISTING records.
What are the available entry points for...
Action:
Open a record
Entry Point:
beforeLoad
What are the available entry points for...
Action:
Page Load
Entry Point:
pageInit
What are the available entry points for...
Action:
Edit a Field
Entry Point:
fieldChanged, validateField, postSourcing
What are the available entry points for...
Action:
Save
Entry Point:
saveRecord, beforeSubmit
What are the available entry points for...
Action:
Record Committed to Database
Entry Point:
afterSubmit
What is "Don't Repeat Yourself (DRY)" principle?
The idea is to eliminate writing the same lines of code more than once.
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When should you use error handling?
When there are sequences that data could be inconcistent, not available, or invalid
What is the purpose of a TRY-CATCH block?
This is used to catch an exception object the moment that something is executed within the TRY block. When the exception is thrown it will appear in the CATCH block.
What is a more efficient method of record.load(options) to retrieve field values when you only need a few and not the entire records worth?
search.lookupFields(options)
In order to debug a script, you have to be the owner. (True/False)
True
Log messages in a script should make business sense such as record ID, record type, and other relevant fields. (True/False)
True
What are the 4 log levels?
debug, audit, error, emergency
Client Side Workflow Triggers
Before User Edit (BUE)
Before Field Edit (BFE)
After Field Edit (AFE)
After Field Sourcing (AFS)
Before User Submit (BUS)
Server Side Workflow Triggers
Before Record Load (BRL)
Before Record Submit (BRS)
After Record Submit (ARS)
What is an example of Sequential Processing - Loose Coupling?
[Workflow X]
State 1 -------> [Sub-Workflow A]
State 2 -------> [Sub-Workflow B]
One component is not dependent on any other component.
Workflow X & Sub Workflows A/B are not dependent on one another.
What is an example of Sequential Processing - Tight Coupling?
[Workflow X]
State 1: Init. A <-----> [Sub-Workflow A]
State 1 & Sub Workflow A (Complete) ---> Transition to State 2
State 2: Init B <-----> [Sub Workflow B]
Creates processing dependencies between workflows.
Parent Workflow X and Sub-Workflow B are dependent on processing in Sub-Workflow A.
What is an example of Parallel Processing?
[Workflow X]
State 1: Init. Sub-WF [A] & [B]
State 2A: [Sub-WF A] (Complete)
State 2B: [Sub WF B] (Complete)
State 3: Sub-WF [A] & [B] (Complete)
State 1 Initiates both Sub WF A & B so they can start their runtime at the same time. Processing may complete at different points in time. But the transition to state 3 only occurs after both sub workflows are complete.
What is an example of Parallel Processing - Multiple Approvals?
[Workflow X]
[Workflow X]State 1: Entry
[Workflow X]State 2: Init. Approver B
[Workflow X]State 3: Approver A
[Workflow X]State 4: Approver B ------> [Sub WF A]
[Sub WF A] State 1: Entry
[Sub WF A] State 2: Approver B
[Sub WF A] State 3: Approver B = Rejected
[Sub WF A] State 4: Approver B = Approved
[Workflow X]State 5: Approve if Approver A & B = Approved
[Workflow X]State 6: Reject if Approver A or B = Rejected
Workflow X & Sub-Workflow A are running in parallel.
Approvals in both workflows must be complete before final approval can occur in Workflow X (State 5).
What is the difference between Synchronous & Asynchronous?
Synchronous: Parent workflow must wait for sub-workflow to complete.
Asynchronous: Parent workflow does not need to wait before continuing.
What is an example of joined fields on related records?
[SALES ORDER]
{Related Records}
Employee Fields <-------> Employee Record
Customer Fields <-------> Customer Record
Item Fields <-------------> Item Record
What are formulas used for?
Calculate, Combine, Reformat, Validate, and Extract Portions of fields.
SuiteScript 2.0 API functions ARE supported on Client Triggers (True/False).
False
NetSuite field ID's must be in brackets { fieldid } when being called from a formula (True/False).
True
What are the 6 tools available in SuiteCloud 2.0?
Suitebuilder
Suiteflow
SuiteScript
SuiteTalk
SuiteAnalytics
SuiteBundler
What is the purpose of SuiteBuilder?
Static customization such as adding new forms or fields or UI elements.
What is the purpose of SuiteFlow?
Business process automation through workflows.
What is the purpose of SuiteScript?
Extend the capabilities of NetSuite with JavaScript to create new functionality in NetSuite.
What is the purpose of SuiteTalk?
Integration API to push data to or from 3rd party systems outside of NetSuite.
What is the purpose of SuiteAnalytics?
Custom data display to portray information using filters to identify specific data.
What is the purpose of SuiteBundler?
Package any customizations to the NetSuite system for easy import into other NetSuite Accounts.
What are the 5 NetSuite Record Groups?
Entity
Transactions
CRM Records
Items
Custom
What are some records that are classified as ENTITY?
Customers, Vendors, Employees
What are some records that are classified as TRANSACTIONS?
Sales Orders, Purchase Orders, Expense Reports, etc.
What are some records that are classified as Customer Relationship Management (CRM)?
Events, Tasks, Phone Calls, etc.
What are some records that are classified as ITEMS?
Inventory Items, Item Groups, Discounts, etc.
What types of SuiteScripts are available?
Client, User Event, Workflow Action, Scheduled, Map/Reduce, Suitelet, RESTlet, Portlet, Mass Update, Bundle Installation
What syntax is used to return a specific field reference?
getField(options);
What syntax is used to return the value of a specific field?
getValue(fieldid);
What syntax is used to set the value of a specific field?
setValue(fieldid, newValue);
What syntax is used to return the text of a specific field?
getText(options);
What syntax is used to set the text in a specific field?
setText(options)
What is the difference between getValue & getText?
getValue is for non drop down fields
getText is when the field is a drop down
Any actions that complete through the debugger will occur within the NetSuite account the debugger is associated with (True/False).
True
What needs to be enabled to use SuiteCloud Development Framework (SDF)?
Enable SDF features
Assign SDF Developer Role
Allow Token Based Authentication
Create An Integration Record
Create an Authentication Token