Configuring external systems
To use interface tables, you must create the tables and configure the IFACETABLECONSUMER cron task.
Overall processing
To configure the external systems to perform general interface queue table and interface table processing:
- Define procedures to restore the backups of the interface tables.
- Create interface tables in the user interface.
- Manage the archiving of interface tables.
Inbound processing
To configure the external system to perform inbound interface queue table and inbound interface table processing:
- Create and initialize the outbound TRANSID counter.
- Create records for each interface table that an inbound transaction writes to:
- Create an interface table record and populate it with the following information:
- The transaction data
- The incremented TRANSID value
- If multiple records exist for the same interface table, the incremented TRANSSEQ value
- Create an MXIN_INTER_TRANS queue record with the following information:
- The same TRANSID value that is contained the interface table record
- The name of the enterprise service that corresponds to the interface table, in the IFACENAME column
- Optional: The ACTION value
- The identifier of the external system, in the EXTSYSNAME column
- Perform a single commit, to commit all records for a transaction at one time.
- Create an interface table record and populate it with the following information:
Inbound null columns
If a column in an interface table contains a null value, the applicable objects process the column in the following ways:
- By default, the field is not updated by the transaction.
- If you add the empty tag when you are using a user exit, the object adds a null value to the field in the Maximo® Asset Management database.
Outbound processing
To configure the external system to perform outbound interface queue table and inbound interface table processing:
- Set up a process to retrieve interface table transactions by using the MXOUT_INTER_TRANS queue table. You can use a polling program, a trigger, or any other mechanism.
- For the polling program to process transactions sequentially:
- Read the records in the MXOUT_INTER_TRANS queue table in the TRANSID sequence.
- Enable each record in the MXOUT_INTER_TRANS queue table:
- Access the interface table that you just identified, and retrieve the first record in which the TRANSID value matches the TRANSID value in the current MXOUT_INTER_TRANS queue record. If the interface table contains multiple records with the same TRANSID value, retrieve and process them in TRANSSEQ sequence.
- Process data according to the value in the ACTION column of the interface queue table.
- Commit all records for a single database transaction.
- Delete the current record from the MXOUT_INTER_TRANS queue table.
- Implement error management, based on your external system requirements.