129: /*
130: || check for action in trigger and pass the same to the procedure
131: */
132: IF INSERTING THEN
133: lv_action := jai_constants.inserting ;
134: ELSIF UPDATING THEN
135: lv_action := jai_constants.updating ;
136: ELSIF DELETING THEN
137: lv_action := jai_constants.deleting ;
131: */
132: IF INSERTING THEN
133: lv_action := jai_constants.inserting ;
134: ELSIF UPDATING THEN
135: lv_action := jai_constants.updating ;
136: ELSIF DELETING THEN
137: lv_action := jai_constants.deleting ;
138: END IF ;
139:
133: lv_action := jai_constants.inserting ;
134: ELSIF UPDATING THEN
135: lv_action := jai_constants.updating ;
136: ELSIF DELETING THEN
137: lv_action := jai_constants.deleting ;
138: END IF ;
139:
140: IF UPDATING THEN
141:
148: pv_return_code => lv_return_code ,
149: pv_return_message => lv_return_message
150: );
151:
152: IF lv_return_code <> jai_constants.successful then
153: RAISE le_error;
154: END IF;
155:
156: END IF ;