314: /*
315: || check for action in trigger and pass the same to the procedure
316: */
317: IF INSERTING THEN
318: lv_action := jai_constants.inserting ;
319: ELSIF UPDATING THEN
320: lv_action := jai_constants.updating ;
321: ELSIF DELETING THEN
322: lv_action := jai_constants.deleting ;
316: */
317: IF INSERTING THEN
318: lv_action := jai_constants.inserting ;
319: ELSIF UPDATING THEN
320: lv_action := jai_constants.updating ;
321: ELSIF DELETING THEN
322: lv_action := jai_constants.deleting ;
323: END IF ;
324:
318: lv_action := jai_constants.inserting ;
319: ELSIF UPDATING THEN
320: lv_action := jai_constants.updating ;
321: ELSIF DELETING THEN
322: lv_action := jai_constants.deleting ;
323: END IF ;
324:
325: IF INSERTING THEN
326:
333: pv_return_code => lv_return_code ,
334: pv_return_message => lv_return_message
335: );
336:
337: IF lv_return_code <> jai_constants.successful then
338: RAISE le_error;
339: END IF;
340:
341: END IF ;