DBA Data[Home] [Help]

APPS.ARP_CASHBOOK dependencies on APP_EXCEPTION

Line 201: APP_EXCEPTION.RAISE_EXCEPTION;

197: l_settle_error_message := 'Exception while quering cash receipt ID: '|| p_cr_id ;
198: fnd_file.put_line(FND_FILE.LOG,l_settle_error_message);
199: ELSE
200: FND_MESSAGE.SET_NAME('AR','GENERIC_MESSAGE');
201: APP_EXCEPTION.RAISE_EXCEPTION;
202: END IF;
203: RETURN ;
204: END;
205:

Line 228: app_exception.raise_exception;

224: -- (bug 376817)
225:
226: IF ( l_crh_rec_old.status = 'REVERSED' ) THEN
227: fnd_message.set_name('AR', 'AR_CANNOT_CLEAR_REV_RECEIPT' );
228: app_exception.raise_exception;
229: END IF;
230:
231: -- Fetch the cash receipt record
232: l_cr_rec.cash_receipt_id := p_cr_id;

Line 1045: APP_EXCEPTION.RAISE_EXCEPTION;

1041: END IF;
1042:
1043: EXCEPTION
1044: WHEN settlement_pending_raise then
1045: APP_EXCEPTION.RAISE_EXCEPTION;
1046: WHEN OTHERS THEN
1047: IF PG_DEBUG in ('Y', 'C') THEN
1048: arp_util.debug( 'EXCEPTION: ARP_CASHBOOK.clear' );
1049: END IF;

Line 1106: app_exception.raise_exception;

1102: -- fail and give an error message
1103: IF ( l_crh_rec_old.status = 'REVERSED')
1104: THEN
1105: fnd_message.set_name('AR', 'AR_CANNOT_UNCLEAR_REV_RECEIPT' );
1106: app_exception.raise_exception;
1107: ELSE
1108: IF ( l_crh_rec_old.status <> 'CLEARED' )
1109: THEN
1110: fnd_message.set_name('AR', 'AR_RECEIPT_CANNOT_UNCLEAR' );

Line 1111: app_exception.raise_exception;

1107: ELSE
1108: IF ( l_crh_rec_old.status <> 'CLEARED' )
1109: THEN
1110: fnd_message.set_name('AR', 'AR_RECEIPT_CANNOT_UNCLEAR' );
1111: app_exception.raise_exception;
1112: END IF;
1113: END IF;
1114: -- make sure the receipt was not created as CLEARED
1115: -- (in that case there is no previous state, and we return to caller

Line 1566: app_exception.raise_exception;

1562: IF ( l_crh_rec_old.status = 'RISK_ELIMINATED' ) OR
1563: ( l_crh_rec_old.factor_flag <> 'Y' )
1564: THEN
1565: fnd_message.set_name('AR', 'AR_CANNOT_ELIMINATE_RISK' );
1566: app_exception.raise_exception;
1567: END IF;
1568:
1569: -- Insert a new history record
1570: l_receipt_amt := l_crh_rec_old.amount + nvl(L_crh_rec_old.factor_discount_amount,0);

Line 1836: app_exception.raise_exception;

1832: IF ( l_crh_rec_old.status <> 'RISK_ELIMINATED' ) OR
1833: ( l_crh_rec_old.factor_flag <> 'Y' )
1834: THEN
1835: fnd_message.set_name('AR', 'AR_CANNOT_UNDO_RISK_ELIMINATE' );
1836: app_exception.raise_exception;
1837: END IF;
1838:
1839: -- Insert a new history record
1840: l_receipt_amt := l_crh_rec_old.amount + nvl(L_crh_rec_old.factor_discount_amount,0);

Line 2379: app_exception.raise_exception;

2375: arp_util.debug('API Exception: arp_cashbook.reverse '||SQLERRM);
2376: END IF;
2377: FND_MSG_PUB.Get (FND_MSG_PUB.G_FIRST, FND_API.G_TRUE, l_msg_data, l_msg_index);
2378: FND_MESSAGE.Set_Encoded (l_msg_data);
2379: app_exception.raise_exception;
2380:
2381: WHEN OTHERS THEN
2382: IF PG_DEBUG in ('Y', 'C') THEN
2383: arp_util.debug('Exception: arp_cashbook.reverse '||SQLERRM);

Line 2386: app_exception.raise_exception;

2382: IF PG_DEBUG in ('Y', 'C') THEN
2383: arp_util.debug('Exception: arp_cashbook.reverse '||SQLERRM);
2384: END IF;
2385: fnd_message.set_name('AR', 'AR_BR_CANNOT_REVERSE_REC');
2386: app_exception.raise_exception;
2387:
2388: END;
2389:
2390: -- Populate OUT NOCOPY parameters

Line 2395: app_exception.raise_exception;

2391: OPEN current_crh_cur;
2392: FETCH current_crh_cur INTO current_crh_rec;
2393:
2394: IF current_crh_cur%NOTFOUND THEN
2395: app_exception.raise_exception;
2396: END IF;
2397:
2398: CLOSE current_crh_cur;
2399:

Line 2468: app_exception.raise_exception;

2464: FETCH applied_to_std_cur INTO applied_to_std_rec;
2465:
2466: IF applied_to_std_cur%FOUND THEN
2467: fnd_message.set_name('AR', 'AR_RW_CANNOT_REVERSE_BR_STD');
2468: app_exception.raise_exception;
2469: END IF;
2470:
2471: CLOSE applied_to_std_cur;
2472:

Line 2478: app_exception.raise_exception;

2474: FETCH applied_to_reserved_br_cur INTO applied_to_reserved_br_rec;
2475:
2476: IF applied_to_reserved_br_cur%FOUND THEN
2477: fnd_message.set_name('AR', 'AR_RW_CANNOT_REVERSE_BR_STD');
2478: app_exception.raise_exception;
2479: END IF;
2480:
2481: CLOSE applied_to_reserved_br_cur;
2482:

Line 2608: APP_EXCEPTION.Raise_Exception;

2604: FETCH BATCH INTO Batchinfo;
2605: if (BATCH%NOTFOUND) then
2606: CLOSE BATCH;
2607: FND_MESSAGE.Set_Name('FND', 'FORM_RECORD_DELETED');
2608: APP_EXCEPTION.Raise_Exception;
2609: end if;
2610: CLOSE BATCH;
2611:
2612: SELECT sum(amount) , sum(acctd_amount)

Line 2728: APP_EXCEPTION.Raise_Exception;

2724: then
2725: return;
2726: else
2727: FND_MESSAGE.Set_Name('FND', 'FORM_RECORD_CHANGED');
2728: APP_EXCEPTION.Raise_Exception;
2729: end if;
2730: END Lock_Row;
2731:
2732: /* ----------------------------------------------------------------------