Real Time Information Director User Documentation

RTID Message Format and Programmatic Interfaces
Hewlett-Packard Company 3 529618 - 002
Excerpts from a Native Document
The following excerpt comes from a native document complying with a document
definition called NativeOrders.
<?xml version="1.0" encoding="ISO-8859-1"?>
<NATIVEORDERS>
<SALES_ORDER>
<SALES_DOCUMENT_TY>YOR</SALES_DOCUMENT_TY>
<PRECEDING_DOCUMENT_NO>0200114533</PRECEDING_DOCUMENT_NO>
<CUSTOMER_PURCHASE_ORDER_DT>2002-10-
18</CUSTOMER_PURCHASE_ORDER_DT>
<INCOTERMS_2_TX>DELIVERED DUTY UNPAID</INCOTERMS_2_TX>
<SOURCE_NM>ORDERS05SAPAPL</SOURCE_NM>
<ROLE_SPEC_SLS_ORD_EVENT>
<EVENT_SPEC_CUSTOMER_NO>ZHPF400</EVENT_SPEC_CUSTOMER_NO>
<EVENT_SPEC_LANGUAGE_CD>E</EVENT_SPEC_LANGUAGE_CD>
</ROLE_SPEC_SLS_ORD_EVENT>
<ROLE_SPEC_SLS_ORD_EVENT>
<EVENT_SPEC_TITLE_TX>Company</EVENT_SPEC_TITLE_TX>
<EVENT_SPEC_LANGUAGE_CD>E</EVENT_SPEC_LANGUAGE_CD>
</ROLE_SPEC_SLS_ORD_EVENT>
Notice that the top tag is NATIVEORDERS, corresponding to the name of the metadata
class. The next tag is SALES_ORDER, which was the principal table specified in the
construction of the DocumentRecord.
<?xml version="1.0" encoding="ISO-8859-1"?>
<NATIVEORDERS>
<SALES_ORDER>
<SALES_DOCUMENT_TY>YOR</SALES_DOCUMENT_TY>
<PRECEDING_DOCUMENT_NO>0200114533</PRECEDING_DOCUMENT_NO>
<CUSTOMER_PURCHASE_ORDER_DT>2002-10-
18</CUSTOMER_PURCHASE_ORDER_DT>
<INCOTERMS_2_TX>DELIVERED DUTY UNPAID</INCOTERMS_2_TX>
<SOURCE_NM>ORDERS05SAPAPL</SOURCE_NM>
<ROLE_SPEC_SLS_ORD_EVENT>
<EVENT_SPEC_CUSTOMER_NO>ZHPF400</EVENT_SPEC_CUSTOMER_NO>
<EVENT_SPEC_LANGUAGE_CD>E</EVENT_SPEC_LANGUAGE_CD>
</ROLE_SPEC_SLS_ORD_EVENT>
<ROLE_SPEC_SLS_ORD_EVENT>
<EVENT_SPEC_TITLE_TX>Company</EVENT_SPEC_TITLE_TX>
<EVENT_SPEC_LANGUAGE_CD>E</EVENT_SPEC_LANGUAGE_CD>
</ROLE_SPEC_SLS_ORD_EVENT>
The SALES_ORDER tag is followed by XML elements for each of the fields in the
SALES_ORDER table. For example, the customer purchase order date is Oct 18 of
2002.
<?xml version="1.0" encoding="ISO-8859-1"?>
<NATIVEORDERS>