279:
280: END IF;
281:
282: IF INSERTING THEN
283: lv_action := jai_constants.inserting ;
284: ELSIF UPDATING THEN
285: lv_action := jai_constants.updating ;
286: ELSIF DELETING THEN
287: lv_action := jai_constants.deleting ;
281:
282: IF INSERTING THEN
283: lv_action := jai_constants.inserting ;
284: ELSIF UPDATING THEN
285: lv_action := jai_constants.updating ;
286: ELSIF DELETING THEN
287: lv_action := jai_constants.deleting ;
288: END IF ;
289:
283: lv_action := jai_constants.inserting ;
284: ELSIF UPDATING THEN
285: lv_action := jai_constants.updating ;
286: ELSIF DELETING THEN
287: lv_action := jai_constants.deleting ;
288: END IF ;
289:
290:
291: OPEN c_loc_receipt_class;
310: pv_action => lv_action ,
311: pv_return_code => lv_return_code ,
312: pv_return_message => lv_return_message
313: );
314: IF lv_return_code <> jai_constants.successful then
315: RAISE le_error;
316: END IF;
317: END IF;
318: ELSIF UPDATING THEN
322: pv_action => lv_action ,
323: pv_return_code => lv_return_code ,
324: pv_return_message => lv_return_message
325: );
326: IF lv_return_code <> jai_constants.successful then
327: RAISE le_error;
328: END IF;
329: END IF;
330: ELSIF DELETING THEN
334: pv_action => lv_action ,
335: pv_return_code => lv_return_code ,
336: pv_return_message => lv_return_message
337: );
338: IF lv_return_code <> jai_constants.successful then
339: RAISE le_error;
340: END IF;
341: END IF;
342: END IF;