216: /*
217: || check for action in trigger and pass the same to the procedure
218: */
219: IF INSERTING THEN
220: lv_action := jai_constants.inserting ;
221: ELSIF UPDATING THEN
222: lv_action := jai_constants.updating ;
223: ELSIF DELETING THEN
224: lv_action := jai_constants.deleting ;
218: */
219: IF INSERTING THEN
220: lv_action := jai_constants.inserting ;
221: ELSIF UPDATING THEN
222: lv_action := jai_constants.updating ;
223: ELSIF DELETING THEN
224: lv_action := jai_constants.deleting ;
225: END IF ;
226:
220: lv_action := jai_constants.inserting ;
221: ELSIF UPDATING THEN
222: lv_action := jai_constants.updating ;
223: ELSIF DELETING THEN
224: lv_action := jai_constants.deleting ;
225: END IF ;
226:
227: IF UPDATING THEN
228:
233: pv_return_code => lv_return_code ,
234: pv_return_message => lv_return_message
235: );
236:
237: IF lv_return_code <> jai_constants.successful then
238: RAISE le_error;
239: END IF;
240:
241: END IF ;