Example of Calling More Than One Object Interface Method in Siebel VB

The following example uses the Select statement in Siebel VB:

Dim iReturn As Integer
iReturn = ContinueOperation
Select Case methodName
   Case "PushOpportunity"
      your custom code
      iReturn = CancelOperation
   Case "Stage3"
      your custom code
      iReturn = CancelOperation
End Select
object_PreInvokeMethod = iReturn