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