364: /*
365: || check for action in trigger and pass the same to the procedure
366: */
367: IF INSERTING THEN
368: lv_action := jai_constants.inserting ;
369: ELSIF UPDATING THEN
370: lv_action := jai_constants.updating ;
371: ELSIF DELETING THEN
372: lv_action := jai_constants.deleting ;
366: */
367: IF INSERTING THEN
368: lv_action := jai_constants.inserting ;
369: ELSIF UPDATING THEN
370: lv_action := jai_constants.updating ;
371: ELSIF DELETING THEN
372: lv_action := jai_constants.deleting ;
373: END IF ;
374:
368: lv_action := jai_constants.inserting ;
369: ELSIF UPDATING THEN
370: lv_action := jai_constants.updating ;
371: ELSIF DELETING THEN
372: lv_action := jai_constants.deleting ;
373: END IF ;
374:
375: IF UPDATING THEN
376:
383: pv_return_code => lv_return_code ,
384: pv_return_message => lv_return_message
385: );
386:
387: IF lv_return_code <> jai_constants.successful then
388: RAISE le_error;
389: END IF;
390:
391: END IF ;