DBA Data[Home] [Help]

APPS.AP_WITHHOLDING_PKG dependencies on FND_MESSAGE

Line 1267: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');

1263:
1264: EXCEPTION
1265: WHEN OTHERS THEN
1266: IF (SQLCODE <> -20001) THEN
1267: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
1268: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
1269: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
1270: FND_MESSAGE.set_TOKEN('PARAMETERS',
1271: ' Invoice Id = ' || to_char(P_Invoice_Id) ||

Line 1268: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);

1264: EXCEPTION
1265: WHEN OTHERS THEN
1266: IF (SQLCODE <> -20001) THEN
1267: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
1268: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
1269: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
1270: FND_MESSAGE.set_TOKEN('PARAMETERS',
1271: ' Invoice Id = ' || to_char(P_Invoice_Id) ||
1272: ', Calling module = ' || P_Calling_Module ||

Line 1269: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);

1265: WHEN OTHERS THEN
1266: IF (SQLCODE <> -20001) THEN
1267: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
1268: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
1269: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
1270: FND_MESSAGE.set_TOKEN('PARAMETERS',
1271: ' Invoice Id = ' || to_char(P_Invoice_Id) ||
1272: ', Calling module = ' || P_Calling_Module ||
1273: ', Create dists = ' || P_Create_dists ||

Line 1270: FND_MESSAGE.set_TOKEN('PARAMETERS',

1266: IF (SQLCODE <> -20001) THEN
1267: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
1268: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
1269: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
1270: FND_MESSAGE.set_TOKEN('PARAMETERS',
1271: ' Invoice Id = ' || to_char(P_Invoice_Id) ||
1272: ', Calling module = ' || P_Calling_Module ||
1273: ', Create dists = ' || P_Create_dists ||
1274: ', Payment Num = ' || to_char(P_Payment_Num) ||

Line 1277: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);

1273: ', Create dists = ' || P_Create_dists ||
1274: ', Payment Num = ' || to_char(P_Payment_Num) ||
1275: ', Currency code = ' || P_Currency_Code);
1276:
1277: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);
1278: END IF;
1279: APP_EXCEPTION.RAISE_EXCEPTION;
1280:
1281: END Create_AWT_distributions;

Line 2431: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');

2427:
2428: EXCEPTION
2429: WHEN OTHERS THEN
2430: IF (SQLCODE <> -20001) THEN
2431: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
2432: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
2433: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
2434: FND_MESSAGE.set_TOKEN('PARAMETERS',
2435: ' Invoice Id = ' || to_char(P_Invoice_Id) ||

Line 2432: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);

2428: EXCEPTION
2429: WHEN OTHERS THEN
2430: IF (SQLCODE <> -20001) THEN
2431: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
2432: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
2433: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
2434: FND_MESSAGE.set_TOKEN('PARAMETERS',
2435: ' Invoice Id = ' || to_char(P_Invoice_Id) ||
2436: ', dist line no = ' || to_char(P_dist_Line_No) ||

Line 2433: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);

2429: WHEN OTHERS THEN
2430: IF (SQLCODE <> -20001) THEN
2431: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
2432: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
2433: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
2434: FND_MESSAGE.set_TOKEN('PARAMETERS',
2435: ' Invoice Id = ' || to_char(P_Invoice_Id) ||
2436: ', dist line no = ' || to_char(P_dist_Line_No) ||
2437: ', New Invoice Id = ' || to_char(P_New_Invoice_Id));

Line 2434: FND_MESSAGE.set_TOKEN('PARAMETERS',

2430: IF (SQLCODE <> -20001) THEN
2431: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
2432: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
2433: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
2434: FND_MESSAGE.set_TOKEN('PARAMETERS',
2435: ' Invoice Id = ' || to_char(P_Invoice_Id) ||
2436: ', dist line no = ' || to_char(P_dist_Line_No) ||
2437: ', New Invoice Id = ' || to_char(P_New_Invoice_Id));
2438:

Line 2439: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);

2435: ' Invoice Id = ' || to_char(P_Invoice_Id) ||
2436: ', dist line no = ' || to_char(P_dist_Line_No) ||
2437: ', New Invoice Id = ' || to_char(P_New_Invoice_Id));
2438:
2439: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);
2440: END IF;
2441: APP_EXCEPTION.RAISE_EXCEPTION;
2442:
2443: END Create_AWT_Invoices;

