General Output Properties
The following output formats and output systems are configured in separate arrays, but can be executed mixed in freely definable order one after another.
The order in which these two object types is commonly sorted is determined by the numeric property .Order. This property is used to sort across both object types to determine the order of execution. If the number assigned is the same, an output format will take precedence over an output system.
The following properties apply to output formats and output systems:
Property | Description |
|---|---|
OutputFormat[].Order OutputSystem[].Order | Numerical indication of the order of execution Counting starts at 1. The default value is the order of listing within the |
OutputFormat[].ConditionMacro OutputSystem[].ConditionMacro | Field macro expression if processing of an output format or output system is to be executed only under certain conditions (optional) The field macro expression must return a corresponding Boolean value. If the property value is missing, the condition will implicitly be considered satisfied. |
OutputFormat[].MultiValueSep OutputSystem[].MultiValueSep | Delimiter for the case that multiple field contents (array values or table fields) that it separates are to be transferred as a composite string into a single output field (optional) By default, the delimiter is not defined. If the target system does not explicitly support the transfer of multiple values, then, by default, only the first value from a multiple field will be used. Furthermore, this property only takes effect if the field content is output as a string. In other words, it will only take effect if 1) the field content type is "string," 2) the field content type is converted to "string" via |
OutputFormat[].Field[].Name* OutputFormat[].Field[].OutputName OutputFormat[].Field[].OutputFormat OutputSystem[].Field[].Name* OutputSystem[].Field[].OutputName OutputSystem[].Field[].OutputFormat | Definition of the assignment of source fields from the field catalog to the target fields, which will be included in an output format or transferred to an output system Under If the name of the source field in the field catalog is identical to the name of the target field, you can omit the NoticeIf condition-dependent alternative field catalogs with different field definitions are used, but only one assignment list can be defined for their output fields in the output format or output system, this is considered a special circumstance. One of two alternative procedures can be used for this:
Fields that are not present in the catalog used do not lead to an error in the output; rather, they are simply skipped. Therefore, in most use cases, you can use the second procedure. The The syntax for the
|
Examples of Use
The following table shows examples of formatting numeric values.
Notice
Rounding to a specified number of digits applies only to decimal places; digits before the decimal point are always output in full.
Numeric value | Formatting pattern | Output value |
|---|---|---|
123,45 | 0 | 123 |
1,2 | 000.00 | 001.20 |
1,2 | 0.## | 1.2 |
0 | #.## | (Blank) |
0,123 | 0.00 | 0.12 |
0,123 | #.## | .12 |
1234,5 | #,##0.00 | 1,234.50 |