DBA Data[Home] [Help]

PACKAGE BODY: APPS.PO_CODE_RELEASE_GRP

Source


1 PACKAGE BODY PO_CODE_RELEASE_GRP AS
2 /* $Header: POXGCRLB.pls 115.1 2003/08/06 02:23:32 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 in 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 is
52 Begin
53   return '11.05.10.00'; -- Indicates 11.5.10 or FPJ in this file version of 115.1
54 End Current_Release;
55 
56 
57 -------------------------------------------------------------------------------
58 --Start of Comments
59 --Name: PRC_11i_Family_Pack_J
60 --Pre-reqs:
61 --  None.
62 --Modifies:
63 --  None.
64 --Locks:
65 --  None.
66 --Function:
67 --  Convenience Function to return encoded string for PRC 11i Family Pack J
68 --Parameters:
69 --  None.
70 --Returns:
71 --  Encoded string corresponding to Procurement 11i Family Pack J
72 --Notes:
73 --  Refer to Function Current_Release in this Package for usage/encoding details
74 --Testing:
75 --  Should return string 11.05.10.00
76 --End of Comments
77 -------------------------------------------------------------------------------
78 
79 Function PRC_11i_Family_Pack_J
80 return varchar2
81 is
82 Begin
83   Return '11.05.10.00';
84 End PRC_11i_Family_Pack_J;
85 
86 END PO_CODE_RELEASE_GRP;