suiteflex application development
TRANSCRIPT
SUITEFLEX™ Application DevelopmentCarlo Ibarra
Presenting:
Content
• Overview: Application Development
• SuiteFlex
• Sample Applications
Overview: Application DevelopmentWhat you need to develop applications
Multi-Tiered Approach
- breaks down a system into components that interact with the domain application
Common implementation View interacts with users (human or other systems) Infrastructure interfaces with databases and other
systems (web services)
SuiteFlex™
Develop applications on top of NetSuite.
The SuiteFlex Solution
SuiteScript covers all layers Domain is composed of user defined classes/API Standard entities has the same standing as custom ones By having Javascript as the language of choice, we can
incorporate emerging technologies related to it (e4x, JSON etc)
SuiteFlex provides a complete set of components used to develop features/apps on top of NetSuite
Open architecture.
SuiteScript
• Records, Field
• File API
• UI Builder, Sublist
• Search API
• Workflow API
• Context, Configuration, Application Navigation
• Error Handling, Scheduling
• XML, Date, Currency
SuiteScript Types
• Suitelet– enables building of custom NS pages and business logic. Server-side and operates in a request-response model.
• User-Event – server-side, fires when actions are performed on enables building of custom standard and custom records.
• Portlet – can be used to define and publish custom dashboard content (list, form, html, links).
• Mass Update – performs custom actions on a search result.
• Client – SuiteScript executed in the browser.
• Scheduled – server-side; temporal triggered script; high usage limit.
• Workflow
https://debugger.netsuite.com
Interactive debugger
a.k.a The SuiteScript Debugger
Debug server side scripts
SuiteScript D-Bug
Step through scripts (including libraries) Watch variables, evaluate expressions Define breakpoints Good way to learn more about SuiteScript internals Applies to user event, suitelet, scheduled and portlets. Warning: Debugger affects live data
SuiteTalk
• Provides an interface to NetSuite through web service. This allows to use different development frameworks - .NET, Java.
• Web Services Operations provides access to business and search records, fields, forms and sublists.
• Web Service Processing allows for synchronous and asynchronous requests.
• Web Services Security ensure high level of security (authentication, authorization, session management)
• Web Services Error Handling provides exception management.
Sample Applications• UK Tax Return Reports
• Google Integration
• reCAPTCHA
• Bingo
SuiteFlex > Sample Applications
UK Tax Return Reports
VAT100 Return is a statement sent to the tax authority (HMRC) by business enterprises liable for VAT.
Suitelet + client side Used reporting API. Used custom records to keep track of submissions Communicates with an external gateway (HMRC) Deployed to different accounts using SuiteBundler
Google Integration
Google Visualization API is used to embed interactive chart, graph, or other graphic onto web pages
Portlet
reCAPTCHA
reCAPTCHA is a 3rd-party program that can tell whether its user is a human or computer
User-event script (leads) Used to prevent rogue programs from entering false
lead info into the system.
Bingo- A game of chance played with randomly drawn numbers which players match against numbers that have been pre-printed on 5x5 matrices.
• Suitelet
• Card Generator
• Card Viewer
• Game Management
• Drawing of numbers can be scheduled
Q&A