DBA Data[Home] [Help]

APPS.WMS_INSTALL dependencies on WMS_INSTALL

Line 1: PACKAGE BODY WMS_INSTALL AS

1: PACKAGE BODY WMS_INSTALL AS
2: /* $Header: WMSINSTB.pls 120.1 2005/06/15 13:45:22 appldev $ */
3:
4: -- Global constant holding package name
5: g_pkg_name constant varchar2(50) := 'WMS_INSTALL';

Line 5: g_pkg_name constant varchar2(50) := 'WMS_INSTALL';

1: PACKAGE BODY WMS_INSTALL AS
2: /* $Header: WMSINSTB.pls 120.1 2005/06/15 13:45:22 appldev $ */
3:
4: -- Global constant holding package name
5: g_pkg_name constant varchar2(50) := 'WMS_INSTALL';
6:
7: /*
8: ** -------------------------------------------------------------------------
9: ** Function: check_install

Line 27: ** TRUE if WMS installed, else FALSE

23: ** -if NULL, the check is just made at site level
24: ** and not for any specific organization.This is more relaxed than
25: ** passing a specific organization.
26: ** Returns:
27: ** TRUE if WMS installed, else FALSE
28: **
29: ** Please use return value to determine if WMS is installed or not.
30: ** Do not use x_return_status for this purpose as
31: ** . x_return_status could be success and yet WMS not be installed.

Line 62: if (g_wms_installation_status is not null) then

58: /*
59: ** Check if WMS is installed. Use cached value if available
60: */
61:
62: if (g_wms_installation_status is not null) then
63: l_status := WMS_INSTALL.g_wms_installation_status;
64: else
65: l_return_val := fnd_installation.get(
66: appl_id => l_wms_application_id,

Line 63: l_status := WMS_INSTALL.g_wms_installation_status;

59: ** Check if WMS is installed. Use cached value if available
60: */
61:
62: if (g_wms_installation_status is not null) then
63: l_status := WMS_INSTALL.g_wms_installation_status;
64: else
65: l_return_val := fnd_installation.get(
66: appl_id => l_wms_application_id,
67: dep_appl_id => l_wms_application_id,

Line 71: WMS_INSTALL.g_wms_installation_status := l_status;

67: dep_appl_id => l_wms_application_id,
68: status => l_status,
69: industry => l_industry);
70:
71: WMS_INSTALL.g_wms_installation_status := l_status;
72: end if;
73:
74: /*
75: ** If WMS installed, proceed

Line 75: ** If WMS installed, proceed

71: WMS_INSTALL.g_wms_installation_status := l_status;
72: end if;
73:
74: /*
75: ** If WMS installed, proceed
76: */
77: if (l_status = 'I') then
78: if p_organization_id is NULL then
79: return TRUE;

Line 85: if (p_organization_id = WMS_INSTALL.g_organization_id) then

81: /*
82: ** If the previous org checked for WMS enable is same as this org
83: ** reuse the cached value
84: */
85: if (p_organization_id = WMS_INSTALL.g_organization_id) then
86: l_wms_enabled_flag := WMS_INSTALL.g_wms_enabled_flag;
87: else
88: select wms_enabled_flag
89: into l_wms_enabled_flag

Line 86: l_wms_enabled_flag := WMS_INSTALL.g_wms_enabled_flag;

82: ** If the previous org checked for WMS enable is same as this org
83: ** reuse the cached value
84: */
85: if (p_organization_id = WMS_INSTALL.g_organization_id) then
86: l_wms_enabled_flag := WMS_INSTALL.g_wms_enabled_flag;
87: else
88: select wms_enabled_flag
89: into l_wms_enabled_flag
90: from mtl_parameters

Line 93: WMS_INSTALL.g_organization_id := p_organization_id;

89: into l_wms_enabled_flag
90: from mtl_parameters
91: where organization_id = p_organization_id;
92:
93: WMS_INSTALL.g_organization_id := p_organization_id;
94: WMS_INSTALL.g_wms_enabled_flag := l_wms_enabled_flag;
95: end if;
96:
97: if (l_wms_enabled_flag in ('Y','y')) then

Line 94: WMS_INSTALL.g_wms_enabled_flag := l_wms_enabled_flag;

90: from mtl_parameters
91: where organization_id = p_organization_id;
92:
93: WMS_INSTALL.g_organization_id := p_organization_id;
94: WMS_INSTALL.g_wms_enabled_flag := l_wms_enabled_flag;
95: end if;
96:
97: if (l_wms_enabled_flag in ('Y','y')) then
98: return TRUE;

Line 118: end WMS_INSTALL;

114: end if;
115:
116: return FALSE;
117: end check_install;
118: end WMS_INSTALL;