DBA Data[Home] [Help]

PACKAGE: APPS.PO_CODE_RELEASE_GRP

Source


1 PACKAGE PO_CODE_RELEASE_GRP AUTHID CURRENT_USER AS
2 /* $Header: POXGCRLS.pls 115.0 2003/07/01 02:40:01 bmunagal noship $*/
3 
4 -------------------------------------------------------------------------------
5 --Start of Comments
6 --Name: Current_Release
7 --Pre-reqs:
8 --  Only 115.0 version should be included in any ARU with a dependency on this file
9 --  Versions >= 115.1 should be shipped ONLY as part of final PRC Family Pack ARU
10 --Modifies:
11 --  None.
12 --Locks:
13 --  None.
14 --Function:
15 --  To identify the current PO Family Pack code release on a customer instance
16 --Parameters:
17 --  None.
18 --Returns:
19 --  Encoded String representing current PO Family Pack Code Release
20 --  The following format with 4 segments separated by a dot . is used:
21 --   11.05.00.00 indicates Base 11i. Returned in base version 115.0 of this file
22 --   11.05.10.00 indicates 11.5.10 or PRC Family Pack J. Returned version 115.1
23 --   The last segment may be used in the future for releases in between family packs
24 --Notes:
25 --  How to use this package functions in your code:
26 --
27 --  If you have new features that need to be enabled only if the code is
28 --   delivered as part of PRC Family Pack, but hidden if the same code
29 --   is delivered as part of a one-off patch, wrap your code in
30 --   the following IF condition.
31 --
32 --   IF PO_CODE_RELEASE_GRP.Current_Release >= PO_CODE_RELEASE_GRP.PRC_11i_Family_Pack_J THEN
33 --     <code that gets executed only if customer gets this as part of FPJ>
34 --   END IF
35 --
36 --  The above wrapping should be necessary **only** in the interfaces to new code.
37 --  The interfaces could be Forms UI, Import Programs like Req Import, etc.
38 --
39 --Testing:
40 --  If the instance has 115.0 version, then the below check should be false
41 --  If the instance has 115.1 or higher, then the below check should be true
42 --    PO_CODE_RELEASE_GRP.Current_Release >= PO_CODE_RELEASE_GRP.PRC_11i_Family_Pack_J
43 --
44 --  Also, at the time of releasing FPJ, verify in ARU system that version 115.1
45 --    of this file is included only by one aru: the final prc-fpj aru
46 --End of Comments
47 -------------------------------------------------------------------------------
48 
49 Function Current_Release
50 return varchar2
51 ;
52 
53 
54 -------------------------------------------------------------------------------
55 --Start of Comments
56 --Name: PRC_11i_Family_Pack_J
57 --Pre-reqs:
58 --  None.
59 --Modifies:
60 --  None.
61 --Locks:
62 --  None.
63 --Function:
64 --  Convenience Function to return encoded string for PRC 11i Family Pack J
65 --Parameters:
66 --  None.
67 --Returns:
68 --  Encoded string corresponding to Procurement 11i Family Pack J
69 --Notes:
70 --  Refer to Function Current_Release in this Package for usage/encoding details
71 --Testing:
72 --  Should return string 11.05.10.00
73 --End of Comments
74 -------------------------------------------------------------------------------
75 
76 Function PRC_11i_Family_Pack_J
77 return varchar2
78 ;
79 
80 END PO_CODE_RELEASE_GRP;