Real Time Information Director User Documentation
RTID Metadata Language
Hewlett-Packard Company 31 529618-002
public FieldsElement(String tagName, String[] columnNames)
public FieldsElement(String tagName, String columnNames)
Examples:
new FieldsElement("BELNR", new String[] {
"SALES_ORDER_NO", "PRECEDING_DOCUMENT_NO"
}),
new FieldsElement( new FieldElement[] {
new FieldElement("ZEILE", "REFERENCE_DOCUMENT_ITEM_NO"),
new FieldElement("ZEILE", "PRECEDING_DOCUMENT_ITEM_NO")
})
Here is an example of how to pass multiple column names as a single string, instead of an
array. You can use this syntax for any class that has a constructor with a parameter of the
form String names, where names is a plural noun.
new FieldsElement("BELNR", "SALES_ORDER_NO PRECEDING_DOCUMENT_NO")
Qualified Segments
A qualified segment is a segment in which the column to which a given data element is
mapped depends on the value of another data element, called the qualifier. In the
following metadata excerpt, the qualifier is called QUALF:
new QualifiedSegment("E1EDK14", "QUALF", new SegmentQualifier[] {
new SegmentQualifier("001", "ORGID", "BUSINESS_AREA_CD"),
new SegmentQualifier("006", "ORGID", "DIVISION_CD"),
new SegmentQualifier("007", "ORGID", "DISTRIBUTION_CHANNEL_CD"),
new SegmentQualifier("008", "ORGID", "SALES_ORGANIZATION_CD"),
new SegmentQualifier("012", "ORGID", "SALES_DOCUMENT_TY"),
new SegmentQualifier("010", "ORGID", "SALES_GP"),
new SegmentQualifier("016", "ORGID", "SALES_OFFICE_CD")
}),
new QualifiedSegment("E1EDK03", "IDDAT", new SegmentQualifier[] {
new SegmentQualifier("002", "DATUM", "REQUESTED_DELIVERY_DT"),
new SegmentQualifier("005", "DATUM", "VALID_FROM_QUOTATION_DT"),
new SegmentQualifier("006", "DATUM", "VALID_TO_QUOTATION_DT"),
new SegmentQualifier("012", "DATUM","DOCUMENT_RECEIVED_SENT_DT"),
new SegmentQualifier("022", "DATUM","CUSTOMER_PURCHASE_ORDER_DT"),
new SegmentQualifier("025", new FieldElement[] {
new FieldElement("DATUM", "RECORD_CREATE_DT"),
new FieldElement("UZEIT", "ORDER_ENTRY_TM")
}),
new SegmentQualifier("023","DATUM","PRICE_AND_EXCHANGE_RATE_DT")
}),
An E1EDK14 segment can occur several times in the ORDERS05 document. The first
element of the E1EDK14 segment is always âQUALFâ.