3170:
3171: -- initialize API return status to success
3172: x_return_status := WSH_UTIL_CORE.g_ret_sts_success;
3173:
3174: -- call FND_REQUEST.SUBMIT_REQUEST to run the WSHRDPAK.rdf report
3175: l_conc_request_id := FND_REQUEST.SUBMIT_REQUEST
3176: ( 'WSH'
3177: , 'WSHRDPAK'
3178: , 'Packing Slip Report'
3171: -- initialize API return status to success
3172: x_return_status := WSH_UTIL_CORE.g_ret_sts_success;
3173:
3174: -- call FND_REQUEST.SUBMIT_REQUEST to run the WSHRDPAK.rdf report
3175: l_conc_request_id := FND_REQUEST.SUBMIT_REQUEST
3176: ( 'WSH'
3177: , 'WSHRDPAK'
3178: , 'Packing Slip Report'
3179: , NULL
4297:
4298: ------------------------------------------------------------------------------
4299: -- PROCEDURE : set_template PUBLIC
4300: -- VERSION : 1.0
4301: -- COMMENT : This procedure is called before calling fnd_request.submit to
4302: -- set the layout template so that pdf output is generated.
4303: -- Template is obtained from shipping parameters based on the
4304: -- organization_id.
4305: -- PARAMETER LIST :
4412: wsh_debug_sv.log(l_module_name, 'language ', l_language);
4413: wsh_debug_sv.log(l_module_name, 'territory ', l_territory);
4414: END IF;
4415:
4416: l_status := fnd_request.add_layout
4417: ('WSH',
4418: l_report_template,
4419: l_language,
4420: l_territory,
4419: l_language,
4420: l_territory,
4421: 'PDF');
4422: IF l_debug_on THEN
4423: wsh_debug_sv.log(l_module_name,'Return Status After Calling fnd_request.add_layout ',l_status);
4424: END IF;
4425: IF (l_status=FALSE) THEN
4426: x_return_status := WSH_UTIL_CORE.G_RET_STS_ERROR;
4427: wsh_util_core.add_message(x_return_status,l_module_name);