DBA Data[Home] [Help]

APPS.ARP_CASHBOOK dependencies on APP_EXCEPTION

Line 99: app_exception.raise_exception;

95: -- (bug 376817)
96:
97: IF ( l_crh_rec_old.status = 'REVERSED' ) THEN
98: fnd_message.set_name('AR', 'AR_CANNOT_CLEAR_REV_RECEIPT' );
99: app_exception.raise_exception;
100: END IF;
101:
102: -- Fetch the cash receipt record
103: l_cr_rec.cash_receipt_id := p_cr_id;

Line 828: app_exception.raise_exception;

824: -- fail and give an error message
825: IF ( l_crh_rec_old.status = 'REVERSED')
826: THEN
827: fnd_message.set_name('AR', 'AR_CANNOT_UNCLEAR_REV_RECEIPT' );
828: app_exception.raise_exception;
829: ELSE
830: IF ( l_crh_rec_old.status <> 'CLEARED' )
831: THEN
832: fnd_message.set_name('AR', 'AR_RECEIPT_CANNOT_UNCLEAR' );

Line 833: app_exception.raise_exception;

829: ELSE
830: IF ( l_crh_rec_old.status <> 'CLEARED' )
831: THEN
832: fnd_message.set_name('AR', 'AR_RECEIPT_CANNOT_UNCLEAR' );
833: app_exception.raise_exception;
834: END IF;
835: END IF;
836: -- make sure the receipt was not created as CLEARED
837: -- (in that case there is no previous state, and we return to caller

Line 1211: app_exception.raise_exception;

1207: IF ( l_crh_rec_old.status = 'RISK_ELIMINATED' ) OR
1208: ( l_crh_rec_old.factor_flag <> 'Y' )
1209: THEN
1210: fnd_message.set_name('AR', 'AR_CANNOT_ELIMINATE_RISK' );
1211: app_exception.raise_exception;
1212: END IF;
1213:
1214: -- Insert a new history record
1215: l_receipt_amt := l_crh_rec_old.amount + nvl(L_crh_rec_old.factor_discount_amount,0);

Line 1427: app_exception.raise_exception;

1423: IF ( l_crh_rec_old.status <> 'RISK_ELIMINATED' ) OR
1424: ( l_crh_rec_old.factor_flag <> 'Y' )
1425: THEN
1426: fnd_message.set_name('AR', 'AR_CANNOT_UNDO_RISK_ELIMINATE' );
1427: app_exception.raise_exception;
1428: END IF;
1429:
1430: -- Insert a new history record
1431: l_receipt_amt := l_crh_rec_old.amount + nvl(L_crh_rec_old.factor_discount_amount,0);

Line 1946: app_exception.raise_exception;

1942: arp_util.debug('API Exception: arp_cashbook.reverse '||SQLERRM);
1943: END IF;
1944: FND_MSG_PUB.Get (FND_MSG_PUB.G_FIRST, FND_API.G_TRUE, l_msg_data, l_msg_index);
1945: FND_MESSAGE.Set_Encoded (l_msg_data);
1946: app_exception.raise_exception;
1947:
1948: WHEN OTHERS THEN
1949: IF PG_DEBUG in ('Y', 'C') THEN
1950: arp_util.debug('Exception: arp_cashbook.reverse '||SQLERRM);

Line 1953: app_exception.raise_exception;

1949: IF PG_DEBUG in ('Y', 'C') THEN
1950: arp_util.debug('Exception: arp_cashbook.reverse '||SQLERRM);
1951: END IF;
1952: fnd_message.set_name('AR', 'AR_BR_CANNOT_REVERSE_REC');
1953: app_exception.raise_exception;
1954:
1955: END;
1956:
1957: -- Populate OUT NOCOPY parameters

Line 1962: app_exception.raise_exception;

1958: OPEN current_crh_cur;
1959: FETCH current_crh_cur INTO current_crh_rec;
1960:
1961: IF current_crh_cur%NOTFOUND THEN
1962: app_exception.raise_exception;
1963: END IF;
1964:
1965: CLOSE current_crh_cur;
1966:

Line 2035: app_exception.raise_exception;

2031: FETCH applied_to_std_cur INTO applied_to_std_rec;
2032:
2033: IF applied_to_std_cur%FOUND THEN
2034: fnd_message.set_name('AR', 'AR_RW_CANNOT_REVERSE_BR_STD');
2035: app_exception.raise_exception;
2036: END IF;
2037:
2038: CLOSE applied_to_std_cur;
2039:

Line 2045: app_exception.raise_exception;

2041: FETCH applied_to_reserved_br_cur INTO applied_to_reserved_br_rec;
2042:
2043: IF applied_to_reserved_br_cur%FOUND THEN
2044: fnd_message.set_name('AR', 'AR_RW_CANNOT_REVERSE_BR_STD');
2045: app_exception.raise_exception;
2046: END IF;
2047:
2048: CLOSE applied_to_reserved_br_cur;
2049:

Line 2175: APP_EXCEPTION.Raise_Exception;

2171: FETCH BATCH INTO Batchinfo;
2172: if (BATCH%NOTFOUND) then
2173: CLOSE BATCH;
2174: FND_MESSAGE.Set_Name('FND', 'FORM_RECORD_DELETED');
2175: APP_EXCEPTION.Raise_Exception;
2176: end if;
2177: CLOSE BATCH;
2178:
2179: SELECT sum(amount) , sum(acctd_amount)

Line 2295: APP_EXCEPTION.Raise_Exception;

2291: then
2292: return;
2293: else
2294: FND_MESSAGE.Set_Name('FND', 'FORM_RECORD_CHANGED');
2295: APP_EXCEPTION.Raise_Exception;
2296: end if;
2297: END Lock_Row;
2298:
2299: /* ----------------------------------------------------------------------