DBA Data[Home] [Help]

APPS.ARP_CASHBOOK dependencies on FND_MESSAGE

Line 98: fnd_message.set_name('AR', 'AR_CANNOT_CLEAR_REV_RECEIPT' );

94: -- check if receipt is reversed. If yes, 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

Line 827: fnd_message.set_name('AR', 'AR_CANNOT_UNCLEAR_REV_RECEIPT' );

823: -- Check if this receipt has already been reversed or unclear, then
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

Line 832: fnd_message.set_name('AR', 'AR_RECEIPT_CANNOT_UNCLEAR' );

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' );
833: app_exception.raise_exception;
834: END IF;
835: END IF;
836: -- make sure the receipt was not created as CLEARED

Line 1210: fnd_message.set_name('AR', 'AR_CANNOT_ELIMINATE_RISK' );

1206: -- then fail and give an error message.
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

Line 1426: fnd_message.set_name('AR', 'AR_CANNOT_UNDO_RISK_ELIMINATE' );

1422: -- then fail and give an error message.
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

Line 1945: FND_MESSAGE.Set_Encoded (l_msg_data);

1941: IF PG_DEBUG in ('Y', 'C') THEN
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

Line 1952: fnd_message.set_name('AR', 'AR_BR_CANNOT_REVERSE_REC');

1948: WHEN OTHERS THEN
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:

Line 2034: fnd_message.set_name('AR', 'AR_RW_CANNOT_REVERSE_BR_STD');

2030: OPEN applied_to_std_cur;
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;

Line 2044: fnd_message.set_name('AR', 'AR_RW_CANNOT_REVERSE_BR_STD');

2040: OPEN applied_to_reserved_br_cur;
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;

Line 2174: FND_MESSAGE.Set_Name('FND', 'FORM_RECORD_DELETED');

2170: OPEN BATCH;
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:

Line 2294: FND_MESSAGE.Set_Name('FND', 'FORM_RECORD_CHANGED');

2290: )
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: