A function is a routine that returns a value of a specific type. This value can be used in an expression, and the function call can be embedded in an expression. A function can take a number of parameters that are used to compute the return value. A function parameter is shown in italics. Optional parts for parameters are shown in square brackets []. In the script editor functions are grouped by type. Some functions are specific to the context you are working in, for example, automation, report writer and DI specific functions. The function groups are:
Function Group |
Description |
Availability |
|---|---|---|
Accounting automation functions |
Automation script editor only |
|
Functions relating to the application state |
All editors |
|
Manipulate or return information on arrays |
All editors |
|
Return true / false values |
All editors |
|
Manipulate Company information |
All editors |
|
Manipulate and return dates |
All editors |
|
Manipulate or return information from the operating environment |
All editors |
|
FX functions |
All editors |
|
For GL financial reporting |
GL Financial Report Designer script editor only |
|
For obtaining GST rates and calculating GST |
All editors |
|
Used in EDI import scripts and Price Book Designer |
EDI Import script editor and Price Book Designer |
|
To perform EDI exports or imports |
Automation script editor only |
|
Prompt the User for input and return the result |
All editors |
|
Manipulate numbers |
All editors |
|
Manipulate Accredo objects |
All editors |
|
Manipulate and work with period IDs |
All editors |
|
Report and document specific functions |
Report and Document design script editors |
|
Automation specific functions |
Automation script editor only |
|
Manipulate strings |
All editors |
|
Functions regarding system logins |
All editors |
|
Manipulate Accredo tables |
All editors |
|
Manipulate User information |
All editors |
|
OAuth2, JSON, HTML and Encoding functions |
All Editors |