DBA Data[Home] [Help]

APPS.JAI_AP_MATCH_TAX_PROC_PKG dependencies on FND_FILE

Line 198: Fnd_File.put_line(Fnd_File.LOG, 'Start of function update_payment_schedule');

194: FND_LOG.STRING(G_LEVEL_PROCEDURE,G_MODULE_NAME||l_api_name||'.BEGIN',G_PKG_NAME||': '||l_api_name||'()+');
195: END IF;
196:
197:
198: Fnd_File.put_line(Fnd_File.LOG, 'Start of function update_payment_schedule');
199:
200: open c_total_payment_amt;
201: fetch c_total_payment_amt into v_total_payment_amt;
202: close c_total_payment_amt;

Line 205: Fnd_File.put_line(Fnd_File.LOG, 'Cannot update payment schedule, total payment amount :'

201: fetch c_total_payment_amt into v_total_payment_amt;
202: close c_total_payment_amt;
203:
204: if nvl(v_total_payment_amt, -1) = -1 then
205: Fnd_File.put_line(Fnd_File.LOG, 'Cannot update payment schedule, total payment amount :'
206: || to_char(v_total_payment_amt));
207: return false;
208: Elsif v_total_payment_amt = 0 Then
209: v_total_payment_amt := 1;

Line 944: Fnd_File.put_line(Fnd_File.LOG, 'NOT Inclusive PR Tax,NOT Inclusive RE for project ');

940: END IF;
941: -- ELSIF ( lv_tax_type <> 'PR' AND p_project_id IS NULL )
942: -- THEN
943: ELSE
944: Fnd_File.put_line(Fnd_File.LOG, 'NOT Inclusive PR Tax,NOT Inclusive RE for project ');
945: --The case process the inclusive NR tax and inclusive RE tax not for project
946:
947: lv_tax_line_amount := p_tax_line_rec.tax_amount ; --added by eric for inclusive tax
948: lv_modvat_flag := p_tax_line_rec.modvat_flag ;

Line 1307: fnd_file.put_line(fnd_file.log ,'Start the Insertion of Inclusive Service tax lines for POT recoverable service amount is '||pn_inclurec_tax_amt);

1303:
1304:
1305: end loop ;--> for line in 1 to ln_lines_to_insert
1306: If nvl(pv_accrue_on_receipt_flag ,'N')='Y' then
1307: fnd_file.put_line(fnd_file.log ,'Start the Insertion of Inclusive Service tax lines for POT recoverable service amount is '||pn_inclurec_tax_amt);
1308: lv_tax_line_amount := null;
1309: lv_ap_line_to_inst_flag := null;
1310: ln_inclu_serv_amt := null;
1311: ln_dist_code_combination_id := null;

Line 1324: fnd_file.put_line(fnd_file.log ,'Inclusive Service tax lines for positve recovery line POT interim recovery account is '||ln_dist_code_combination_id);

1320: lv_tax_line_amount:= ln_inclu_serv_amt ;
1321: lv_ap_line_to_inst_flag := 'Y';
1322:
1323: ln_dist_code_combination_id := pn_incls_acct_id;
1324: fnd_file.put_line(fnd_file.log ,'Inclusive Service tax lines for positve recovery line POT interim recovery account is '||ln_dist_code_combination_id);
1325:
1326: elsif inclu_Serv_line =2 then
1327: lv_tax_line_amount := ln_inclu_serv_amt *-1 ;
1328: lv_ap_line_to_inst_flag := 'Y';

Line 1330: fnd_file.put_line(fnd_file.log ,'Inclusive Service tax POT lines for negative recovery line ap accrual account is '||ln_dist_code_combination_id);

1326: elsif inclu_Serv_line =2 then
1327: lv_tax_line_amount := ln_inclu_serv_amt *-1 ;
1328: lv_ap_line_to_inst_flag := 'Y';
1329: ln_dist_code_combination_id := pr_ap_inv_dist_item.dist_code_combination_id;
1330: fnd_file.put_line(fnd_file.log ,'Inclusive Service tax POT lines for negative recovery line ap accrual account is '||ln_dist_code_combination_id);
1331: end if;
1332: end if;-- pot ln_inclu_serv_amt <>0
1333: IF ( NVL(lv_ap_line_to_inst_flag,'N')='Y')
1334: THEN

Line 1344: Fnd_File.put_line(Fnd_File.LOG,'Before inserting Inclusive Service tax lines for POT into ap_invoice_lines_all for line no :'

1340: --when insert jai_ap_match_inv_taxes used; for the negative line, will use ln_inv_line_num + 1 as
1341: --line number.
1342:
1343:
1344: Fnd_File.put_line(Fnd_File.LOG,'Before inserting Inclusive Service tax lines for POT into ap_invoice_lines_all for line no :'
1345: || ln_inv_line_num ||' tax amount = '||lv_tax_line_amount);
1346: lr_ap_inv_line_incl_tax := lr_ap_inv_line_tax;
1347:
1348: lr_ap_inv_line_incl_tax.invoice_id := ln_invoice_id;

Line 1857: fnd_file.put_line(FND_FILE.LOG, 'the tax amount after the JAI_CALC_APMATCH_TAX call is '||v_tax_amount);*/

1853: p_rcv_transaction_id => rcv_tran_id,
1854: P_tax_amount => v_tax_amount
1855: );
1856: END IF;
1857: fnd_file.put_line(FND_FILE.LOG, 'the tax amount after the JAI_CALC_APMATCH_TAX call is '||v_tax_amount);*/
1858:
1859: pn_rec_tax_amt := null;
1860: pn_nrec_tax_amt := null;
1861: pn_lines_to_insert := 1;

Line 1883: Fnd_File.put_line(Fnd_File.LOG, 'pr_tax_line_rec.modvat_flag ='||pr_tax_line_rec.modvat_flag ||',c_tax_rec.mod_cr_percentage='||c_tax_rec.mod_cr_percentage);

1879: pn_lines_to_insert := 2;
1880: END IF;--( NVL(pr_tax_line_rec.inc_tax_flag,'N') = 'N' OR ( NVL(pr_tax_line_rec.inc_tax_flag,'N'))
1881:
1882:
1883: Fnd_File.put_line(Fnd_File.LOG, 'pr_tax_line_rec.modvat_flag ='||pr_tax_line_rec.modvat_flag ||',c_tax_rec.mod_cr_percentage='||c_tax_rec.mod_cr_percentage);
1884:
1885: if pr_tax_line_rec.modvat_flag = jai_constants.YES
1886: and nvl(pr_tax_line_rec.mod_cr_percentage, -1) > 0
1887: and nvl(pr_tax_line_rec.mod_cr_percentage, -1) < 100

Line 3366: fnd_file.put_line(fnd_file.log

3362: cur_quantity_invoiced NUMBER;
3363: v_count NUMBER;
3364: BEGIN
3365:
3366: fnd_file.put_line(fnd_file.log
3367: ,'Start of function apportion_tax_4_price_cor_inv');
3368:
3369: BEGIN
3370: EXECUTE IMMEDIATE 'select /* price_correct_inv_id */, po_distribution_id, amount, quantity_invoiced

Line 3398: fnd_file.put_line(fnd_file.log

3394: CLOSE c_get_orig_tax_line;
3395:
3396: IF c_check_orig_item_line_rec.amount = -1 THEN
3397: --Modified by kunkumar for 5593895
3398: fnd_file.put_line(fnd_file.log
3399: ,'Original item line has -1 amount, cannot apportion tax'); --Modified by kunkumar for 5593895
3400: RETURN p_tax_amount;
3401: END IF;
3402:

Line 3406: fnd_file.put_line(fnd_file.log

3402:
3403: v_amount := (c_get_orig_tax_line_rec.tax_amount /
3404: c_check_orig_item_line_rec.amount) * cur_amount;
3405:
3406: fnd_file.put_line(fnd_file.log
3407: ,' original amount / tax :' ||
3408: c_check_orig_item_line_rec.amount || '/' ||
3409: c_get_orig_tax_line_rec.tax_amount);
3410:

Line 3416: fnd_file.put_line(fnd_file.log

3412: ,2);
3413:
3414: EXCEPTION
3415: WHEN OTHERS THEN
3416: fnd_file.put_line(fnd_file.log
3417: ,'Exception function apportion_tax_4_price_cor_inv :' ||
3418: SQLERRM);
3419: RETURN p_tax_amount;
3420: END apportion_tax_4_price_cor_inv;