Retrieving a collaboration switch

Each process control ID is associated with at least three collaboration switches, the default switches and any switches that the user adds. The integration framework provides the logic that determines which system ID values to set when retrieving a collaboration switch from the MXCOLLAB table.

Procedure

  1. The integration framework determines the values for System ID 1 and System ID 2 based on the process control ID in an inbound transaction.
    For example, if the process control ID is PRDEL, System ID 1 is THISMX, and System ID 2 is the system that owns the PR.
  2. If the value in System ID 1 is blank, null, or equal to the value in the MXSYSID row of the MAXVARS table, System ID 1 is set to THISMX .
  3. If the value in System ID 2 is blank, null, or is equal to the value in the MXSYSID row of the MAXVARS table, and the process control ID is not PRPAB, System ID 2 is set to THISMX.
  4. If the process control ID is PRPAB, the value in System ID 2 is set to null after step 1, and System ID 2 is set to EXT (if a blanket PO does not exist).
  5. If both System ID 1 and System ID 2 are now set to THISMX, default processing is used and the remaining logic is not applied.
  6. The MXCOLLAB table is checked, to identify if it contains a record with the key.
    If the record exists, the process control value for the record indicates whether to use or bypass standard processing and the remaining logic is not applied.
  7. If a matching record does not exist in the database, the key is modified in the following manner:
    • If System ID 1 now equals THISMX and System ID 2 does not equal THISMX, EXT is set as the value for System ID 2.
    • If System ID 1 value does not equal THISMX and System ID 2 equals THISMX, EXT is set as the value for System ID 1.
  8. The MXCOLLAB table is checked again, to identify if it contains a record with the modified key.
    If the record exists, the process control value for the record indicates whether to use or bypass standard processing and the remaining logic is not applied.
  9. EXT is set as the value for both System ID 1 and System ID 2.
  10. The record with the modified key is retrieved from the MXCOLLAB table.
    This record always exists, because every process control value has a default collaboration switch with both system IDs set to EXT.
  11. The process control value for the record indicates whether to use or bypass standard processing.