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 136: fnd_message.set_name('AR', 'AR_UNEARN_PREV_ADJ');

132: IF l_uns_amount <> 0
133: THEN
134: /* Raise message and halt process */
135: arp_util.debug('Unearned balance exists for this transaction');
136: fnd_message.set_name('AR', 'AR_UNEARN_PREV_ADJ');
137: app_exception.raise_exception;
138: END IF;
139: END IF;
140: EXCEPTION

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

251: | Invoice type adjustment must make the balance due zero |
252: +----------------------------------------------------------*/
253:
254: IF ( l_amount_due_remaining + p_adj_amount <> 0 )
255: THEN fnd_message.set_name('AR', 'AR_TW_VAL_AMT_ADJ_INV');
256: app_exception.raise_exception;
257: END IF;
258:
259: ELSE

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

315: arp_util.debug('arp_process_adjustment.validate_update_adjustment()-');
316:
317: EXCEPTION
318: WHEN OTHERS THEN
319: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
320: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_non_db_pkg.check_natural_application exception: '||SQLERRM );
321: arp_util.debug(
322: 'EXCEPTION: arp_process_adjustment.validate_update_adjustment()');
323: RAISE;

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

316:
317: EXCEPTION
318: WHEN OTHERS THEN
319: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
320: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_non_db_pkg.check_natural_application exception: '||SQLERRM );
321: arp_util.debug(
322: 'EXCEPTION: arp_process_adjustment.validate_update_adjustment()');
323: RAISE;
324:

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

708: pg_msg_level_debug);
709: arp_util.debug( 'Adjustments cannot be more than available ' ||
710: 'invoiced line amount.',
711: pg_msg_level_debug);
712: FND_MESSAGE.set_name('AR', 'AR_VAL_ADJ_INV_LINE_AMT');
713: APP_EXCEPTION.raise_exception;
714: END IF;
715: ELSIF (l_line_original < 0) THEN
716: IF (

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

727: pg_msg_level_debug);
728: arp_util.debug( 'Adjustments cannot be more than available ' ||
729: 'invoiced line amount.',
730: pg_msg_level_debug);
731: FND_MESSAGE.set_name('AR', 'AR_VAL_ADJ_INV_LINE_AMT');
732: APP_EXCEPTION.raise_exception;
733: END IF;
734: END IF; */
735:

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

744: pg_msg_level_debug);
745: arp_util.debug( 'Adjustments cannot be more than available ' ||
746: 'invoiced line amount.',
747: pg_msg_level_debug);
748: FND_MESSAGE.set_name('AR', 'AR_VAL_ADJ_INV_LINE_AMT');
749: APP_EXCEPTION.raise_exception;
750: END IF;
751: ELSIF (l_line_original < 0) THEN
752: IF (

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

759: pg_msg_level_debug);
760: arp_util.debug( 'Adjustments cannot be more than available ' ||
761: 'invoiced line amount.',
762: pg_msg_level_debug);
763: FND_MESSAGE.set_name('AR', 'AR_VAL_ADJ_INV_LINE_AMT');
764: APP_EXCEPTION.raise_exception;
765: END IF;
766: END IF;
767:

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

