DBA Data[Home] [Help]

PACKAGE BODY: APPS.WSMPVERS

Source


1 PACKAGE BODY WSMPVERS AS
2 /* $Header: WSMVERSB.pls 120.1 2005/06/29 03:37:05 mprathap noship $ */
3 
4 function get_osfm_release_version RETURN VARCHAR2
5 IS
6 	/*******************************************************************/
7 	/*
8 	-- Initial Version of this file contains base release version 110500
9 	-- With each DISCRETE_MFG FAMILY PACK the version will correspond to
10 	-- that of the PKM Release such as 11.5.8.
11 	-- For example a return value of varchar2
12 	-- 	'110500' - Base Release - 11i
13 	--	'110506' - 11.5.6 - DiscMfgFamilyPack F
14 	--	'110507' - 11.5.7 - DiscMfgFamilyPack G
15 	--	'110508' - 11.5.8 - DiscMfgFamilyPack H
16 	--	'110509' - 11.5.9 - DiscMfgFamilyPack I
17 	--	etc...
18 	-- This file should be part of ONLY FAMILY PACKS and should not be
19 	-- part of any one-off patches or ARU, except pre-approved by OSFM
20 	-- Development Team.
21 	--
22 	-- How to use this Code Level Global in your code ?
23 	-- * Get the value of this global which denotes at which code level the customer is in.
24 	-- * Compare the version of this global to the version in which you release your code, to
25 	-- functionally control execution of your code.
26 	--
27 	--    Example:
28 	--      If your code is released in Pack H, then you would check
29 	-- if  WSMPVERS.get_osfm_release_version >= '110508' then
30 	--                <Your functionality>
31 	-- end if;
32 	--
33 	*/
34 	/*******************************************************************/
35 
36 	--osfm_current_code_version Varchar2(10) := '110510'; -- DiscMfgFamily Pack J or 11.5.10
37 	osfm_current_code_version Varchar2(10) := '120000'; --Release 12
38 
39 Begin
40 	Return osfm_current_code_version;
41 End get_osfm_release_version;
42 
43 END WSMPVERS;