Line 2894: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');

2890:
2891: EXCEPTION
2892: WHEN OTHERS THEN
2893: IF (SQLCODE <> -20001) THEN
2894: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
2895: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
2896: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
2897: FND_MESSAGE.set_TOKEN('PARAMETERS',
2898: ' Invoice Id = ' || to_char(P_Invoice_Id) ||

Line 2895: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);

2891: EXCEPTION
2892: WHEN OTHERS THEN
2893: IF (SQLCODE <> -20001) THEN
2894: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
2895: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
2896: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
2897: FND_MESSAGE.set_TOKEN('PARAMETERS',
2898: ' Invoice Id = ' || to_char(P_Invoice_Id) ||
2899: ', AWT Date = ' || to_char(P_Awt_Date) ||

Line 2896: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);

2892: WHEN OTHERS THEN
2893: IF (SQLCODE <> -20001) THEN
2894: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
2895: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
2896: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
2897: FND_MESSAGE.set_TOKEN('PARAMETERS',
2898: ' Invoice Id = ' || to_char(P_Invoice_Id) ||
2899: ', AWT Date = ' || to_char(P_Awt_Date) ||
2900: ', Calling module = ' || P_Calling_Module ||

Line 2897: FND_MESSAGE.set_TOKEN('PARAMETERS',

2893: IF (SQLCODE <> -20001) THEN
2894: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
2895: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
2896: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
2897: FND_MESSAGE.set_TOKEN('PARAMETERS',
2898: ' Invoice Id = ' || to_char(P_Invoice_Id) ||
2899: ', AWT Date = ' || to_char(P_Awt_Date) ||
2900: ', Calling module = ' || P_Calling_Module ||
2901: ', Amount = ' || to_char(P_Amount) ||

Line 2905: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);

2901: ', Amount = ' || to_char(P_Amount) ||
2902: ', Payment Num = ' || to_char(P_Payment_Num) ||
2903: ', Checkrun Name = ' || P_Checkrun_Name);
2904:
2905: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);
2906: END IF;
2907: APP_EXCEPTION.RAISE_EXCEPTION;
2908:
2909: END Ap_Do_Withholding;

Line 3385: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');

3381:
3382:
3383:
3384: IF (SQLCODE <> -20001) THEN
3385: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3386: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3387: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3388: FND_MESSAGE.set_TOKEN('PARAMETERS',
3389: ' Checkrun Name = ' || P_Checkrun_Name ||

Line 3386: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);

3382:
3383:
3384: IF (SQLCODE <> -20001) THEN
3385: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3386: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3387: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3388: FND_MESSAGE.set_TOKEN('PARAMETERS',
3389: ' Checkrun Name = ' || P_Checkrun_Name ||
3390: ', Program_Id = ' || to_char(P_Program_Id) ||

Line 3387: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);

3383:
3384: IF (SQLCODE <> -20001) THEN
3385: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3386: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3387: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3388: FND_MESSAGE.set_TOKEN('PARAMETERS',
3389: ' Checkrun Name = ' || P_Checkrun_Name ||
3390: ', Program_Id = ' || to_char(P_Program_Id) ||
3391: ', Request_Id = ' || to_char(P_Request_Id));

Line 3388: FND_MESSAGE.set_TOKEN('PARAMETERS',

3384: IF (SQLCODE <> -20001) THEN
3385: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3386: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3387: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3388: FND_MESSAGE.set_TOKEN('PARAMETERS',
3389: ' Checkrun Name = ' || P_Checkrun_Name ||
3390: ', Program_Id = ' || to_char(P_Program_Id) ||
3391: ', Request_Id = ' || to_char(P_Request_Id));
3392:

Line 3393: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);

3389: ' Checkrun Name = ' || P_Checkrun_Name ||
3390: ', Program_Id = ' || to_char(P_Program_Id) ||
3391: ', Request_Id = ' || to_char(P_Request_Id));
3392:
3393: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);
3394: END IF;
3395:
3396: /* Start - BUG 14364091 - Logging */
3397: FND_FILE.PUT_LINE(FND_FILE.LOG, 'ERROR Code : ' || SQLCODE);

Line 3512: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');

3508:
3509: EXCEPTION
3510: WHEN OTHERS THEN
3511: IF (SQLCODE <> -20001) THEN
3512: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3513: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3514: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3515: FND_MESSAGE.set_TOKEN('PARAMETERS',
3516: ' Checkrun Name = ' || P_Checkrun_Name ||

Line 3513: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);

