602: /*
603: || check for action in trigger and pass the same to the procedure
604: */
605: IF INSERTING THEN
606: lv_action := jai_constants.inserting ;
607: ELSIF UPDATING THEN
608: lv_action := jai_constants.updating ;
609: ELSIF DELETING THEN
610: lv_action := jai_constants.deleting ;
604: */
605: IF INSERTING THEN
606: lv_action := jai_constants.inserting ;
607: ELSIF UPDATING THEN
608: lv_action := jai_constants.updating ;
609: ELSIF DELETING THEN
610: lv_action := jai_constants.deleting ;
611: END IF ;
612:
606: lv_action := jai_constants.inserting ;
607: ELSIF UPDATING THEN
608: lv_action := jai_constants.updating ;
609: ELSIF DELETING THEN
610: lv_action := jai_constants.deleting ;
611: END IF ;
612:
613: IF INSERTING THEN
614:
619: pv_return_code => lv_return_code ,
620: pv_return_message => lv_return_message
621: );
622:
623: IF lv_return_code <> jai_constants.successful then
624: RAISE le_error;
625: END IF;
626:
627: END IF ;