272: /*
273: || check for action in trigger and pass the same to the procedure
274: */
275: IF INSERTING THEN
276: lv_action := jai_constants.inserting ;
277: ELSIF UPDATING THEN
278: lv_action := jai_constants.updating ;
279: ELSIF DELETING THEN
280: lv_action := jai_constants.deleting ;
274: */
275: IF INSERTING THEN
276: lv_action := jai_constants.inserting ;
277: ELSIF UPDATING THEN
278: lv_action := jai_constants.updating ;
279: ELSIF DELETING THEN
280: lv_action := jai_constants.deleting ;
281: END IF ;
282:
276: lv_action := jai_constants.inserting ;
277: ELSIF UPDATING THEN
278: lv_action := jai_constants.updating ;
279: ELSIF DELETING THEN
280: lv_action := jai_constants.deleting ;
281: END IF ;
282:
283: IF INSERTING THEN
284:
289: pv_return_code => lv_return_code ,
290: pv_return_message => lv_return_message
291: );
292:
293: IF lv_return_code <> jai_constants.successful then
294: RAISE le_error;
295: END IF;
296:
297: END IF ;