3509: EXCEPTION
3510: WHEN OTHERS THEN
3511: IF (SQLCODE <> -20001) THEN
3512: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3513: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3514: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3515: FND_MESSAGE.set_TOKEN('PARAMETERS',
3516: ' Checkrun Name = ' || P_Checkrun_Name ||
3517: ', Program_Id = ' || to_char(P_Program_Id) ||

Line 3514: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);

3510: WHEN OTHERS THEN
3511: IF (SQLCODE <> -20001) THEN
3512: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3513: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3514: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3515: FND_MESSAGE.set_TOKEN('PARAMETERS',
3516: ' Checkrun Name = ' || P_Checkrun_Name ||
3517: ', Program_Id = ' || to_char(P_Program_Id) ||
3518: ', Request_Id = ' || to_char(P_Request_Id));

Line 3515: FND_MESSAGE.set_TOKEN('PARAMETERS',

3511: IF (SQLCODE <> -20001) THEN
3512: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3513: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3514: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3515: FND_MESSAGE.set_TOKEN('PARAMETERS',
3516: ' Checkrun Name = ' || P_Checkrun_Name ||
3517: ', Program_Id = ' || to_char(P_Program_Id) ||
3518: ', Request_Id = ' || to_char(P_Request_Id));
3519: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);

Line 3519: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);

3515: FND_MESSAGE.set_TOKEN('PARAMETERS',
3516: ' Checkrun Name = ' || P_Checkrun_Name ||
3517: ', Program_Id = ' || to_char(P_Program_Id) ||
3518: ', Request_Id = ' || to_char(P_Request_Id));
3519: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);
3520: END IF;
3521:
3522: /* Start - BUG 14364091 - Logging */
3523: FND_FILE.PUT_LINE(FND_FILE.LOG, 'ERROR Code : ' || SQLCODE);

Line 3641: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');

3637:
3638: EXCEPTION
3639: WHEN OTHERS THEN
3640: IF (SQLCODE <> -20001) THEN
3641: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3642: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3643: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3644: FND_MESSAGE.set_TOKEN('PARAMETERS',
3645: ' Checkrun Name = ' || P_Checkrun_Name ||

Line 3642: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);

3638: EXCEPTION
3639: WHEN OTHERS THEN
3640: IF (SQLCODE <> -20001) THEN
3641: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3642: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3643: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3644: FND_MESSAGE.set_TOKEN('PARAMETERS',
3645: ' Checkrun Name = ' || P_Checkrun_Name ||
3646: ', Program_Id = ' || to_char(P_Program_Id) ||

Line 3643: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);

3639: WHEN OTHERS THEN
3640: IF (SQLCODE <> -20001) THEN
3641: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3642: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3643: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3644: FND_MESSAGE.set_TOKEN('PARAMETERS',
3645: ' Checkrun Name = ' || P_Checkrun_Name ||
3646: ', Program_Id = ' || to_char(P_Program_Id) ||
3647: ', Request_Id = ' || to_char(P_Request_Id));

Line 3644: FND_MESSAGE.set_TOKEN('PARAMETERS',

3640: IF (SQLCODE <> -20001) THEN
3641: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3642: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3643: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3644: FND_MESSAGE.set_TOKEN('PARAMETERS',
3645: ' Checkrun Name = ' || P_Checkrun_Name ||
3646: ', Program_Id = ' || to_char(P_Program_Id) ||
3647: ', Request_Id = ' || to_char(P_Request_Id));
3648: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);

Line 3648: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);

3644: FND_MESSAGE.set_TOKEN('PARAMETERS',
3645: ' Checkrun Name = ' || P_Checkrun_Name ||
3646: ', Program_Id = ' || to_char(P_Program_Id) ||
3647: ', Request_Id = ' || to_char(P_Request_Id));
3648: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);
3649: END IF;
3650:
3651: /* Start - BUG 14364091 - Logging */
3652: FND_FILE.PUT_LINE(FND_FILE.LOG, 'ERROR Code : ' || SQLCODE);

Line 3844: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');

3840: RETURN(ret);
3841: EXCEPTION
3842: WHEN OTHERS THEN
3843: IF (SQLCODE <> -20001) THEN
3844: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3845: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3846: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3847: FND_MESSAGE.set_TOKEN('PARAMETERS',
3848: 'Tax Code Id = ' || TaxId);

