Function Variables
The following variables can be used directly in any output.
# | Name | Type | Description/Comments | Example |
---|---|---|---|---|
1 | o | object | The "o" variable that allows data store and any variable on the fly | {{o.set("count",1)}} |
2 | date() | date | Todays date. | [[NiceDate(date())]] |
3 | datetime() | datetime | The current date time. | [[NiceDate(datetime())]] [[NiceTime(datetime())]] |
4 | m.plOutputIsEmailBody | boolean | Generated output HTML is email body | {{IF m.plOutputIsEmailBody}}
Do something ... {{ENDIF}} |
5 | m.mgRpdFrom | date | The reporting start date. | [[NiceDate(m.mgRpdFrom)]] |
6 | m.mgRpdTo | date | The reporting end date. | [[NiceDate(m.mgRpdTo)]] |
7 | m.pcfolderReports | string | The reports windows path/folder. | <img src="[[m.pcfolderReports]]\energy\carbon80\heading.gif" alt="" width="210" height="20"> |
8 | reccount() | integer | The count of records in this output. | [[reccount()]] |
9 | recno() | integer | The current record number in this output. | [[recno()]] |
10 | SIGNASBRANCH.fieldname | various | Returns the BRANCH value where "fieldname" is the field name with the data from the current logged in branch. | [[SIGNASBRANCH.EMAILADDR]] |
11 | SIGNASUSER.fieldname | various | Returns the SYSTEMLOGINS value where "fieldname" is the field name with the data from the current logged in user. | [[SIGNASUSER.EMAILADDR]] |