317: /*
318: || check for action in trigger and pass the same to the procedure
319: */
320: IF INSERTING THEN
321: lv_action := jai_constants.inserting ;
322: ELSIF UPDATING THEN
323: lv_action := jai_constants.updating ;
324: ELSIF DELETING THEN
325: lv_action := jai_constants.deleting ;
319: */
320: IF INSERTING THEN
321: lv_action := jai_constants.inserting ;
322: ELSIF UPDATING THEN
323: lv_action := jai_constants.updating ;
324: ELSIF DELETING THEN
325: lv_action := jai_constants.deleting ;
326: END IF ;
327:
321: lv_action := jai_constants.inserting ;
322: ELSIF UPDATING THEN
323: lv_action := jai_constants.updating ;
324: ELSIF DELETING THEN
325: lv_action := jai_constants.deleting ;
326: END IF ;
327:
328: IF INSERTING THEN
329:
340: pv_return_code => lv_return_code ,
341: pv_return_message => lv_return_message
342: );
343:
344: IF lv_return_code <> jai_constants.successful then
345: RAISE le_error;
346: END IF;
347:
348: END IF ;