Object schemas in the Report XML

The report XML file template includes a placeholder for a list of object schemas. The schemas define the type of data in each field for the object. If object schemas are not listed in the job file, then Web Reports defines every field as a String. This can cause the report to fail when you try to print a date or number field.

You can include more than one object; therefore, you should include more than one schema. For example, a report can include vendor information for a purchased raw material.

You can hard-code a list of schemas in the report schema for each report. The job file includes all the schemas listed in the report template.

Or, you can use the workflow to dynamically add the schemas to the job file.