959: pg_msg_level_debug);
960: arp_util.debug( 'Invalid date. Enter a GL date in an open or' ||
961: ' future enterable period.',
962: pg_msg_level_debug);
963: FND_MESSAGE.set_name('AR', 'AR_VAL_GL_DATE_OPEN');
964: APP_EXCEPTION.raise_exception;
965: END IF;
966:
967: /*------------------------------------------------------------------+

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

976: pg_msg_level_debug);
977: arp_util.debug( 'The GL date should not be prior to the ' ||
978: 'invoice''s GL date.',
979: pg_msg_level_debug);
980: FND_MESSAGE.set_name('AR', 'AR_VAL_GL_INV_GL');
981: APP_EXCEPTION.raise_exception;
982:
983: END IF;
984:

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

1011: pg_msg_level_debug);
1012: arp_util.debug( 'You do not have approval limits for currency ' ||
1013: p_ps_rec.invoice_currency_code,
1014: pg_msg_level_debug);
1015: FND_MESSAGE.set_name('AR', 'AR_VAL_USER_LIMIT');
1016: FND_MESSAGE.set_token( 'CURRENCY',
1017: p_ps_rec.invoice_currency_code);
1018: APP_EXCEPTION.raise_exception;
1019:

Line 1016: FND_MESSAGE.set_token( 'CURRENCY',

1012: arp_util.debug( 'You do not have approval limits for currency ' ||
1013: p_ps_rec.invoice_currency_code,
1014: pg_msg_level_debug);
1015: FND_MESSAGE.set_name('AR', 'AR_VAL_USER_LIMIT');
1016: FND_MESSAGE.set_token( 'CURRENCY',
1017: p_ps_rec.invoice_currency_code);
1018: APP_EXCEPTION.raise_exception;
1019:
1020: WHEN OTHERS THEN RAISE;

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

1037: l_approval_amount_to,
1038: pg_msg_level_debug);
1039: arp_util.debug( 'Amount exceeded approval limit.',
1040: pg_msg_level_debug);
1041: FND_MESSAGE.set_name('AR', 'AR_VAL_AMT_APPROVAL_LIMIT');
1042: APP_EXCEPTION.raise_exception;
1043:
1044: END IF;
1045:

Line 1271: fnd_message.set_name('AR', 'AR_CLAIM_DEDUC_RED');

1267: END;
1268:
1269: IF (p_adj_rec.type <> 'CB' and p_form_name = 'ARXTWADJ' and v_cont < 0) THEN ---of amount of adjustment amt of document
1270:
1271: fnd_message.set_name('AR', 'AR_CLAIM_DEDUC_RED');
1272: fnd_message.set_token('CLAIM_AMOUNT',v_claim_amt);
1273: app_exception.raise_exception;
1274:
1275: END IF;

Line 1272: fnd_message.set_token('CLAIM_AMOUNT',v_claim_amt);

1268:
1269: IF (p_adj_rec.type <> 'CB' and p_form_name = 'ARXTWADJ' and v_cont < 0) THEN ---of amount of adjustment amt of document
1270:
1271: fnd_message.set_name('AR', 'AR_CLAIM_DEDUC_RED');
1272: fnd_message.set_token('CLAIM_AMOUNT',v_claim_amt);
1273: app_exception.raise_exception;
1274:
1275: END IF;
1276:

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

1786: arp_util.debug('ar_process_adjustment.insert_adjustment()-');
1787:
1788: EXCEPTION
1789: WHEN OTHERS THEN
1790: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
1791: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.insert_adjustment exception: '||SQLERRM );
1792: arp_util.debug(
1793: 'EXCEPTION: ar_process_adjustment.insert_adjustment()');
1794: RAISE;

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

1787:
1788: EXCEPTION
1789: WHEN OTHERS THEN
1790: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
1791: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.insert_adjustment exception: '||SQLERRM );
1792: arp_util.debug(
1793: 'EXCEPTION: ar_process_adjustment.insert_adjustment()');
1794: RAISE;
1795:

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

2391:
2392:
2393: EXCEPTION
2394: WHEN OTHERS THEN
2395: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
2396: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.update_adjustment exception: '||SQLERRM );
2397: arp_util.debug(
2398: 'EXCEPTION: ar_process_adjustment.update_adjustment()',
2399: pg_msg_level_debug);

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

2392:
2393: EXCEPTION
2394: WHEN OTHERS THEN
2395: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
2396: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.update_adjustment exception: '||SQLERRM );
2397: arp_util.debug(
2398: 'EXCEPTION: ar_process_adjustment.update_adjustment()',
2399: pg_msg_level_debug);
2400: RAISE;

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

2757: WHEN OTHERS THEN
2758: arp_util.debug(
2759: 'EXCEPTION: ar_process_adjustment.update_approve_adj()',
2760: pg_msg_level_debug);
2761: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
2762: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.update_approce_adjustment exception: '||SQLERRM );
2763:
2764: arp_util.debug('', pg_msg_level_debug);
2765: arp_util.debug('---------- parameters for update_approve_adj()'

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

2758: arp_util.debug(
2759: 'EXCEPTION: ar_process_adjustment.update_approve_adj()',
2760: pg_msg_level_debug);
2761: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
2762: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.update_approce_adjustment exception: '||SQLERRM );
2763:
2764: arp_util.debug('', pg_msg_level_debug);
2765: arp_util.debug('---------- parameters for update_approve_adj()'
2766: || ' ---------',

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

3184: l_aah_rec.adjustment_id := p_adj_id;
3185: l_aah_rec.action_date := TRUNC( SYSDATE );
3186:
3187: l_aah_rec.comments :=
3188: fnd_message.get_string ('AR','AR_ADJ_REVERSED');
3189:
3190: IF PG_DEBUG in ('Y', 'C') THEN
3191: arp_util.debug( 'before insert_p for ar_approval_action_history');
3192: END IF;

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

3215: IF PG_DEBUG in ('Y', 'C') THEN
3216: arp_standard.debug(
3217: 'EXCEPTION: arp_process_adjustment.reverse_adjustment' );
3218: END IF;
3219: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
3220: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.reverse_adjustment exception: '||SQLERRM );
3221:
3222: IF PG_DEBUG in ('Y', 'C') THEN
3223: arp_standard.debug ( 'p_adj_id = '|| TO_CHAR(p_adj_id ) );

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

3216: arp_standard.debug(
3217: 'EXCEPTION: arp_process_adjustment.reverse_adjustment' );
3218: END IF;
3219: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
3220: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.reverse_adjustment exception: '||SQLERRM );
3221:
3222: IF PG_DEBUG in ('Y', 'C') THEN
3223: arp_standard.debug ( 'p_adj_id = '|| TO_CHAR(p_adj_id ) );
3224: arp_standard.debug ( 'p_reversal_gl_date = '|| TO_CHAR(p_reversal_gl_date));

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

3266: p_reversal_date is NULL ) THEN
3267: IF PG_DEBUG in ('Y', 'C') THEN
3268: arp_standard.debug( ' Null values found in input variable' );
3269: END IF;
3270: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
3271: APP_EXCEPTION.raise_exception;
3272: END IF;
3273: --
3274: IF PG_DEBUG in ('Y', 'C') THEN

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

3539: automatic sequence and cannot be entered manually */
3540: EXCEPTION
3541: WHEN NO_DATA_FOUND THEN
3542: IF (fnd_profile.value('UNIQUE:SEQ_NUMBERS') = 'A') THEN
3543: FND_MESSAGE.set_name ('AR', 'AR_TW_NO_DOC_SEQ' );
3544: APP_EXCEPTION.raise_exception;
3545: ELSE
3546: p_adj_rec.doc_sequence_value := NULL;
3547: p_adj_rec.doc_sequence_id := NULL;

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

