440: /*
441: || check for action in trigger and pass the same to the procedure
442: */
443: IF INSERTING THEN
444: lv_action := jai_constants.inserting ;
445: ELSIF UPDATING THEN
446: lv_action := jai_constants.updating ;
447: ELSIF DELETING THEN
448: lv_action := jai_constants.deleting ;
442: */
443: IF INSERTING THEN
444: lv_action := jai_constants.inserting ;
445: ELSIF UPDATING THEN
446: lv_action := jai_constants.updating ;
447: ELSIF DELETING THEN
448: lv_action := jai_constants.deleting ;
449: END IF ;
450:
444: lv_action := jai_constants.inserting ;
445: ELSIF UPDATING THEN
446: lv_action := jai_constants.updating ;
447: ELSIF DELETING THEN
448: lv_action := jai_constants.deleting ;
449: END IF ;
450:
451: IF INSERTING THEN
452:
462: pv_return_code => lv_return_code ,
463: pv_return_message => lv_return_message
464: );
465:
466: IF lv_return_code <> jai_constants.successful then
467: RAISE le_error;
468: END IF;
469:
470: END IF ;