FieldTypes Section
Each PeopleSoft message includes field type information. Field type information conveys the name of each data record and its constituent fields, along with each field’s data type. Your receiving application can use this information to validate data types. The field type information is contained in the FieldTypes section of the message.
There are two FieldTypes tags:
-
Each record tag consists of the name of a record, followed by a class attribute with a single valid value: R. The record tag encloses that record’s field tags.
-
Each field tag consists of the name of a field, followed by a type attribute with three valid values: CHAR for a character field, DATE for a date field, and NUMBER for a numeric field.
Following is a simple FieldTypes template.
<FieldTypes>
<recordname1 class="R">
<fieldname1 type="CHAR"/>
<fieldname2 type="DATE"/>
<fieldname3 type="NUMBER"/>
</recordname1>
<recordname2 class="R">
<fieldname4 type="NUMBER"/>
</recordname2>
<FieldTypes>Note:
Third-party sending applications must include a valid FieldTypes section in each message. The PeopleSoft system expects field type information for each record and field in the message.