2.2.5.3 AccountingMetaData Element
The AccountingMetaData XML element is used to specify metadata for the accounting database.
-
<xs:element name="AccountingMetaData"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded" > <xs:element name="Column"> <xs:complexType name="Column"> <xs:sequence> <xs:element name="BitmaskPosition" type="xs:integer" minOccurs="0" /> <xs:element name="ColumnName" type="xs:string" minOccurs="0" /> <xs:element name="IsVisible" type="xs:integer" minOccurs="0" /> <xs:element name="IsArchivable" type="xs:integer" minOccurs="0" /> <xs:element name="IsPivotable" type="xs:integer" minOccurs="0" /> <xs:element name="ColumnType" type="xs:integer" minOccurs="0" /> <xs:element name="Units" type="xs:string" minOccurs="0" nillable="true" /> <xs:element name="AggregationCollection" minOccurs="0" maxOccurs="unbounded" > <xs:complexType name="AggregationCollection"> <xs:sequence> <xs:element name="Aggregation" minOccurs="0" maxOccurs="unbounded" > <xs:complexType name="Aggregation"> <xs:sequence> <xs:element name="Pivot" type="xs:string" minOccurs="0" /> <xs:element name="AggregateFunction" type="xs:string" minOccurs="0" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:choice> </xs:complexType> </xs:element>
Child Elements
Element |
Type |
Description |
---|---|---|
Column |
Column |
A specification of the properties of a column of the database. |
BitmaskPosition |
xs:integer |
An integer designating the position assigned to the column. Its value will vary from 1 to the maximum number of columns. Two columns cannot have the same BitmaskPosition value. |
ColumnName |
xs:string |
A string that specifies the name of a column in the database. |
IsVisible |
xs:integer |
An integer that specifies whether the column can be viewed, expressed as a Boolean value (section 2.2.2.1). |
IsArchivable |
xs:integer |
An integer that specifies whether the column can be archived, expressed as a Boolean value. |
IsPivotable |
xs:integer |
An integer that specifies whether the column can be rotated to rows, expressed as a Boolean value. |
ColumnType |
xs:integer |
An integer that specifies the type of column. Its value will be one of the constants defined in Column Types (section 2.2.2.11). |
Units |
xs:string |
A string that specifies units, or the NULL value. The string can be either "ms", for milliseconds, or "KB", for kilobytes. |
AggregationCollection |
AggregationCollection |
A specification of a group of aggregations. |
Aggregation |
Aggregation |
A specification of an aggregation, which is a set of objects in the database. |
Pivot |
xs:string |
A string specifying a column name, which can be used for grouping of rows. If used, the associated AggregateFunction will be applied to the values of the current column. |
AggregateFunction |
xs:string |
A string that specifies an aggregate function, which performs a calculation on rows in the column. |