Default Warnings and Errors
Additional warnings and errors are:• Notifications from preprocessing and postprocessing programs
• Occurrences of unused fields in QAD Enterprise Applications
• Occurrences of unused iterations in QAD Enterprise Applications
• Occurrences of over-length field data in QAD Enterprise Applications
Preprocessing and Postprocessing Messages
The content of the preprocessing and postprocessing messages is up to the programmer writing the programs.For details on how to make the correct calls to add these messages to the response, see Warnings and Errors.Messages for Unused Fields
In some cases, fields may exist in a QDoc that are never used during the processing of that QDoc. For example, if a field node exists in the QDoc that is not part of the schema or is misspelled, it is not matched with a field in QAD Enterprise Applications and remains unused during the processing of that QDoc. This information is added to the response QDoc as a warning regardless of the suppressResponseDetail setting. For details, see Include QAD Enterprise Applications Field Values). The response message is:Field was unused, see context for details.
Messages for Unused Iterations
In some cases, entire iterations in a QDoc are never used during the processing of that QDoc. For example, a control program disables the display of a frame but an iteration with fields for that frame is included in the QDoc. Since that frame is never visited during the processing of the QDoc, a warning displays in the response QDoc regardless of the suppressResponseDetail setting. For details, see Include QAD Enterprise Applications Field Values).Iterations were unused, see context for details.
For both unused fields and unused iterations, if the QDoc is deleting a record and if additional fields or iterations are in the QDoc, these are noted by messages in the response QDoc also. It is usually the case that only a smaller subset of fields is needed to delete a record, but users may not always remove the unnecessary fields or iterations from the schema files.Controlling Messages for Unused Fields and Iterations
You can control the display of messages arising from unused fields and iterations in response QDocs by using the excludeUnusedWarnings node. By default, the display of these messages is suppressed.To include messages for unused fields and iterations in the response documents, edit the qxtendconfig.xml file located in TOMCAT_HOME/webapps//WEB-INF/conf. Locate and set the following node to false; for example:boolean excludeUnusedWarnings = “false”
Messages for Field Length
Occurrences where the input data from the QDoc is too long for the input field in QAD Enterprise Applications cause either a warning or error message, depending on whether the field is a primary key. If it is a primary key, an error is returned. Otherwise, the following warning shows:Data submitted to QAD Enterprise Applications was too long for the QAD Enterprise Applications field size.