1 PACKAGE PO_CORE_S3 AUTHID CURRENT_USER AS
2 /* $Header: POXCOC3S.pls 115.2 2002/11/23 03:32:28 sbull ship $*/
3
4 /*===========================================================================
5 PACKAGE NAME: PO_CORE_S3
6
7 DESCRIPTION:
8
9 CLIENT/SERVER: Server
10
11 HISTORY:
12
13 LIBRARY NAME:
14
15 OWNER:
16
17 PROCEDURE NAMES: get_window_org_sob
18
19 ===========================================================================*/
20 /*===========================================================================
21 PROCEDURE NAME: get_window_org_sob
22
23 DESCRIPTION: Based on whether the calling form supports true
24 multi-org (e.g. the Receiving forms in 10SC) or
25 is single org (e.g. Purchase Orders), retrieve
26 either the appropriate menu org code or sob short
27 name.
28
29
30 PARAMETERS:
31
32 DESIGN REFERENCES:
33
34 ALGORITHM: If the form is true multiorg, find the org code
35 associated with the MANUFACTURING_ORG_ID profile
36 option setting.
37
38 If the form is single-org, but it is operating as
39 multi-org using the 10.6 org_id column, then return
40 the org code associated with the org_id in
41 purchasing system parameters.
42
43 If the form is single-org and is being run in a
44 single-org context, find the set of books short name
45 associated with the sob specified in financials
46 system parameters.
47
48 NOTES:
49
50 OPEN ISSUES:
51
52 CLOSED ISSUES:
53
54 CHANGE HISTORY: Created 01-NOV-95 LBROADBE
55 ===========================================================================*/
56 PROCEDURE get_window_org_sob(x_multi_org_form_flag IN OUT NOCOPY BOOLEAN,
57 x_org_sob_id IN OUT NOCOPY NUMBER,
58 x_org_sob_name IN OUT NOCOPY VARCHAR2);
59
60 END PO_CORE_S3;