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: -- Bug# 6366169
244: pv_return_code => lv_return_code ,
245: pv_return_message => lv_return_message
246: );
247:
248: IF lv_return_code <> jai_constants.successful then
249: RAISE le_error;
250: END IF;
251:
252: END IF ;
295: );
296:
297:
298:
299: IF lv_return_code <> jai_constants.successful then
300: RAISE le_error;
301: END IF;
302:
303: END IF ;