Introduction to document types and metadata > About document types and metadata > Document type resources > Metadata values

Metadata values
Metadata values are assigned per document type.
Static text or variable metadata values
You can use static text or variables as metadata values. Variable values are retrieved from Event or script defined variables. Static text values are values that you enter directly in the document type resource. Note that dollar signs ($) cannot be used in static text values.
There is also an option to select No value for a metadata. This option is used with E-Invoice Center where metadata values are assigned by filters.
Note:
The values must conform to the data type specified for the metadata in the metadata group resource, i.e. Numeric, Date, or Text.
Using data type Date
Date values must follow the ISO 8601 standard. Local time with offset to UTC (Coordinated Universal Time) is not supported. Examples of ISO 8601 date values are shown in the table below.
For example: 2010-05-20
You can use the IsDate and Dformat scripting functions to validate and format the value.
For example: 2010-05-20T13:04:25
You can use the DtisoFormat scripting function to validate and format the value.
Using data type Numeric
The following apply to numeric values:
The maximum number of decimal digits that can be used in total, to both the left and the right of the decimal separator, is 15.
You can use the IsNum scripting function to validate numeric values.
Using data type Text
Text values can contain any alphanumeric character.
Different metadata values in different document types
If several document types use the same metadata group, you can assign different metadata values in the document types.Click to enlarge
Figure 4
OpenText StreamServe 5.6.2 Updated: 2018-01-26