85: /*
86: || check for action in trigger and pass the same to the procedure
87: */
88: IF INSERTING THEN
89: lv_action := jai_constants.inserting ;
90: ELSIF UPDATING THEN
91: lv_action := jai_constants.updating ;
92: ELSIF DELETING THEN
93: lv_action := jai_constants.deleting ;
87: */
88: IF INSERTING THEN
89: lv_action := jai_constants.inserting ;
90: ELSIF UPDATING THEN
91: lv_action := jai_constants.updating ;
92: ELSIF DELETING THEN
93: lv_action := jai_constants.deleting ;
94: END IF ;
95:
89: lv_action := jai_constants.inserting ;
90: ELSIF UPDATING THEN
91: lv_action := jai_constants.updating ;
92: ELSIF DELETING THEN
93: lv_action := jai_constants.deleting ;
94: END IF ;
95:
96: IF INSERTING THEN
97:
102: pv_return_code => lv_return_code ,
103: pv_return_message => lv_return_message
104: );
105:
106: IF lv_return_code <> jai_constants.successful then
107: RAISE le_error;
108: END IF;
109:
110: END IF ;