suiteflex application development

16
SUITEFLEX Application Development Carlo Ibarra Presenting:

Upload: netsuite

Post on 12-Jun-2015

2.511 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Suiteflex Application Development

SUITEFLEX™ Application DevelopmentCarlo Ibarra

Presenting:

Page 2: Suiteflex Application Development

Content

• Overview: Application Development

• SuiteFlex

• Sample Applications

Page 3: Suiteflex Application Development

Overview: Application DevelopmentWhat you need to develop applications

Page 4: Suiteflex Application Development

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)

Page 5: Suiteflex Application Development

SuiteFlex™

Develop applications on top of NetSuite.

Page 6: Suiteflex Application Development

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.

Page 7: Suiteflex Application Development

SuiteScript

• Records, Field

• File API

• UI Builder, Sublist

• Search API

• Workflow API

• Context, Configuration, Application Navigation

• Error Handling, Scheduling

• XML, Date, Currency

Page 8: Suiteflex Application Development

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

Page 9: Suiteflex Application Development

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

Page 10: Suiteflex Application Development

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.

Page 11: Suiteflex Application Development

Sample Applications• UK Tax Return Reports

• Google Integration

• reCAPTCHA

• Bingo

Page 12: Suiteflex Application Development

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

cibarra
- a partner asked if we are going to implement the same feature for Philippine BIR reporting.
Page 13: Suiteflex Application Development

Google Integration

Google Visualization API is used to embed interactive chart, graph, or other graphic onto web pages

Portlet

cibarra
- This feature generated a lot of interest from the audience.- Partners wanted to learn more about Google charting and visualization API
Page 14: Suiteflex Application Development

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.

cibarra
- Partners were partially interested.. they were surprised about what CAPTCHA is.
Page 15: Suiteflex Application Development

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

cibarra
- opens up the audience to how flexible and general purpose scripting could be- drawn audience participation, regardless of how trivial the prize is.- they were impressed about how the script can monitor the card status and generates new cards
Page 16: Suiteflex Application Development

Q&A