92: /*
93: || check for action in trigger and pass the same to the procedure
94: */
95: IF INSERTING THEN
96: lv_action := jai_constants.inserting ;
97: ELSIF UPDATING THEN
98: lv_action := jai_constants.updating ;
99: ELSIF DELETING THEN
100: lv_action := jai_constants.deleting ;
94: */
95: IF INSERTING THEN
96: lv_action := jai_constants.inserting ;
97: ELSIF UPDATING THEN
98: lv_action := jai_constants.updating ;
99: ELSIF DELETING THEN
100: lv_action := jai_constants.deleting ;
101: END IF ;
102:
96: lv_action := jai_constants.inserting ;
97: ELSIF UPDATING THEN
98: lv_action := jai_constants.updating ;
99: ELSIF DELETING THEN
100: lv_action := jai_constants.deleting ;
101: END IF ;
102:
103: IF INSERTING THEN
104:
109: pv_return_code => lv_return_code ,
110: pv_return_message => lv_return_message
111: );
112:
113: IF lv_return_code <> jai_constants.successful then
114: RAISE le_error;
115: END IF;
116:
117: END IF ;