3761: IF ( p_adj_id IS NULL ) THEN
3762: IF PG_DEBUG in ('Y', 'C') THEN
3763: arp_standard.debug( ' Null values found in input variable' );
3764: END IF;
3765: FND_MESSAGE.set_name ('AR', 'AR_ARGUEMENTS_FAIL' );
3766: APP_EXCEPTION.raise_exception;
3767: END IF;
3768: --
3769: IF PG_DEBUG in ('Y', 'C') THEN

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

4033: IF PG_DEBUG in ('Y', 'C') THEN
4034: arp_util.debug( 'EXCEPTION: Cannot find a tax rate for the receivable activity tax code');
4035: END IF;
4036: p_error_num := 1;
4037: FND_MESSAGE.SET_NAME('AR', 'AR_TW_PRORATE_ADJ_NO_TAX_RATE');
4038: END;
4039:
4040: ELSIF l_tax_code_source = 'INVOICE' THEN
4041: IF l_activity_type = 'FINCHRG' and

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

4043: p_error_num := 3;
4044: END IF;
4045: IF (l_tax_remaining+l_line_remaining = 0) THEN
4046: p_error_num := 2;
4047: FND_MESSAGE.SET_NAME('AR', 'AR_TW_PRORATE_ADJ_OVERAPPLY');
4048: ELSE
4049: -- Bug 2189230
4050: l_prorated_tax := arp_etax_util.tax_curr_round(
4051: (l_tax_remaining*p_adj_amount/

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

4079: IF PG_DEBUG in ('Y', 'C') THEN
4080: arp_util.debug(
4081: 'EXCEPTION: arp_process_adjustment.cal_prorated_amounts()');
4082: END IF;
4083: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
4084: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.cal_prorated_amounts exception: '||SQLERRM );
4085: RAISE;
4086:
4087: END cal_prorated_amounts;

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

4080: arp_util.debug(
4081: 'EXCEPTION: arp_process_adjustment.cal_prorated_amounts()');
4082: END IF;
4083: FND_MESSAGE.set_name( 'AR', 'GENERIC_MESSAGE' );
4084: FND_MESSAGE.set_token( 'GENERIC_TEXT', 'arp_process_adjustment.cal_prorated_amounts exception: '||SQLERRM );
4085: RAISE;
4086:
4087: END cal_prorated_amounts;
4088: