In order to bring you the best possible user experience, this site uses Javascript. If you are seeing this message, it is likely that the Javascript option in your browser is disabled. For optimal viewing of this site, please ensure that Javascript is enabled for your browser.
Login  |   On Demand  |   Home  |   qad.com




Introduction
The QXI preprocessor lets you call custom programs to validate or modify inbound QDocs prior to writing data to QAD Enterprise Applications. The preprocessor programs can eliminate QAD Enterprise Applications errors, filter required records, eliminate records based on unique sets of criteria, or add or remove data as required.
Important: QAD discourages the practise of performing database updates using a preprocessor program due to the significant effects this can have upon system performance. If you decide to perform an update, the update will not be within the same transaction as the QDoc being processed. Consequently if the QDoc fails, the preprocessing transaction will be complete, but the QDoc processing will be incomplete. This situation can be avoided by setting the scopeTransaction attribute in the QDoc to True in order to scope the processing of the QDoc to a single transaction, but doing so can result in the performance issues mentioned.
The postprocessor is similar but is used to validate and modify the response document contents. One example is obtaining updated data from QAD Enterprise Applications, such as line item prices that changed after the initial data update from the QDoc request.
The method for implementing and using the QXtend pre- and postprocessors is:
Enable pre- and postprocessing capability.
Update the events files to reference the pre- or postprocessing program.
Create the custom pre- or postprocessor program.