Line 3845: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);

3841: EXCEPTION
3842: WHEN OTHERS THEN
3843: IF (SQLCODE <> -20001) THEN
3844: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3845: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3846: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3847: FND_MESSAGE.set_TOKEN('PARAMETERS',
3848: 'Tax Code Id = ' || TaxId);
3849:

Line 3846: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);

3842: WHEN OTHERS THEN
3843: IF (SQLCODE <> -20001) THEN
3844: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3845: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3846: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3847: FND_MESSAGE.set_TOKEN('PARAMETERS',
3848: 'Tax Code Id = ' || TaxId);
3849:
3850: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);

Line 3847: FND_MESSAGE.set_TOKEN('PARAMETERS',

3843: IF (SQLCODE <> -20001) THEN
3844: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
3845: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
3846: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3847: FND_MESSAGE.set_TOKEN('PARAMETERS',
3848: 'Tax Code Id = ' || TaxId);
3849:
3850: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);
3851: END IF;

Line 3850: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);

3846: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
3847: FND_MESSAGE.set_TOKEN('PARAMETERS',
3848: 'Tax Code Id = ' || TaxId);
3849:
3850: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);
3851: END IF;
3852: APP_EXCEPTION.RAISE_EXCEPTION;
3853:
3854: END Period_Limit_ExISt_For_Tax;

Line 4127: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');

4123: error_text VARCHAR2(512) := substr(sqlerrm, 1, 512);
4124: BEGIN
4125: P_Awt_Success := error_text;
4126: IF (SQLCODE <> -20001) THEN
4127: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
4128: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
4129: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
4130: FND_MESSAGE.set_TOKEN('PARAMETERS',
4131: ', Invoice_Id = ' || to_char(P_Invoice_Id) ||

Line 4128: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);

4124: BEGIN
4125: P_Awt_Success := error_text;
4126: IF (SQLCODE <> -20001) THEN
4127: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
4128: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
4129: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
4130: FND_MESSAGE.set_TOKEN('PARAMETERS',
4131: ', Invoice_Id = ' || to_char(P_Invoice_Id) ||
4132: ', VENDor_Id = ' || to_char(P_VENDor_Id) ||

Line 4129: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);

4125: P_Awt_Success := error_text;
4126: IF (SQLCODE <> -20001) THEN
4127: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
4128: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
4129: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
4130: FND_MESSAGE.set_TOKEN('PARAMETERS',
4131: ', Invoice_Id = ' || to_char(P_Invoice_Id) ||
4132: ', VENDor_Id = ' || to_char(P_VENDor_Id) ||
4133: ', Payment_Num = ' || to_char(P_Payment_Num) ||

Line 4130: FND_MESSAGE.set_TOKEN('PARAMETERS',

4126: IF (SQLCODE <> -20001) THEN
4127: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
4128: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
4129: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
4130: FND_MESSAGE.set_TOKEN('PARAMETERS',
4131: ', Invoice_Id = ' || to_char(P_Invoice_Id) ||
4132: ', VENDor_Id = ' || to_char(P_VENDor_Id) ||
4133: ', Payment_Num = ' || to_char(P_Payment_Num) ||
4134: ', Checkrun_Name = ' || P_Checkrun_Name ||

Line 4137: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);

4133: ', Payment_Num = ' || to_char(P_Payment_Num) ||
4134: ', Checkrun_Name = ' || P_Checkrun_Name ||
4135: ' Undo_Awt_Date = ' || to_char(P_Undo_Awt_Date));
4136:
4137: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);
4138: END IF;
4139:
4140: /* Start - BUG 14364091 - Logging */
4141: FND_FILE.PUT_LINE(FND_FILE.LOG, 'ERROR Code : ' || SQLCODE);

Line 5679: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');

5675: --
5676: P_Awt_Success := error_text;
5677:
5678: IF (SQLCODE <> -20001) THEN
5679: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
5680: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
5681: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
5682: FND_MESSAGE.set_TOKEN('PARAMETERS',
5683: ' Parent Id = ' || to_char(P_Parent_Id) ||

Line 5680: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);

