172: /*
173: || check for action in trigger and pass the same to the procedure
174: */
175: IF INSERTING THEN
176: lv_action := jai_constants.inserting ;
177: ELSIF UPDATING THEN
178: lv_action := jai_constants.updating ;
179: ELSIF DELETING THEN
180: lv_action := jai_constants.deleting ;
174: */
175: IF INSERTING THEN
176: lv_action := jai_constants.inserting ;
177: ELSIF UPDATING THEN
178: lv_action := jai_constants.updating ;
179: ELSIF DELETING THEN
180: lv_action := jai_constants.deleting ;
181: END IF ;
182:
176: lv_action := jai_constants.inserting ;
177: ELSIF UPDATING THEN
178: lv_action := jai_constants.updating ;
179: ELSIF DELETING THEN
180: lv_action := jai_constants.deleting ;
181: END IF ;
182:
183: IF UPDATING THEN
184:
189: pv_return_code => lv_return_code ,
190: pv_return_message => lv_return_message
191: );
192:
193: IF lv_return_code <> jai_constants.successful then
194: RAISE le_error;
195: END IF;
196:
197: END IF ;