5. Report Components
Centrallix Reporting System Reference
The Centrallix reporting system provides the ability to generate reports in a variety of formats from ObjectSystem data and a report object. This document describes the report object structure in detail and how to use the various report components to build a report.
Reports can have parameters - see the 'report' object and 'report/parameter' object for more details. Parameters are passed to a report via HTTP URL parameters, and are defined in the report by 'report/parameter' objects (or, though deprecated, by simple top level attributes other than those already defined for 'system/report').
Sample code is generally given in "structure file" format, which is the normal format for the building of applications. However, other suitable object-structured data formats can be used, including XML.
Where 'intvec' is specified for a property type, it means a comma-separated list of numbers. Similarly, 'stringvec' means a comma-separated list of string values.
Where a 'moneyformat' is specified, it is a text string in which the following special characters are recognized (the default money format is "$0.00"):
|#||Optional digit unless after the decimal point or the digit immediately before the decimal point.|
|0||Mandatory digit, no leading zero suppression.|
|,||Insert a comma, suppressed if no digits around it.|
|.||Decimal point (only one allowed).|
|+||Sign, + if positive or zero, - if negative.|
|-||Sign, blank if positive or zero, - if negative.|
|()||Surround number with () if it is negative.|
|||Surround number with () if it is positive or zero.|
| ||(space) optional digit, but put a space in its place if suppressing leading 0's.|
pWhere a 'dateformat' is specified, it is a text string with the following character sequences recognized (default is "dd MMM yyyy HH:mm"):[/p]
|dd||Two digit day of month (01 through 31).|
|ddd||Day of month plus cardinality (1st through 31st).|
|MMMM||Full (long) month name (January through December).|
|MMM||Three-letter month abbreviation (Jan through Dec).|
|MM||Two digit month (01 through 12).|
|yy||Two digit year (00 through 99).|
|yyyy||Four digit year (0000 through 9999).|
|HH||Hour in 24-hour format (00 through 23).|
|hh||Hour in 12-hour format (00 AM through 11 PM).|
|mm||Minutes (00 through 59).|
|ss||Seconds (00 through 59).|
|I||At the beginning of the format, indicates that the date is in international (dd/mm/yy) order rather than U.S. (mm/dd/yy) order. Used mainly when a date is being input rather than when it is being generated.|
Copyright (c) 1998-2009 LightSys Technology Services, Inc.
Documentation on the following components is available:
Add a Comment...