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