DBA Data[Home] [Help]

APPS.ARP_PROCESS_ADJUSTMENT dependencies on FND_MESSAGE

Line 79: fnd_message.set_name('AR', 'GENERIC_MESSAGE');

75:
76: IF ( p_type = 'INVOICE'
77: and p_adj_amount <> (0 - l_amount_due_remaining)) then
78:
79: fnd_message.set_name('AR', 'GENERIC_MESSAGE');
80: fnd_message.set_token('GENERIC_TEXT', 'Internal Error: Your totals are o
81: ut of balance. Please requery the receipt applications.');
82: app_exception.raise_exception;
83:

Line 80: fnd_message.set_token('GENERIC_TEXT', 'Internal Error: Your totals are o

76: IF ( p_type = 'INVOICE'
77: and p_adj_amount <> (0 - l_amount_due_remaining)) then
78:
79: fnd_message.set_name('AR', 'GENERIC_MESSAGE');
80: fnd_message.set_token('GENERIC_TEXT', 'Internal Error: Your totals are o
81: ut of balance. Please requery the receipt applications.');
82: app_exception.raise_exception;
83:
84: ELSE

Line 206: THEN fnd_message.set_name('AR', 'AR_TW_VAL_AMT_ADJ_INV');

202: | Invoice type adjustment must make the balance due zero |
203: +----------------------------------------------------------*/
204:
205: IF ( l_amount_due_remaining + p_adj_amount <> 0 )
206: THEN fnd_message.set_name('AR', 'AR_TW_VAL_AMT_ADJ_INV');
207: app_exception.raise_exception;
208: END IF;
209:
210: ELSE

Line 270: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );

266: arp_util.debug('arp_process_adjustment.validate_update_adjustment()-');
267:
268: EXCEPTION
269: WHEN OTHERS THEN
270: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
271: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_non_db_pkg.check_natural_application exception: '||SQLERRM );
272: arp_util.debug(
273: 'EXCEPTION: arp_process_adjustment.validate_update_adjustment()');
274: RAISE;

Line 271: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_non_db_pkg.check_natural_application exception: '||SQLERRM );

267:
268: EXCEPTION
269: WHEN OTHERS THEN
270: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
271: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_non_db_pkg.check_natural_application exception: '||SQLERRM );
272: arp_util.debug(
273: 'EXCEPTION: arp_process_adjustment.validate_update_adjustment()');
274: RAISE;
275:

Line 525: FND_MESSAGE.set_name('AR', 'AR_VAL_ADJ_INV_LINE_AMT');

521: pg_msg_level_debug);
522: arp_util.debug( 'Adjustments cannot be more than available ' ||
523: 'invoiced line amount.',
524: pg_msg_level_debug);
525: FND_MESSAGE.set_name('AR', 'AR_VAL_ADJ_INV_LINE_AMT');
526: APP_EXCEPTION.raise_exception;
527: END IF;
528: ELSIF (l_line_original < 0) THEN
529: IF (

Line 543: FND_MESSAGE.set_name('AR', 'AR_VAL_ADJ_INV_LINE_AMT');

539: pg_msg_level_debug);
540: arp_util.debug( 'Adjustments cannot be more than available ' ||
541: 'invoiced line amount.',
542: pg_msg_level_debug);
543: FND_MESSAGE.set_name('AR', 'AR_VAL_ADJ_INV_LINE_AMT');
544: APP_EXCEPTION.raise_exception;
545: END IF;
546: END IF;
547: END IF; -- end not approved or adjusted and line specified case

Line 741: FND_MESSAGE.set_name('AR', 'AR_VAL_GL_DATE_OPEN');

737: pg_msg_level_debug);
738: arp_util.debug( 'Invalid date. Enter a GL date in an open or' ||
739: ' future enterable period.',
740: pg_msg_level_debug);
741: FND_MESSAGE.set_name('AR', 'AR_VAL_GL_DATE_OPEN');
742: APP_EXCEPTION.raise_exception;
743: END IF;
744:
745: /*------------------------------------------------------------------+

Line 758: FND_MESSAGE.set_name('AR', 'AR_VAL_GL_INV_GL');

754: pg_msg_level_debug);
755: arp_util.debug( 'The GL date should not be prior to the ' ||
756: 'invoice''s GL date.',
757: pg_msg_level_debug);
758: FND_MESSAGE.set_name('AR', 'AR_VAL_GL_INV_GL');
759: APP_EXCEPTION.raise_exception;
760:
761: END IF;
762:

Line 793: FND_MESSAGE.set_name('AR', 'AR_VAL_USER_LIMIT');

789: pg_msg_level_debug);
790: arp_util.debug( 'You do not have approval limits for currency ' ||
791: p_ps_rec.invoice_currency_code,
792: pg_msg_level_debug);
793: FND_MESSAGE.set_name('AR', 'AR_VAL_USER_LIMIT');
794: FND_MESSAGE.set_token( 'CURRENCY',
795: p_ps_rec.invoice_currency_code);
796: APP_EXCEPTION.raise_exception;
797:

Line 794: FND_MESSAGE.set_token( 'CURRENCY',

790: arp_util.debug( 'You do not have approval limits for currency ' ||
791: p_ps_rec.invoice_currency_code,
792: pg_msg_level_debug);
793: FND_MESSAGE.set_name('AR', 'AR_VAL_USER_LIMIT');
794: FND_MESSAGE.set_token( 'CURRENCY',
795: p_ps_rec.invoice_currency_code);
796: APP_EXCEPTION.raise_exception;
797:
798: WHEN OTHERS THEN RAISE;

Line 819: FND_MESSAGE.set_name('AR', 'AR_VAL_AMT_APPROVAL_LIMIT');

815: l_approval_amount_to,
816: pg_msg_level_debug);
817: arp_util.debug( 'Amount exceeded approval limit.',
818: pg_msg_level_debug);
819: FND_MESSAGE.set_name('AR', 'AR_VAL_AMT_APPROVAL_LIMIT');
820: APP_EXCEPTION.raise_exception;
821:
822: END IF;
823:

Line 1508: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );

1504: arp_util.debug('ar_process_adjustment.insert_adjustment()-');
1505:
1506: EXCEPTION
1507: WHEN OTHERS THEN
1508: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
1509: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.insert_adjustment exception: '||SQLERRM );
1510: arp_util.debug(
1511: 'EXCEPTION: ar_process_adjustment.insert_adjustment()');
1512: RAISE;

Line 1509: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.insert_adjustment exception: '||SQLERRM );

1505:
1506: EXCEPTION
1507: WHEN OTHERS THEN
1508: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
1509: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.insert_adjustment exception: '||SQLERRM );
1510: arp_util.debug(
1511: 'EXCEPTION: ar_process_adjustment.insert_adjustment()');
1512: RAISE;
1513:

Line 1967: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );

1963:
1964:
1965: EXCEPTION
1966: WHEN OTHERS THEN
1967: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
1968: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.update_adjustment exception: '||SQLERRM );
1969: arp_util.debug(
1970: 'EXCEPTION: ar_process_adjustment.update_adjustment()',
1971: pg_msg_level_debug);

Line 1968: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.update_adjustment exception: '||SQLERRM );

1964:
1965: EXCEPTION
1966: WHEN OTHERS THEN
1967: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
1968: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.update_adjustment exception: '||SQLERRM );
1969: arp_util.debug(
1970: 'EXCEPTION: ar_process_adjustment.update_adjustment()',
1971: pg_msg_level_debug);
1972: RAISE;

Line 2333: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );

2329: WHEN OTHERS THEN
2330: arp_util.debug(
2331: 'EXCEPTION: ar_process_adjustment.update_approve_adj()',
2332: pg_msg_level_debug);
2333: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
2334: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.update_approce_adjustment exception: '||SQLERRM );
2335:
2336: arp_util.debug('', pg_msg_level_debug);
2337: arp_util.debug('---------- parameters for update_approve_adj()'

Line 2334: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.update_approce_adjustment exception: '||SQLERRM );

2330: arp_util.debug(
2331: 'EXCEPTION: ar_process_adjustment.update_approve_adj()',
2332: pg_msg_level_debug);
2333: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
2334: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.update_approce_adjustment exception: '||SQLERRM );
2335:
2336: arp_util.debug('', pg_msg_level_debug);
2337: arp_util.debug('---------- parameters for update_approve_adj()'
2338: || ' ---------',

Line 2696: fnd_message.get_string ('AR','AR_ADJ_REVERSED');

2692: l_aah_rec.adjustment_id := p_adj_id;
2693: l_aah_rec.action_date := TRUNC( SYSDATE );
2694:
2695: l_aah_rec.comments :=
2696: fnd_message.get_string ('AR','AR_ADJ_REVERSED');
2697:
2698: IF PG_DEBUG in ('Y', 'C') THEN
2699: arp_util.debug( 'before insert_p for ar_approval_action_history');
2700: END IF;

Line 2727: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );

2723: IF PG_DEBUG in ('Y', 'C') THEN
2724: arp_standard.debug(
2725: 'EXCEPTION: arp_process_adjustment.reverse_adjustment' );
2726: END IF;
2727: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
2728: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.reverse_adjustment exception: '||SQLERRM );
2729:
2730: IF PG_DEBUG in ('Y', 'C') THEN
2731: arp_standard.debug ( 'p_adj_id = '|| TO_CHAR(p_adj_id ) );

Line 2728: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.reverse_adjustment exception: '||SQLERRM );

2724: arp_standard.debug(
2725: 'EXCEPTION: arp_process_adjustment.reverse_adjustment' );
2726: END IF;
2727: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
2728: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.reverse_adjustment exception: '||SQLERRM );
2729:
2730: IF PG_DEBUG in ('Y', 'C') THEN
2731: arp_standard.debug ( 'p_adj_id = '|| TO_CHAR(p_adj_id ) );
2732: arp_standard.debug ( 'p_reversal_gl_date = '|| TO_CHAR(p_reversal_gl_date));

Line 2778: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );

2774: p_reversal_date is NULL ) THEN
2775: IF PG_DEBUG in ('Y', 'C') THEN
2776: arp_standard.debug( ' Null values found in input variable' );
2777: END IF;
2778: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
2779: APP_EXCEPTION.raise_exception;
2780: END IF;
2781: --
2782: IF PG_DEBUG in ('Y', 'C') THEN

Line 3044: FND_MESSAGE.set_name ('AR', 'AR_TW_NO_DOC_SEQ' );

3040: automatic sequence and cannot be entered manually */
3041: EXCEPTION
3042: WHEN NO_DATA_FOUND THEN
3043: IF (fnd_profile.value('UNIQUE:SEQ_NUMBERS') = 'A') THEN
3044: FND_MESSAGE.set_name ('AR', 'AR_TW_NO_DOC_SEQ' );
3045: APP_EXCEPTION.raise_exception;
3046: ELSE
3047: p_adj_rec.doc_sequence_value := NULL;
3048: p_adj_rec.doc_sequence_id := NULL;

