DBA Data[Home] [Help]

APPS.JAI_JRG_23AC1_BRIUD_T1 dependencies on JAI_CONSTANTS

Line 245: lv_action := jai_constants.inserting ;

241: /*
242: || check for action in trigger and pass the same to the procedure
243: */
244: IF INSERTING THEN
245: lv_action := jai_constants.inserting ;
246: ELSIF UPDATING THEN
247: lv_action := jai_constants.updating ;
248: ELSIF DELETING THEN
249: lv_action := jai_constants.deleting ;

Line 247: lv_action := jai_constants.updating ;

243: */
244: IF INSERTING THEN
245: lv_action := jai_constants.inserting ;
246: ELSIF UPDATING THEN
247: lv_action := jai_constants.updating ;
248: ELSIF DELETING THEN
249: lv_action := jai_constants.deleting ;
250: END IF ;
251:

Line 249: lv_action := jai_constants.deleting ;

245: lv_action := jai_constants.inserting ;
246: ELSIF UPDATING THEN
247: lv_action := jai_constants.updating ;
248: ELSIF DELETING THEN
249: lv_action := jai_constants.deleting ;
250: END IF ;
251:
252: IF INSERTING THEN
253: --start additions for bug#6012654

Line 255: lv_return_code :=jai_constants.expected_error;

251:
252: IF INSERTING THEN
253: --start additions for bug#6012654
254: IF t_new_rec.CLOSING_BALANCE_QTY < 0 THEN
255: lv_return_code :=jai_constants.expected_error;
256: lv_return_message :='Enough RG23 Part1 balances does not exist. Register Type,Org,Loc-'||t_new_rec.register_type||','||t_new_rec.organization_id||','||t_new_rec.location_id;
257: RAISE le_error;
258: END IF ;
259: --end additions for bug#6012654

Line 270: IF lv_return_code <> jai_constants.successful then

266: pv_return_code => lv_return_code ,
267: pv_return_message => lv_return_message
268: );
269:
270: IF lv_return_code <> jai_constants.successful then
271: RAISE le_error;
272: END IF;
273:
274: END IF ;