1 PACKAGE BODY PO_GL_INTERFACE_PVT AS
2 /* $Header: PO_GL_INTER_PVT.plb 120.1 2005/06/07 07:16:45 vsanjay noship $*/
3
4 -------------------------------------------------------------------------------
5 --Start of Comments
6 --Name: set_aff_validation_context
7 --Pre-reqs:
8 -- None.
9 --Modifies:
10 -- None.
11 --Locks:
12 -- None.
13 --Procedure:
14 -- This procedure Sets the context information for accounting flexfields so
15 -- that only the valid balancing and management segment values will be
16 -- displayed.
17 --Parameters:
18 --IN:
19 --p_org_id
20 -- This contains the org_id for which the context needs to be set.
21 --IN OUT:
22 -- None.
23 --OUT:
24 -- None.
25 --Returns: Nothing
26 --Notes:
27 -- Context_Type - the type of context being set. Valid values are:
28 -- LE - Legal Entity
29 -- LG - Ledger
30 -- OU - Operating Unit
31 -- Context_Id - the legal entity id, ledger id, or operating unit id
32 -- depending upon the context type.Here we are passing the Context
33 -- type as 'OU'.
34 --Testing:
35 --
36 --End of Comments
37 -------------------------------------------------------------------------------
38
39
40 PROCEDURE set_aff_validation_context(p_org_id Number)
41 IS
42
43 BEGIN
44
45 GL_GLOBAL.set_aff_validation('OU', p_org_id);
46
47 END set_aff_validation_context;
48
49 END PO_GL_INTERFACE_PVT;