A_CheckCmdComplete
This action checks if an operator command is complete and raises an event 'E_InTxnComplete' if so. For legacy commands, the event is raised straightaway. A legacy command is one of the following:
- E_CmdAuthorized
- E_OperatorCancel
- E_OperatorContinue
- E_CmdAuthRejected
- E_OutPTResend
- E_OperatorVerify
For any non-legacy operator commands, the object-object relationship between the command and the targeted objects are checked. If any relationships exists with the TYPE equal to 'TARGETS', this means that some or all of the commands were unsuccessful and an 'E_CmdError' event is raised with the PARTIAL context set to 'Y' on 'N'. If none of these type of relationships exists, it means that the TYPE has been changed from 'TARGETS' to 'TARGETS_OK', meaning that all the commands were successful, and the 'E_InTxnComplete' event is raised.