434: /*
435: || check for action in trigger and pass the same to the procedure
436: */
437: IF INSERTING THEN
438: lv_action := jai_constants.inserting ;
439: ELSIF UPDATING THEN
440: lv_action := jai_constants.updating ;
441: ELSIF DELETING THEN
442: lv_action := jai_constants.deleting ;
436: */
437: IF INSERTING THEN
438: lv_action := jai_constants.inserting ;
439: ELSIF UPDATING THEN
440: lv_action := jai_constants.updating ;
441: ELSIF DELETING THEN
442: lv_action := jai_constants.deleting ;
443: END IF ;
444:
438: lv_action := jai_constants.inserting ;
439: ELSIF UPDATING THEN
440: lv_action := jai_constants.updating ;
441: ELSIF DELETING THEN
442: lv_action := jai_constants.deleting ;
443: END IF ;
444:
445: IF INSERTING THEN
446:
451: pv_return_code => lv_return_code ,
452: pv_return_message => lv_return_message
453: );
454:
455: IF lv_return_code <> jai_constants.successful then
456: RAISE le_error;
457: END IF;
458:
459: END IF ;