258: BEGIN
259:
260: log(l_module_name, 'Begin');
261:
262: l_printer_name := FND_PROFILE.VALUE('PRINTER');
263: l_copies := FND_PROFILE.VALUE('CONC_COPIES');
264:
265: gbl_error_code := 0;
266: gbl_error_buf := NULL;
259:
260: log(l_module_name, 'Begin');
261:
262: l_printer_name := FND_PROFILE.VALUE('PRINTER');
263: l_copies := FND_PROFILE.VALUE('CONC_COPIES');
264:
265: gbl_error_code := 0;
266: gbl_error_buf := NULL;
267: gbl_set_of_books_id := p_sob_id;
2640: AND fiscal_year = gbl_fiscal_year;
2641:
2642: IF l_exception_count > 0 THEN
2643: l_run_mode := 'Fiscal Year';
2644: l_printer_name := FND_PROFILE.VALUE('PRINTER');
2645: l_copies := FND_PROFILE.VALUE('CONC_COPIES');
2646: l_print_option := FND_REQUEST.SET_PRINT_OPTIONS(
2647: printer => l_printer_name,
2648: copies => l_copies);
2641:
2642: IF l_exception_count > 0 THEN
2643: l_run_mode := 'Fiscal Year';
2644: l_printer_name := FND_PROFILE.VALUE('PRINTER');
2645: l_copies := FND_PROFILE.VALUE('CONC_COPIES');
2646: l_print_option := FND_REQUEST.SET_PRINT_OPTIONS(
2647: printer => l_printer_name,
2648: copies => l_copies);
2649: