DBA Data[Home] [Help]

APPS.WSH_DOCUMENT_SETS dependencies on FND_REQUEST

Line 1015: fnd_request.set_print_options

1011: WSH_DEBUG_SV.logmsg(l_module_name, l_copies || ' copies of ' || DOCUMENT.CONCURRENT_PROGRAM_NAME||' WILL BE PRINTED ON PRINTER '||L_PRINTER_NAME );
1012: END IF; --}
1013: --
1014: l_printer_setup :=
1015: fnd_request.set_print_options
1016: (l_printer_name, -- This could be null here.
1017: document.output_print_style,
1018: l_copies,
1019: l_save_output,

Line 1068: if ( not fnd_request.set_options(

1064: all individual requests are protected against updates */
1065: IF l_debug_on THEN --{
1066: WSH_DEBUG_SV.logmsg(l_module_name, 'Setting option for language : '||l_nls_lang(l_nls_count).nls_language);
1067: END IF; --}
1068: if ( not fnd_request.set_options(
1069: implicit => 'NO',
1070: protected => 'YES',
1071: language => l_nls_lang(l_nls_count).nls_language,
1072: territory => l_nls_lang(l_nls_count).nls_territory)) then

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

1070: protected => 'YES',
1071: language => l_nls_lang(l_nls_count).nls_language,
1072: territory => l_nls_lang(l_nls_count).nls_territory)) then
1073: IF l_debug_on THEN --{
1074: WSH_DEBUG_SV.logmsg(l_module_name, 'fnd_request.set_options returned false');
1075: END IF; --}
1076: wsh_util_core.add_message(x_return_status);
1077: raise no_data_found ;
1078: end if;

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

1298: WSH_DEBUG_SV.logmsg(l_module_name, ' language ' || l_language );
1299: WSH_DEBUG_SV.logmsg(l_module_name, 'territory ' || l_territory);
1300: END IF;
1301: --
1302: l_ret_status :=fnd_request.add_layout(l_appl_short_name,
1303: l_template_code,
1304: l_language,
1305: l_territory,
1306: 'PDF');

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

1307: IF l_ret_status THEN
1308: l_print_pdf := 'Y';
1309: ELSE
1310: IF l_debug_on THEN
1311: WSH_DEBUG_SV.logmsg(l_module_name, 'Error returning from fnd_request.add_layout :'||x_return_status);
1312: END IF;
1313: wsh_util_core.add_message(x_return_status);
1314: END IF;
1315: --}

Line 1332: l_request_id := fnd_request.submit_request

1328:
1329: -- End of XDO Integration Changes
1330: IF ((l_output_file_type <> 'XML') OR
1331: (l_output_file_type = 'XML' and l_print_pdf = 'Y')) THEN
1332: l_request_id := fnd_request.submit_request
1333: (document.application_short_name,
1334: document.concurrent_program_name,
1335: '',
1336: '',

Line 1457: fnd_request.set_print_options

1453: --
1454: END IF; --}
1455:
1456: l_printer_setup :=
1457: fnd_request.set_print_options
1458: (printer => p_document_param_info(1).p_printer_name,
1459: style => document.output_print_style,
1460: copies => l_copies,
1461: save_output => l_save_output,

Line 1510: if ( not fnd_request.set_options(

1506: all individual requests are protected against updates */
1507: IF l_debug_on THEN --{
1508: WSH_DEBUG_SV.logmsg(l_module_name, 'Setting option for language : '||l_nls_lang(l_nls_count).nls_language);
1509: END IF; --}
1510: if ( not fnd_request.set_options(
1511: implicit => 'NO',
1512: protected => 'YES',
1513: language => l_nls_lang(l_nls_count).nls_language,
1514: territory => l_nls_lang(l_nls_count).nls_territory)) then

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

1512: protected => 'YES',
1513: language => l_nls_lang(l_nls_count).nls_language,
1514: territory => l_nls_lang(l_nls_count).nls_territory)) then
1515: IF l_debug_on THEN --{
1516: WSH_DEBUG_SV.logmsg(l_module_name, 'fnd_request.set_options returned false');
1517: END IF; --}
1518: wsh_util_core.add_message(x_return_status);
1519: raise no_data_found ;
1520: end if;

Line 1556: l_ret_status :=fnd_request.add_layout

1552: WSH_DEBUG_SV.logmsg(l_module_name, ' language' || l_language );
1553: WSH_DEBUG_SV.logmsg(l_module_name, 'territory' || l_territory);
1554: END IF;
1555: --
1556: l_ret_status :=fnd_request.add_layout
1557: (l_appl_short_name,
1558: l_template_code,
1559: l_language,
1560: l_territory,

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

1562: IF l_ret_status THEN
1563: l_print_pdf := 'Y';
1564: ELSE
1565: IF l_debug_on THEN
1566: WSH_DEBUG_SV.logmsg(l_module_name, 'Error returning from fnd_request.add_layout :'||x_return_status);
1567: END IF;
1568: wsh_util_core.add_message(x_return_status);
1569: END IF;
1570: --}

Line 1586: l_request_id := fnd_request.submit_request

1582: -- End of XDO Integration Changes
1583:
1584: IF ((l_output_file_type <> 'XML') OR
1585: (l_output_file_type = 'XML' and l_print_pdf = 'Y')) THEN
1586: l_request_id := fnd_request.submit_request
1587: (document.application_short_name,
1588: document.concurrent_program_name,
1589: '',
1590: '',

Line 1690: -- in fnd_request function

1686:
1687: IF ( l_total_docs = 0 ) THEN --{
1688: -- successfully looped through all documents but didnt submit any
1689: -- probably because there werent any in the set (but may have had problems
1690: -- in fnd_request function
1691:
1692: x_return_status := fnd_api.g_ret_sts_error;
1693: fnd_message.set_name('WSH','WSH_NO_DOCS');
1694: wsh_util_core.add_message(x_return_status);

Line 1698: -- from problem in fnd_request

1694: wsh_util_core.add_message(x_return_status);
1695:
1696: ELSE
1697: -- everthing worked: any documents not submitted resulted
1698: -- from problem in fnd_request
1699: x_return_status := fnd_api.g_ret_sts_success;
1700: --
1701: -- Debug Statements
1702: --