DBA Data[Home] [Help]

APPS.WSH_DOCUMENT_SETS dependencies on FND_REQUEST

Line 1045: fnd_request.set_print_options

1041: WSH_DEBUG_SV.logmsg(l_module_name, l_copies || ' copies of ' || DOCUMENT.CONCURRENT_PROGRAM_NAME||' WILL BE PRINTED ON PRINTER '||L_PRINTER_NAME );
1042: END IF; --}
1043: --
1044: l_printer_setup :=
1045: fnd_request.set_print_options
1046: (l_printer_name, -- This could be null here.
1047: document.output_print_style,
1048: l_copies,
1049: l_save_output,

Line 1106: if ( not fnd_request.set_options(

1102: IF l_debug_on THEN --{
1103: WSH_DEBUG_SV.logmsg(l_module_name, 'l_NUMERIC_Characters :'||l_NUMERIC_Characters );
1104: END IF; --}
1105:
1106: if ( not fnd_request.set_options(
1107: implicit => 'NO',
1108: protected => 'YES',
1109: language => l_nls_lang(l_nls_count).nls_language,
1110: territory => l_nls_lang(l_nls_count).nls_territory,

Line 1114: WSH_DEBUG_SV.logmsg(l_module_name, 'fnd_request.set_options returned false');

1110: territory => l_nls_lang(l_nls_count).nls_territory,
1111: numeric_characters => l_numeric_characters)) then
1112: IF l_debug_on THEN --{
1113:
1114: WSH_DEBUG_SV.logmsg(l_module_name, 'fnd_request.set_options returned false');
1115: END IF; --}
1116: wsh_util_core.add_message(x_return_status);
1117: raise no_data_found ;
1118: end if;

Line 1391: l_ret_status :=fnd_request.add_layout(l_appl_short_name,

1387: WSH_DEBUG_SV.logmsg(l_module_name,'def_output_type : '||l_xml_def_output_type);
1388: END IF;
1389:
1390: IF l_xml_def_output_type is NOT NULL THEN
1391: l_ret_status :=fnd_request.add_layout(l_appl_short_name,
1392: l_template_code,
1393: l_language,
1394: l_territory,
1395: l_xml_def_output_type);

Line 1397: l_ret_status :=fnd_request.add_layout(l_appl_short_name,

1393: l_language,
1394: l_territory,
1395: l_xml_def_output_type);
1396: ELSE
1397: l_ret_status :=fnd_request.add_layout(l_appl_short_name,
1398: l_template_code,
1399: l_language,
1400: l_territory,
1401: 'PDF');

Line 1409: WSH_DEBUG_SV.logmsg(l_module_name, 'Error returning from fnd_request.add_layout :'||x_return_status);

1405: IF l_ret_status THEN
1406: l_print_pdf := 'Y';
1407: ELSE
1408: IF l_debug_on THEN
1409: WSH_DEBUG_SV.logmsg(l_module_name, 'Error returning from fnd_request.add_layout :'||x_return_status);
1410: END IF;
1411: wsh_util_core.add_message(x_return_status);
1412: END IF;
1413: --}

Line 1432: l_request_id := fnd_request.submit_request

1428:
1429: -- End of XDO Integration Changes
1430: IF ((l_output_file_type <> 'XML') OR
1431: (l_output_file_type = 'XML' and l_print_pdf = 'Y')) THEN
1432: l_request_id := fnd_request.submit_request
1433: (document.application_short_name,
1434: document.concurrent_program_name,
1435: '',
1436: '',

Line 1565: fnd_request.set_print_options

1561: --
1562: END IF; --}
1563:
1564: l_printer_setup :=
1565: fnd_request.set_print_options
1566: (printer => WSH_INV_INTEGRATION_GRP.G_PRINTERTAB(i).printer_name,
1567: style => document.output_print_style,
1568: copies => l_copies,
1569: save_output => l_save_output,

Line 1626: if ( not fnd_request.set_options(

1622: IF l_debug_on THEN --{
1623: WSH_DEBUG_SV.logmsg(l_module_name, 'l_NUMERIC_Characters :'||l_NUMERIC_Characters );
1624: END IF; --}
1625:
1626: if ( not fnd_request.set_options(
1627: implicit => 'NO',
1628: protected => 'YES',
1629: language => l_nls_lang(l_nls_count).nls_language,
1630: territory => l_nls_lang(l_nls_count).nls_territory,

Line 1633: WSH_DEBUG_SV.logmsg(l_module_name, 'fnd_request.set_options returned false');

1629: language => l_nls_lang(l_nls_count).nls_language,
1630: territory => l_nls_lang(l_nls_count).nls_territory,
1631: numeric_characters => l_numeric_characters)) then
1632: IF l_debug_on THEN --{
1633: WSH_DEBUG_SV.logmsg(l_module_name, 'fnd_request.set_options returned false');
1634: END IF; --}
1635: wsh_util_core.add_message(x_return_status);
1636: raise no_data_found ;
1637: end if;

Line 1724: l_ret_status :=fnd_request.add_layout(l_appl_short_name,

1720: WSH_DEBUG_SV.logmsg(l_module_name,'def_output_type : '||l_xml_def_output_type);
1721: END IF;
1722:
1723: IF l_xml_def_output_type is NOT NULL THEN
1724: l_ret_status :=fnd_request.add_layout(l_appl_short_name,
1725: l_template_code,
1726: l_language,
1727: l_territory,
1728: l_xml_def_output_type);

Line 1730: l_ret_status :=fnd_request.add_layout(l_appl_short_name,

1726: l_language,
1727: l_territory,
1728: l_xml_def_output_type);
1729: ELSE
1730: l_ret_status :=fnd_request.add_layout(l_appl_short_name,
1731: l_template_code,
1732: l_language,
1733: l_territory,
1734: 'PDF');

Line 1742: WSH_DEBUG_SV.logmsg(l_module_name, 'Error returning from fnd_request.add_layout :'||x_return_status);

1738: IF l_ret_status THEN
1739: l_print_pdf := 'Y';
1740: ELSE
1741: IF l_debug_on THEN
1742: WSH_DEBUG_SV.logmsg(l_module_name, 'Error returning from fnd_request.add_layout :'||x_return_status);
1743: END IF;
1744: wsh_util_core.add_message(x_return_status);
1745: END IF;
1746: --}

Line 1764: l_request_id := fnd_request.submit_request

1760: -- End of XDO Integration Changes
1761:
1762: IF ((l_output_file_type <> 'XML') OR
1763: (l_output_file_type = 'XML' and l_print_pdf = 'Y')) THEN
1764: l_request_id := fnd_request.submit_request
1765: (document.application_short_name,
1766: document.concurrent_program_name,
1767: '',
1768: '',

Line 1876: -- in fnd_request function

1872:
1873: IF ( l_total_docs = 0 ) THEN --{
1874: -- successfully looped through all documents but didnt submit any
1875: -- probably because there werent any in the set (but may have had problems
1876: -- in fnd_request function
1877:
1878: x_return_status := fnd_api.g_ret_sts_error;
1879: fnd_message.set_name('WSH','WSH_NO_DOCS');
1880: wsh_util_core.add_message(x_return_status);

Line 1884: -- from problem in fnd_request

1880: wsh_util_core.add_message(x_return_status);
1881:
1882: ELSE
1883: -- everthing worked: any documents not submitted resulted
1884: -- from problem in fnd_request
1885: x_return_status := fnd_api.g_ret_sts_success;
1886: --
1887: -- Debug Statements
1888: --