DBA Data[Home] [Help]

APPS.JAI_CMN_RGM_RECORDING_PKG dependencies on FND_FILE

Line 486: FND_FILE.put_line( FND_FILE.log, p_process_message);

482: IF lv_regime_code <> jai_constants.service_regime THEN
483: lv_codepath := jai_general_pkg.plot_codepath(2, lv_codepath);
484: p_process_flag := jai_constants.expected_error;
485: p_process_message := 'Transactions other than SERVICE regime are not supported';
486: FND_FILE.put_line( FND_FILE.log, p_process_message);
487: fnd_file.put_line(fnd_file.log,p_process_message);
488: RETURN;
489: END IF;
490:

Line 487: fnd_file.put_line(fnd_file.log,p_process_message);

483: lv_codepath := jai_general_pkg.plot_codepath(2, lv_codepath);
484: p_process_flag := jai_constants.expected_error;
485: p_process_message := 'Transactions other than SERVICE regime are not supported';
486: FND_FILE.put_line( FND_FILE.log, p_process_message);
487: fnd_file.put_line(fnd_file.log,p_process_message);
488: RETURN;
489: END IF;
490:
491: -- Rounding of Service Tax that is hitting repository

Line 856: FND_FILE.put_line( FND_FILE.log, p_process_message); fnd_file.put_line(fnd_file.log,p_process_message);

852: IF ln_charge_account_id IS NULL THEN
853: lv_codepath := jai_general_pkg.plot_codepath(17, lv_codepath);
854: p_process_flag := jai_constants.expected_error;
855: p_process_message := 'Charge Account('||lv_account_name||') not defined for tax type '||p_tax_type;
856: FND_FILE.put_line( FND_FILE.log, p_process_message); fnd_file.put_line(fnd_file.log,p_process_message);
857: GOTO end_of_repository_entry;
858: END IF;
859:
860: lv_statement := '16';

