108: /*
109: || check for action in trigger and pass the same to the procedure
110: */
111: IF INSERTING THEN
112: lv_action := jai_constants.inserting ;
113: ELSIF UPDATING THEN
114: lv_action := jai_constants.updating ;
115: ELSIF DELETING THEN
116: lv_action := jai_constants.deleting ;
110: */
111: IF INSERTING THEN
112: lv_action := jai_constants.inserting ;
113: ELSIF UPDATING THEN
114: lv_action := jai_constants.updating ;
115: ELSIF DELETING THEN
116: lv_action := jai_constants.deleting ;
117: END IF ;
118:
112: lv_action := jai_constants.inserting ;
113: ELSIF UPDATING THEN
114: lv_action := jai_constants.updating ;
115: ELSIF DELETING THEN
116: lv_action := jai_constants.deleting ;
117: END IF ;
118:
119: IF UPDATING THEN
120:
127: pv_return_code => lv_return_code ,
128: pv_return_message => lv_return_message
129: );
130:
131: IF lv_return_code <> jai_constants.successful then
132: RAISE le_error;
133: END IF;
134:
135: END IF ;