134: /*
135: || check for action in trigger and pass the same to the procedure
136: */
137: IF INSERTING THEN
138: lv_action := jai_constants.inserting ;
139: ELSIF UPDATING THEN
140: lv_action := jai_constants.updating ;
141: ELSIF DELETING THEN
142: lv_action := jai_constants.deleting ;
136: */
137: IF INSERTING THEN
138: lv_action := jai_constants.inserting ;
139: ELSIF UPDATING THEN
140: lv_action := jai_constants.updating ;
141: ELSIF DELETING THEN
142: lv_action := jai_constants.deleting ;
143: END IF ;
144:
138: lv_action := jai_constants.inserting ;
139: ELSIF UPDATING THEN
140: lv_action := jai_constants.updating ;
141: ELSIF DELETING THEN
142: lv_action := jai_constants.deleting ;
143: END IF ;
144:
145: IF UPDATING THEN
146:
153: pv_return_code => lv_return_code ,
154: pv_return_message => lv_return_message
155: );
156:
157: IF lv_return_code <> jai_constants.successful then
158: RAISE le_error;
159: END IF;
160:
161: END IF ;