418: /*
419: || check for action in trigger and pass the same to the procedure
420: */
421: IF INSERTING THEN
422: lv_action := jai_constants.inserting ;
423: ELSIF UPDATING THEN
424: lv_action := jai_constants.updating ;
425: ELSIF DELETING THEN
426: lv_action := jai_constants.deleting ;
420: */
421: IF INSERTING THEN
422: lv_action := jai_constants.inserting ;
423: ELSIF UPDATING THEN
424: lv_action := jai_constants.updating ;
425: ELSIF DELETING THEN
426: lv_action := jai_constants.deleting ;
427: END IF ;
428:
422: lv_action := jai_constants.inserting ;
423: ELSIF UPDATING THEN
424: lv_action := jai_constants.updating ;
425: ELSIF DELETING THEN
426: lv_action := jai_constants.deleting ;
427: END IF ;
428:
429: IF INSERTING THEN
430:
437: pv_return_code => lv_return_code ,
438: pv_return_message => lv_return_message
439: );
440:
441: IF lv_return_code <> jai_constants.successful then
442: RAISE le_error;
443: END IF;
444:
445: END IF ;