5676: P_Awt_Success := error_text;
5677:
5678: IF (SQLCODE <> -20001) THEN
5679: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
5680: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
5681: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
5682: FND_MESSAGE.set_TOKEN('PARAMETERS',
5683: ' Parent Id = ' || to_char(P_Parent_Id) ||
5684: ', Calling_Module = ' || P_Calling_Module ||

Line 5681: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);

5677:
5678: IF (SQLCODE <> -20001) THEN
5679: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
5680: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
5681: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
5682: FND_MESSAGE.set_TOKEN('PARAMETERS',
5683: ' Parent Id = ' || to_char(P_Parent_Id) ||
5684: ', Calling_Module = ' || P_Calling_Module ||
5685: ', Awt_Date = ' || P_Awt_Date ||

Line 5682: FND_MESSAGE.set_TOKEN('PARAMETERS',

5678: IF (SQLCODE <> -20001) THEN
5679: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
5680: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
5681: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
5682: FND_MESSAGE.set_TOKEN('PARAMETERS',
5683: ' Parent Id = ' || to_char(P_Parent_Id) ||
5684: ', Calling_Module = ' || P_Calling_Module ||
5685: ', Awt_Date = ' || P_Awt_Date ||
5686: ', New_Invoice_Payment_Id = ' || to_char(P_New_Invoice_Payment_Id) ||

Line 5691: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);

5687: ', dist_Line_No = ' || to_char(P_dist_Line_No) ||
5688: ', New_Invoice_Id = ' || to_char(P_New_Invoice_Id) ||
5689: ', New_dist_Line_No = ' || to_char(P_New_dist_Line_No));
5690:
5691: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);
5692: END IF;
5693: APP_EXCEPTION.RAISE_EXCEPTION;
5694: END;
5695: END Ap_Undo_Withholding;

Line 5937: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');

5933: error_text VARCHAR2(512) := substr(sqlerrm, 1, 512);
5934: BEGIN
5935: P_Awt_Success := error_text;
5936: IF (SQLCODE <> -20001) THEN
5937: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
5938: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
5939: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
5940: FND_MESSAGE.set_TOKEN('PARAMETERS',
5941: ', Invoice_Id = ' || to_char(P_Invoice_Id) ||

Line 5938: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);

5934: BEGIN
5935: P_Awt_Success := error_text;
5936: IF (SQLCODE <> -20001) THEN
5937: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
5938: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
5939: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
5940: FND_MESSAGE.set_TOKEN('PARAMETERS',
5941: ', Invoice_Id = ' || to_char(P_Invoice_Id) ||
5942: ', VENDor_Id = ' || to_char(P_VENDor_Id) ||

Line 5939: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);

5935: P_Awt_Success := error_text;
5936: IF (SQLCODE <> -20001) THEN
5937: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
5938: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
5939: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
5940: FND_MESSAGE.set_TOKEN('PARAMETERS',
5941: ', Invoice_Id = ' || to_char(P_Invoice_Id) ||
5942: ', VENDor_Id = ' || to_char(P_VENDor_Id) ||
5943: ', Payment_Num = ' || to_char(P_Payment_Num) ||

Line 5940: FND_MESSAGE.set_TOKEN('PARAMETERS',

5936: IF (SQLCODE <> -20001) THEN
5937: FND_MESSAGE.set_NAME('SQLAP','AP_DEBUG');
5938: FND_MESSAGE.set_TOKEN('ERROR',SQLERRM);
5939: FND_MESSAGE.set_TOKEN('CALLING_SEQUENCE',current_calling_sequence);
5940: FND_MESSAGE.set_TOKEN('PARAMETERS',
5941: ', Invoice_Id = ' || to_char(P_Invoice_Id) ||
5942: ', VENDor_Id = ' || to_char(P_VENDor_Id) ||
5943: ', Payment_Num = ' || to_char(P_Payment_Num) ||
5944: ', Checkrun_Name = ' || P_Checkrun_Name ||

Line 5947: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);

5943: ', Payment_Num = ' || to_char(P_Payment_Num) ||
5944: ', Checkrun_Name = ' || P_Checkrun_Name ||
5945: ' Undo_Awt_Date = ' || to_char(P_Undo_Awt_Date));
5946:
5947: FND_MESSAGE.set_TOKEN('DEBUG_INFO',debug_info);
5948: END IF;
5949: APP_EXCEPTION.RAISE_EXCEPTION;
5950: END;
5951: END Ap_Undo_Orphan_Distributions;