1 PACKAGE HR_ORGANIZATIONS_SV1 AUTHID CURRENT_USER AS
2 /* $Header: POXPIOGS.pls 115.0 99/07/17 01:49:30 porting ship $ */
3
4 /*==================================================================
5 FUNCTION NAME: val_inv_organization_id()
6
7 DESCRIPTION: This API is used to validate x_inv_organization_id
8 specified is valid and active.
9
10 PARAMETERS: x_inv_organization_id IN NUMBER
11
12 DESIGN
13 REFERENCES: 832valapl.doc
14
15 ALGORITHM: API will return TRUE if validation succeeds, FALSE
16 otherwise.
17
18 NOTES:
19
20 OPEN ISSUES:
21
22 CLOSE ISSUES:
23
24 CHANGE
25 HISTORY: Created 19-FEB-1996 DXYU
26
27 =======================================================================*/
28 FUNCTION val_inv_organization_id(x_inv_organization_id IN NUMBER)
29 RETURN BOOLEAN;
30
31 /*==================================================================
32 FUNCTION NAME: derive_organization_id()
33
34 DESCRIPTION: This API is used to derive x_organization_code
35 given organization_code(inventory org) as an
36 input parameter. This API will not check to see
37 if the inventory organization is active or not.
38
39 PARAMETERS: x_organization_code IN VARCHAR2
40
41 DESIGN
42 REFERENCES: 832dvapi.dd
43
44 ALGORITHM: return organization_id (NUMBER) if found;
45 NULL otherwise.
46
47 NOTES:
48
49 OPEN ISSUES:
50
51 CLOSE ISSUES:
52
53 CHANGE
54 HISTORY: Created 19-FEB-1996 SODAYAR
55
56
57 =======================================================================*/
58 FUNCTION derive_organization_id(X_organization_code IN VARCHAR2)
59 return NUMBER;
60
61 END HR_ORGANIZATIONS_SV1;