Line 3187: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );

3183: IF ( p_adj_id IS NULL ) THEN
3184: IF PG_DEBUG in ('Y', 'C') THEN
3185: arp_standard.debug( ' Null values found in input variable' );
3186: END IF;
3187: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
3188: APP_EXCEPTION.raise_exception;
3189: END IF;
3190: --
3191: IF PG_DEBUG in ('Y', 'C') THEN

Line 3425: FND_MESSAGE.SET_NAME('AR', 'AR_TW_PRORATE_ADJ_NO_TAX_RATE');

3421: IF PG_DEBUG in ('Y', 'C') THEN
3422: arp_util.debug( 'EXCEPTION: Cannot find a tax rate for the receivable activity tax code');
3423: END IF;
3424: p_error_num := 1;
3425: FND_MESSAGE.SET_NAME('AR', 'AR_TW_PRORATE_ADJ_NO_TAX_RATE');
3426: END;
3427:
3428: ELSIF l_tax_code_source = 'INVOICE' THEN
3429: IF l_activity_type = 'FINCHRG' and

Line 3435: FND_MESSAGE.SET_NAME('AR', 'AR_TW_PRORATE_ADJ_OVERAPPLY');

3431: p_error_num := 3;
3432: END IF;
3433: IF (l_tax_remaining+l_line_remaining = 0) THEN
3434: p_error_num := 2;
3435: FND_MESSAGE.SET_NAME('AR', 'AR_TW_PRORATE_ADJ_OVERAPPLY');
3436: ELSE
3437: -- Bug 2189230
3438: l_prorated_tax := arp_etax_util.tax_curr_round(
3439: (l_tax_remaining*p_adj_amount/

Line 3471: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );

3467: IF PG_DEBUG in ('Y', 'C') THEN
3468: arp_util.debug(
3469: 'EXCEPTION: arp_process_adjustment.cal_prorated_amounts()');
3470: END IF;
3471: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
3472: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.cal_prorated_amounts exception: '||SQLERRM );
3473: RAISE;
3474:
3475: END cal_prorated_amounts;

Line 3472: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.cal_prorated_amounts exception: '||SQLERRM );

3468: arp_util.debug(
3469: 'EXCEPTION: arp_process_adjustment.cal_prorated_amounts()');
3470: END IF;
3471: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
3472: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.cal_prorated_amounts exception: '||SQLERRM );
3473: RAISE;
3474:
3475: END cal_prorated_amounts;
3476: