[Home] [Help]
PACKAGE: APPS.INV_THIRD_PARTY_STOCK_UTIL
Source
1 PACKAGE INV_THIRD_PARTY_STOCK_UTIL AS
2 -- $Header: INVUTPSS.pls 120.1 2005/06/28 12:31:37 pseshadr noship $ --
3 --+=======================================================================+
4 --| Copyright (c) 2002 Oracle Corporation |
5 --| Redwood Shores, CA, USA |
6 --| All rights reserved. |
7 --+=======================================================================+
8 --| FILENAME |
9 --| INVUTPSS.pls |
10 --| |
11 --| DESCRIPTION |
12 --| Consignment Utilities Package |
13 --| HISTORY |
14 --| 09/30/2002 pseshadr Created |
15 --+========================================================================
16
17
18 --===================
19 -- PROCEDURES AND FUNCTIONS
20 --===================
21
22 --========================================================================
23 -- PROCEDURE : Set_OU_Context PUBLIC
24 -- PARAMETERS:
25 -- p_org_id Operating Unit
26 -- COMMENT : Set the OU context
27 --========================================================================
28 PROCEDURE Set_OU_Context
29 ( p_org_id IN NUMBER
30 );
31
32 --========================================================================
33 -- FUNCTION : Get_Org_id PUBLIC
34 -- PARAMETERS: p_vendor_site_id Vendor site
35 -- COMMENT : Return the operating unit
36 --========================================================================
37 FUNCTION Get_Org_id
38 ( p_vendor_site_id IN NUMBER
39 )
40 RETURN NUMBER ;
41
42 --========================================================================
43 -- FUNCTION : Get_Primary_UOM PUBLIC
44 -- PARAMETERS: p_inventory_item_id Item
45 -- p_organization_id Inv. organization
46 -- COMMENT : This function returns the primary UOM of the item
47 --========================================================================
48 FUNCTION Get_Primary_UOM
49 ( p_inventory_item_id IN NUMBER
50 , p_organization_id IN NUMBER
51 )
52 RETURN VARCHAR2;
53
54 --========================================================================
55 -- FUNCTION : Get_UOM_Code PUBLIC
56 -- PARAMETERS: p_unit_of_measure UOM
57 -- p_vendor_name Vendor
58 -- p_vendor_site_code Site
59 -- COMMENT : This function returns the UOM code for the item
60 --========================================================================
61 FUNCTION Get_UOM_Code
62 ( p_unit_of_measure IN VARCHAR2
63 , p_vendor_name IN VARCHAR2
64 , p_vendor_site_code IN VARCHAR2
65 )
66 RETURN VARCHAR2;
67
68 --========================================================================
69 -- FUNCTION : Get_Location PUBLIC
70 -- PARAMETERS: p_organization_id Inventory Orgn
71 -- COMMENT : This function returns the Location of the Inventory Orgn
72 --========================================================================
73 FUNCTION Get_Location
74 ( p_organization_id IN NUMBER
75 )
76 RETURN NUMBER;
77
78 --========================================================================
79 -- PROCEDURE : Get_Vendor_Info PUBLIC
80 -- PARAMETERS:
81 -- p_vendor_site_id Vendor Site Id
82 -- x_vendor_name Vendor Name
83 -- x_vendor_site_code Vendor Site Code
84 -- COMMENT : Returns vendor name and vendor site code
85 --========================================================================
86 PROCEDURE Get_Vendor_Info
87 ( p_vendor_site_id IN NUMBER
88 , x_vendor_name OUT NOCOPY VARCHAR2
89 , x_vendor_site_code OUT NOCOPY VARCHAR2
90 );
91
92
93 END INV_THIRD_PARTY_STOCK_UTIL;