200: /*
201: || check for action in trigger and pass the same to the procedure
202: */
203: IF INSERTING THEN
204: lv_action := jai_constants.inserting ;
205: ELSIF UPDATING THEN
206: lv_action := jai_constants.updating ;
207: ELSIF DELETING THEN
208: lv_action := jai_constants.deleting ;
202: */
203: IF INSERTING THEN
204: lv_action := jai_constants.inserting ;
205: ELSIF UPDATING THEN
206: lv_action := jai_constants.updating ;
207: ELSIF DELETING THEN
208: lv_action := jai_constants.deleting ;
209: END IF ;
210:
204: lv_action := jai_constants.inserting ;
205: ELSIF UPDATING THEN
206: lv_action := jai_constants.updating ;
207: ELSIF DELETING THEN
208: lv_action := jai_constants.deleting ;
209: END IF ;
210:
211: IF INSERTING THEN
212:
217: pv_return_code => lv_return_code ,
218: pv_return_message => lv_return_message
219: );
220:
221: IF lv_return_code <> jai_constants.successful then
222: RAISE le_error;
223: END IF;
224:
225: END IF ;