DBA Data[Home] [Help]

APPS.ARP_PROCESS_LOCKBOX dependencies on ARP_UTIL

Line 1985: This procedure calls arp_util.debug for the string passed.

1981: RAISE;
1982: END find_cust_and_trx_num;
1983: --
1984: /*----------------------------------------------------------------------------
1985: This procedure calls arp_util.debug for the string passed.
1986: Till arp_util.debug is changed to provide an option to write to a
1987: file, we can use this procedure to write to a file at the time of testing.
1988: Un comment lines calling fnd_file package and that will write to a file.
1989: Please change the directory name so that it does not raise any exception.

Line 1986: Till arp_util.debug is changed to provide an option to write to a

1982: END find_cust_and_trx_num;
1983: --
1984: /*----------------------------------------------------------------------------
1985: This procedure calls arp_util.debug for the string passed.
1986: Till arp_util.debug is changed to provide an option to write to a
1987: file, we can use this procedure to write to a file at the time of testing.
1988: Un comment lines calling fnd_file package and that will write to a file.
1989: Please change the directory name so that it does not raise any exception.
1990: ----------------------------------------------------------------------------*/

Line 2007: arp_util.debug(str);

2003: -- utl_file.put(myfile, str);
2004: -- utl_file.fclose(myfile);
2005: --
2006: IF PG_DEBUG in ('Y', 'C') THEN
2007: arp_util.debug(str);
2008: END IF;
2009: END;
2010: --
2011: /*----------------------------------------------------------------------------

Line 2894: arp_util.debug('Apply_to ' || cur_var2.apply_to);

2890: AND transmission_request_id = p_trans_req_id
2891: AND apply_to = cur_var2.apply_to;
2892:
2893: IF PG_DEBUG in ('Y', 'C') THEN
2894: arp_util.debug('Apply_to ' || cur_var2.apply_to);
2895: arp_util.debug('Line_Amt '||l_line_amount_remaining);
2896: arp_util.debug('Tax_Amt '||l_line_tax_remaining);
2897: END IF;
2898:

Line 2895: arp_util.debug('Line_Amt '||l_line_amount_remaining);

2891: AND apply_to = cur_var2.apply_to;
2892:
2893: IF PG_DEBUG in ('Y', 'C') THEN
2894: arp_util.debug('Apply_to ' || cur_var2.apply_to);
2895: arp_util.debug('Line_Amt '||l_line_amount_remaining);
2896: arp_util.debug('Tax_Amt '||l_line_tax_remaining);
2897: END IF;
2898:
2899: l_calc_per_line := ( Nvl(l_line_amount_remaining,0)

Line 2896: arp_util.debug('Tax_Amt '||l_line_tax_remaining);

2892:
2893: IF PG_DEBUG in ('Y', 'C') THEN
2894: arp_util.debug('Apply_to ' || cur_var2.apply_to);
2895: arp_util.debug('Line_Amt '||l_line_amount_remaining);
2896: arp_util.debug('Tax_Amt '||l_line_tax_remaining);
2897: END IF;
2898:
2899: l_calc_per_line := ( Nvl(l_line_amount_remaining,0)
2900: / ( Nvl(l_line_amount_remaining,0)

Line 2904: arp_util.debug('l_calc_per_line ' || l_calc_per_line);

2900: / ( Nvl(l_line_amount_remaining,0)
2901: + Nvl(l_line_tax_remaining,0)));
2902:
2903: IF PG_DEBUG in ('Y', 'C') THEN
2904: arp_util.debug('l_calc_per_line ' || l_calc_per_line);
2905: END IF;
2906:
2907: IF l_calc_per_line = 0 THEN
2908: l_calc_per_line := 1;

Line 2914: arp_util.debug('First priority : Line Amount ');

2910:
2911: If cur_var2.line_amount IS NOT NULL
2912: Then
2913: IF PG_DEBUG in ('Y', 'C') THEN
2914: arp_util.debug('First priority : Line Amount ');
2915: arp_util.debug('Line Amount has taken precedence over the amount applied ');
2916: END IF;
2917: l_calc_tot_amount_app := ARPCURR.CurrRound(
2918: ( cur_var2.line_amount

Line 2915: arp_util.debug('Line Amount has taken precedence over the amount applied ');

2911: If cur_var2.line_amount IS NOT NULL
2912: Then
2913: IF PG_DEBUG in ('Y', 'C') THEN
2914: arp_util.debug('First priority : Line Amount ');
2915: arp_util.debug('Line Amount has taken precedence over the amount applied ');
2916: END IF;
2917: l_calc_tot_amount_app := ARPCURR.CurrRound(
2918: ( cur_var2.line_amount
2919: / l_calc_per_line

Line 2929: arp_util.debug('Considered the Amount Applied value ');

2925: -- Calculate Line amount based on the Amount Applied.
2926: Elsif cur_var2.amount_applied IS NOT NULL
2927: Then
2928: IF PG_DEBUG in ('Y', 'C') THEN
2929: arp_util.debug('Considered the Amount Applied value ');
2930: End If;
2931:
2932: l_calc_tot_amount_app := ARPCURR.CurrRound(cur_var2.amount_applied
2933: ,l_inv_currency_code);

Line 2939: arp_util.debug('l_calc_tot_amount_app -> '||to_char(l_calc_tot_amount_app));

2935: * l_calc_per_line),l_inv_currency_code);
2936: End If;
2937:
2938: IF PG_DEBUG in ('Y', 'C') THEN
2939: arp_util.debug('l_calc_tot_amount_app -> '||to_char(l_calc_tot_amount_app));
2940: arp_util.debug('l_calc_line_amount -> '||to_char(l_calc_line_amount));
2941: END IF;
2942:
2943: -- Tax amount has taken precedence over the Line / amount applied

Line 2940: arp_util.debug('l_calc_line_amount -> '||to_char(l_calc_line_amount));

2936: End If;
2937:
2938: IF PG_DEBUG in ('Y', 'C') THEN
2939: arp_util.debug('l_calc_tot_amount_app -> '||to_char(l_calc_tot_amount_app));
2940: arp_util.debug('l_calc_line_amount -> '||to_char(l_calc_line_amount));
2941: END IF;
2942:
2943: -- Tax amount has taken precedence over the Line / amount applied
2944: If cur_var2.tax IS NOT NULL

Line 2947: arp_util.debug('Tax Amount has taken precedence over the amount applied ');

2943: -- Tax amount has taken precedence over the Line / amount applied
2944: If cur_var2.tax IS NOT NULL
2945: THEN
2946: IF PG_DEBUG in ('Y', 'C') THEN
2947: arp_util.debug('Tax Amount has taken precedence over the amount applied ');
2948: End If;
2949: l_calc_tax_amount := ARPCURR.CurrRound(cur_var2.tax
2950: ,l_inv_currency_code);
2951:

Line 2956: arp_util.debug('Amount Applied has taken precedence over the Tax Amount');

2952: l_calc_tot_amount_app := l_calc_line_amount +
2953: l_calc_tax_amount;
2954: Else
2955: IF PG_DEBUG in ('Y', 'C') THEN
2956: arp_util.debug('Amount Applied has taken precedence over the Tax Amount');
2957: End If;
2958: -- Amount applied has taken precedence over the tax amount
2959: l_calc_tax_amount := ARPCURR.CurrRound((Nvl(l_calc_tot_amount_app,0)
2960: - Nvl(l_calc_line_amount,0))

Line 3006: arp_util.debug(' Deafult By '||l_default_by);

3002: AND transmission_record_id = cur_var.transmission_record_id
3003: AND invoice_number = l_invoice_number;
3004:
3005: IF l_default_by = 'AMT_APP_FRM' THEN
3006: arp_util.debug(' Deafult By '||l_default_by);
3007: UPDATE ar_pmts_interface_line_details
3008: SET amount_applied = amount_applied + (hdr_amt_app - l_tot_amt_app )
3009: WHERE transmission_request_id = p_trans_req_id
3010: AND transmission_record_id = cur_var.transmission_record_id

Line 3016: arp_util.debug(' Deafult By '||l_default_by);

3012: AND rownum = 1;
3013: END IF;
3014:
3015: IF l_default_by = 'AMT_APP' THEN
3016: arp_util.debug(' Deafult By '||l_default_by);
3017: UPDATE ar_pmts_interface_line_details
3018: SET allocated_receipt_amount = allocated_receipt_amount + (hdr_amt_app_frm - l_tot_amt_app_from )
3019: WHERE transmission_request_id = p_trans_req_id
3020: AND transmission_record_id = cur_var.transmission_record_id