Preprocessing method for outbound transactions
The input to the first outbound user exit point is the XML that is generated by the object structure. If you have an ERP adapter processing class, you can use either the preprocessing method or postprocessing method to implement your custom logic, depending upon your requirement.
By using the preprocessing exit point, you can change data in the message which later alters the processing logic of a processing class when it is implemented.
Outbound message customization can be done in the preprocessor method, by using the following method:
public StructureData setUserValueOut(StructureData irData)
This method can perform the following processing:
- Validate data.
- Change system data by changing the IR record that is sent to the external system.
- Stop the message from being sent out of Maximo® Manage by throwing a system exception. The entire message is rolled back. If the message is initiated by an event, the entire message is also rolled back, including any changes that you make in an application.
- Stop the message from being sent to the external system by throwing a SKIP_TRANSACTION exception.
- Log the transaction.