v_set_print := FND_REQUEST.SET_PRINT_OPTIONS(FND_PROFILE.VALUE('Printer'),'','',TRUE,'');
IF v_set_print = FALSE THEN
FND_MESSAGE.RETRIEVE;
FND_MESSAGE.ERROR;
--MESSAGE('ERROR: Set Print Options did not submit successfully.');PAUSE;
END IF;
v_req_id := FND_REQUEST.SUBMIT_REQUEST(application_short_name,
conc_program_short_name,
conc_program_description,
NULL,
FALSE,
:HEADER_BLOCK.FIELD_NAME,
'','','','','','','','','',
'','','','','','','','','','',
'','','','','','','','','','',
'','','','','','','','','','',
'','','','','','','','','','',
'','','','','','','','','','',
'','','','','','','','','','',
'','','','','','','','','','',
'','','','','','','','','','',
'','','','','','','','','','');
IF v_req_id = 0 THEN
FND_MESSAGE.RETRIEVE;
FND_MESSAGE.ERROR;
--MESSAGE('ERROR: Statement of Invoie XML Publisher Report did not submit successfully.');PAUSE;
END IF;