Line 862: fnd_file.put_line(fnd_file.log,'pkg2. rgm_id:'||p_regime_id||',OrgType:'||lv_balancing_orgn_type

858: END IF;
859:
860: lv_statement := '16';
861: IF g_debug='Y' THEN
862: fnd_file.put_line(fnd_file.log,'pkg2. rgm_id:'||p_regime_id||',OrgType:'||lv_balancing_orgn_type
863: ||',Oid:'||ln_balancing_orgn_id||',locid:'||ln_balancing_location_id
864: ||',txty:'||lv_balancing_tax_type||',actName:'||lv_balancing_accnt_name
865: );
866: END IF;

Line 873: FND_FILE.put_line( FND_FILE.log, p_process_message); fnd_file.put_line(fnd_file.log,p_process_message);

869: IF ln_balancing_account_id IS NULL THEN
870: lv_codepath := jai_general_pkg.plot_codepath(18, lv_codepath);
871: p_process_flag := jai_constants.expected_error;
872: p_process_message := 'Balancing Account('||lv_balancing_accnt_name||') not defined for tax type '||lv_balancing_tax_type;
873: FND_FILE.put_line( FND_FILE.log, p_process_message); fnd_file.put_line(fnd_file.log,p_process_message);
874: GOTO end_of_repository_entry;
875: END IF;
876:
877: ln_reference_id := p_reference_id;

Line 993: FND_FILE.put_line( FND_FILE.log, p_process_message); fnd_file.put_line(fnd_file.log,p_process_message);

989: IF ln_discount_ccid IS NULL THEN
990: lv_codepath := jai_general_pkg.plot_codepath(18, lv_codepath);
991: p_process_flag := jai_constants.expected_error;
992: p_process_message := 'Discount Account is not defined in '||p_source;
993: FND_FILE.put_line( FND_FILE.log, p_process_message); fnd_file.put_line(fnd_file.log,p_process_message);
994: FND_FILE.put_line( FND_FILE.log, ln_org_id);
995: GOTO end_of_repository_entry;
996: END IF;
997:

Line 994: FND_FILE.put_line( FND_FILE.log, ln_org_id);

990: lv_codepath := jai_general_pkg.plot_codepath(18, lv_codepath);
991: p_process_flag := jai_constants.expected_error;
992: p_process_message := 'Discount Account is not defined in '||p_source;
993: FND_FILE.put_line( FND_FILE.log, p_process_message); fnd_file.put_line(fnd_file.log,p_process_message);
994: FND_FILE.put_line( FND_FILE.log, ln_org_id);
995: GOTO end_of_repository_entry;
996: END IF;
997:
998: IF lv_charge_entry_type = jai_constants.debit THEN

Line 1158: Fnd_file.put_line( fnd_file.log, 'Error in Insert_Repository_entry. Codepath:'||lv_codepath);

1154: WHEN OTHERS THEN
1155: p_process_flag := jai_constants.unexpected_error;
1156: p_process_message := 'Repository Error(Stmt:'||lv_statement||') Occured:'||SQLERRM;
1157: lv_codepath := jai_general_pkg.plot_codepath(-999, lv_codepath);
1158: Fnd_file.put_line( fnd_file.log, 'Error in Insert_Repository_entry. Codepath:'||lv_codepath);
1159:
1160: END insert_repository_entry;
1161:
1162: --Add by Xiao for bug#12598609, begin

Line 1451: FND_FILE.put_line( FND_FILE.log, 'Accounting not done as Both Credit and Debit are Zero ');

1447: -- Date 07-jun-2007 by sacsethi for bug 6109941
1448: -- Previously we were generating raise application error which is changed
1449: -- to information level ....
1450:
1451: FND_FILE.put_line( FND_FILE.log, 'Accounting not done as Both Credit and Debit are Zero ');
1452: RETURN ;
1453:
1454: END IF;
1455: jai_cmn_utils_pkg.print_log('6395039.log', 'before call to get_period_name');

Line 1626: fnd_file.put_line( fnd_file.log, p_process_message);

1622: EXCEPTION
1623: WHEN OTHERS THEN
1624: p_process_flag := jai_constants.unexpected_error;
1625: p_process_message := 'jai_cmn_rgm_recording_pkg.insert_reference failed with error - '||SQLERRM;
1626: fnd_file.put_line( fnd_file.log, p_process_message);
1627: END insert_reference;
1628:
1629: FUNCTION get_account(
1630: p_regime_id IN NUMBER,

Line 1977: fnd_file.put_line(fnd_file.log,'GL Period is closed for Accounting Date:'||to_char(p_accounting_date)

1973: END IF;
1974: END LOOP;
1975:
1976: IF g_debug='Y' THEN
1977: fnd_file.put_line(fnd_file.log,'GL Period is closed for Accounting Date:'||to_char(p_accounting_date)
1978: ||'. Hence passing with Entries for '||to_char(ld_accounting_date)
1979: );
1980: END IF;
1981:

Line 2205: Fnd_file.put_line( fnd_file.log, 'Error in insert_vat_repository_entry. Stmt:'||lv_statement_id);

2201: WHEN OTHERS THEN
2202: pv_process_flag := jai_constants.unexpected_error;
2203: pv_process_message := 'insert_vat_repository_entry Error(Stmt:'||lv_statement_id||') Occured:'||SQLERRM;
2204: --lv_codepath := jai_general_pkg.plot_codepath(-999, lv_codepath);
2205: Fnd_file.put_line( fnd_file.log, 'Error in insert_vat_repository_entry. Stmt:'||lv_statement_id);
2206: END insert_vat_repository_entry;
2207:
2208:
2209: /* following function added by Vijay Shankar for Bug#4250236(4245089). VAT Impl. */

Line 2406: Fnd_file.put_line( fnd_file.log, 'Error in doVatAccounting. Stmt:'||lv_statement_id);

2402: pv_process_flag := jai_constants.unexpected_error;
2403: pv_process_message := 'doVatAccounting Error(Stmt:'||lv_statement_id||') Occured:'||SQLERRM;
2404: --lv_codepath := jai_general_pkg.plot_codepath(-999, lv_codepath);
2405: jai_cmn_utils_pkg.print_log('6395039.log', 'Error in doVatAccounting. Stmt:'||lv_statement_id);
2406: Fnd_file.put_line( fnd_file.log, 'Error in doVatAccounting. Stmt:'||lv_statement_id);
2407:
2408: END do_vat_accounting;
2409:
2410: /* following function added by Vijay Shankar for Bug#4250236(4245089). VAT Impl. */

Line 2539: FND_FILE.put_line( fnd_file.log, 'In jai_rgm_trx_recording_pkg.exc_gain_loss_accounting procedure');

2535: ln_charge_account_id NUMBER;
2536:
2537:
2538: BEGIN
2539: FND_FILE.put_line( fnd_file.log, 'In jai_rgm_trx_recording_pkg.exc_gain_loss_accounting procedure');
2540: OPEN c_regime_code(p_regime_id);
2541: FETCH c_regime_code INTO lv_regime_code;
2542: CLOSE c_regime_code;
2543:

Line 2556: FND_FILE.put_line( fnd_file.log, p_process_message);

2552: IF lv_regime_code <> jai_constants.service_regime THEN
2553: lv_codepath := jai_general_pkg.plot_codepath(2, lv_codepath);
2554: p_process_flag := jai_constants.expected_error;
2555: p_process_message := 'Transactions other than SERVICE regime are not supported';
2556: FND_FILE.put_line( fnd_file.log, p_process_message);
2557: RETURN;
2558: END IF;
2559:
2560: ld_last_settlement_date := jai_cmn_rgm_settlement_pkg.get_last_settlement_date(pn_regime_id => p_regime_id,

Line 2570: FND_FILE.put_line( fnd_file.log, 'p_source '|| p_source||' p_exc_gain_loss_amt '|| p_exc_gain_loss_amt);

2566: ELSIF ld_last_settlement_date IS NULL or ld_last_settlement_date <= p_transaction_date THEN
2567: ld_transaction_date := p_transaction_date;
2568: lv_codepath := jai_general_pkg.plot_codepath(2.3, lv_codepath);
2569: END IF;
2570: FND_FILE.put_line( fnd_file.log, 'p_source '|| p_source||' p_exc_gain_loss_amt '|| p_exc_gain_loss_amt);
2571: IF p_source = jai_constants.source_ar THEN
2572:
2573: lv_codepath := jai_general_pkg.plot_codepath(4, lv_codepath);
2574:

Line 2611: FND_FILE.put_line( fnd_file.log, 'ln_exc_ccid '|| ln_exc_ccid ||' lv_charge_entry_type '|| lv_charge_entry_type

2607: lv_balancing_entry_type := jai_constants.credit;
2608: END IF;
2609: END IF;
2610:
2611: FND_FILE.put_line( fnd_file.log, 'ln_exc_ccid '|| ln_exc_ccid ||' lv_charge_entry_type '|| lv_charge_entry_type
2612: ||' lv_balancing_entry_type '|| lv_balancing_entry_type);
2613:
2614: IF ln_exc_ccid IS NULL THEN
2615: lv_codepath := jai_general_pkg.plot_codepath(21.10, lv_codepath);

Line 2618: FND_FILE.put_line( fnd_file.log, p_process_message);

2614: IF ln_exc_ccid IS NULL THEN
2615: lv_codepath := jai_general_pkg.plot_codepath(21.10, lv_codepath);
2616: p_process_flag := jai_constants.expected_error;
2617: p_process_message := 'Foreign Exchange Gain or Loss Account is not defined in '||p_source;
2618: FND_FILE.put_line( fnd_file.log, p_process_message);
2619: RETURN;
2620: END IF;
2621:
2622: IF lv_charge_entry_type = jai_constants.debit THEN

Line 2630: FND_FILE.put_line( fnd_file.log,' ln_debit_amt '|| ln_debit_amt ||' ln_credit_amt '|| ln_credit_amt);

2626: ln_debit_amt := NULL;
2627: ln_credit_amt := abs(p_exc_gain_loss_amt);
2628: END IF;
2629:
2630: FND_FILE.put_line( fnd_file.log,' ln_debit_amt '|| ln_debit_amt ||' ln_credit_amt '|| ln_credit_amt);
2631:
2632: -- validate_negative_dr_cr(ln_debit_amt,ln_credit_amt );
2633:
2634: post_accounting(

Line 2674: FND_FILE.put_line( fnd_file.log, p_process_message);

2670: IF ln_charge_account_id IS NULL THEN
2671: lv_codepath := jai_general_pkg.plot_codepath(21.10, lv_codepath);
2672: p_process_flag := jai_constants.expected_error;
2673: p_process_message := lv_balancing_accnt_name||' Account is not defined in '||p_source;
2674: FND_FILE.put_line( fnd_file.log, p_process_message);
2675: RETURN;
2676: END IF;
2677:
2678: IF lv_charge_entry_type = jai_constants.debit THEN

Line 2685: FND_FILE.put_line( fnd_file.log,'1. ln_debit_amt '|| ln_debit_amt ||' ln_credit_amt '|| ln_credit_amt);

2681: ELSE
2682: ln_credit_amt := NULL;
2683: ln_debit_amt := abs(p_exc_gain_loss_amt);
2684: END IF;
2685: FND_FILE.put_line( fnd_file.log,'1. ln_debit_amt '|| ln_debit_amt ||' ln_credit_amt '|| ln_credit_amt);
2686: post_accounting(
2687: p_regime_code => lv_regime_code,
2688: p_tax_type => p_tax_type,
2689: p_organization_type => p_organization_type,

Line 2716: FND_FILE.put_line( fnd_file.log, 'End of jai_rgm_trx_recording_pkg.exc_gain_loss_accounting procedure');

2712:
2713: p_process_flag := jai_constants.successful;
2714: p_process_message := 'Successful';
2715:
2716: FND_FILE.put_line( fnd_file.log, 'End of jai_rgm_trx_recording_pkg.exc_gain_loss_accounting procedure');
2717:
2718: END exc_gain_loss_accounting;
2719:
2720: END jai_cmn_rgm_recording_pkg;