262: /*
263: || check for action in trigger and pass the same to the procedure
264: */
265: IF INSERTING THEN
266: --lv_action := jai_constants.inserting ; --commented by Bgowrava for Bug#6144268
267: lv_action := 'INSERTING'; /*ssumaith - bug#6144268 */
268: ELSIF UPDATING THEN
269: lv_action := jai_constants.updating ;
270: ELSIF DELETING THEN
265: IF INSERTING THEN
266: --lv_action := jai_constants.inserting ; --commented by Bgowrava for Bug#6144268
267: lv_action := 'INSERTING'; /*ssumaith - bug#6144268 */
268: ELSIF UPDATING THEN
269: lv_action := jai_constants.updating ;
270: ELSIF DELETING THEN
271: lv_action := jai_constants.deleting ;
272: END IF ;
273:
267: lv_action := 'INSERTING'; /*ssumaith - bug#6144268 */
268: ELSIF UPDATING THEN
269: lv_action := jai_constants.updating ;
270: ELSIF DELETING THEN
271: lv_action := jai_constants.deleting ;
272: END IF ;
273:
274: IF UPDATING THEN
275:
282: pv_return_code => lv_return_code ,
283: pv_return_message => lv_return_message
284: );
285:
286: IF lv_return_code <> jai_constants.successful then
287: RAISE le_error;
288: END IF;
289:
290: END IF ;