Introduction
Extended is a tool for the Corporater BMP Suite that can be used to implement and configure additional functionality.
Standard vs Transactional Extended
Extended code can be broken down into two distinct purposes: standard, and transactional.
- standard
Standard Extended code can be used to create expressions and tables, query the system, and execute token expressions. Users can write conditional logic, looping statements, query statements and more. The combination of the two creates the potential for functionality and results that would otherwise not be possible.
- transactional
Transactional Extended refers to code that modifies objects in some way besides just reading them. This could be a write, delete, add, copy, move, or something else. Standard Extended code can be considered Transactional once some type of object modification action is added to it.
Writing Extended
Extended code can only be written in certain objects/areas of the system. These locations are:
Extended Action
Extended Expression
Extended Function
Extended Interface
Extended Property
Extended Target
Extended Table
Secondary Locations
For more information on each one, see Extended Objects and Extended Interface.
The entry point for writing code in these locations is the expression
property of the object. The code is then run
as needed by the web front-end, or it can also be previewed within Configuration studio. In the case of the Extended Interface,
code can be written directly into the editor, and can be executed by pressing the yellow “play” button.
Below are a few assorted examples of valid code:
2 + 2 * 3 / 2
"Hello" + " " + "there"
t.KP001.responsible
this.object.actual / this.object.target
SELECT Organisation WHERE orgType = "Country"