JavaScript Reference
JavaScript in the platform
The Requea platform uses a JavaScript engine. This scripting is ECMA 1.5 compliant.
You may find many documentation on the web about javascript. Here are a few links:
javascript reference documentation (mozilla.org)
Requea system objects
A few objects are available to interact with the platform, search data and call operations.
Static objects
- System
- System wide functions and utilities
- User
- Get the current User and access its properties
- Utils
- Some utility functions
- Registry
- Get access to database params or definitions
- Message
- Retrieve localized end user messages
- Runtime
- Execute external processes
- Counter
- Retrieve incremental values
- Progress
- Manage long running operations
Non Static objects
In addition, there are a few javascript object that can be used to instantiate objects and retrieve data or export data.
- Filter
- Set query parameters
- Calendar
- Manipulate dates and time as Gregorian calendars
- BusinessCalendar
- Manipulates dates and time with open hours, week ends and holidays
- Notification
- Api to send emails or SMS