Search Results cs_multiorg_pvt
Overview
CS_MULTIORG_PVT is a private PL/SQL package in the Oracle E-Business Suite APPS schema that resolves the correct operating unit (organization) context for a service incident. In Release 12, service requests and their supporting transactions must be attributable to a specific operating unit for Multi-Org security, accounting, and reporting. This package encapsulates the business rules that determine which organization should be stamped on a service request when the user does not supply one explicitly, or when a default must be validated against assignment rules.
The package is classified as PVT (private), meaning it is not intended as a public integration API. It is invoked by other service modules rather than called directly by external code. The header comment identifies the source file as csxvmoib.pls, with a rendition date of 2010/11/24 — a mature code line that predates and carries forward into the 12.1.1 and 12.2.2 releases. The private global constant G_MAXERRLEN (value 512) defines the maximum length of error message text that the package will store in its internal error buffer, and g_oraerrmsg (VARCHAR2(600)) holds the assembled Oracle error string. These conventions follow the standard EBS API error-handling pattern.
Key Procedures and Functions
The documented package exposes a single procedure:
- GET_ORGID — A private API whose stated purpose is to return the MultiOrg identifier. It takes the standard EBS API parameters (API version, initialization of the message list, commit flag, validation level, and the x_return_status / x_msg_count / x_msg_data out parameters) together with an incident identifier. It returns the resolved organization identifier and a profile value. Internally it declares a cursor over CS_MULTI_ORG_RULES to obtain the applicable multi-org rule code and rule order, and uses a relationship type code of 'SERVICED_BY' when evaluating organization assignments.
No public procedures or functions are documented for this package, consistent with its PVT classification. The procedure names above are taken verbatim from the ETRM metadata; parameter lists are not reproduced here.
Tables Accessed
The package reads and writes against the following documented tables (accessed through APPS synonyms):
- CS_MULTI_ORG_RULES — Supplies the rule code and rule ordering that govern how an organization is selected for an incident.
- CSI_I_ORG_ASSIGNMENTS — Holds the organization-to-instance assignments evaluated against the SERVICED_BY relationship type.
- CS_INCIDENTS_ALL_B — The service request base table; supplies the incident context used to derive the organization.
- OKC_K_HEADERS_ALL_B — Contract header information used to determine the owning organization where a service request is contract-linked.
- CS_CUSTOMER_PRODUCTS_ALL — Customer product instances that participate in the serviced-by relationship.
- HZ_CUST_ACCT_SITES_ALL — Customer account and site data resolved during rule evaluation.
These tables are consumed primarily for read access to drive rule evaluation; the operation is essentially an inference of the correct organization rather than a data-maintenance routine.
Usage Notes
CS_MULTIORG_PVT is referenced by one other package within the application, indicating it is called programmatically from the service foundation layer rather than from forms or concurrent programs directly. Typical invocation occurs during service request creation or update, and during contract-to-service request correlation, when the framework must determine the default operating unit for Multi-Org purposes. Because the package is private, customers and integrators should not call GET_ORGID from custom code; instead they should use the supported public APIs that internally delegate to this package. The G_MAXERRLEN constant, which prompted the original search, is an internal buffer-sizing constant and is not exposed as a configurable option. Any modification or extension of organization-resolution behavior should be treated as a customization with corresponding support and upgrade implications.
-
PACKAGE BODY: APPS.CS_MULTIORG_PVT
12.2.2
-
PACKAGE: APPS.CS_MULTIORG_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CS_MULTIORG_PVT, status:VALID,
-
PACKAGE: APPS.CS_MULTIORG_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CS_MULTIORG_PVT, status:VALID,
-
PACKAGE BODY: APPS.CS_MULTIORG_PVT
12.1.1
-
PACKAGE BODY: APPS.CS_MULTIORG_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_MULTIORG_PVT, status:VALID,
-
PACKAGE BODY: APPS.CS_MULTIORG_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_MULTIORG_PVT, status:VALID,
-
SYNONYM: APPS.CS_MULTI_ORG_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_MULTI_ORG_RULES, status:VALID,
-
PACKAGE: APPS.CS_MULTIORG_PVT
12.2.2
-
PACKAGE: APPS.CS_MULTIORG_PVT
12.1.1
-
SYNONYM: APPS.CS_MULTI_ORG_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_MULTI_ORG_RULES, status:VALID,
-
PACKAGE BODY: APPS.CS_MULTIORG_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_MULTIORG_PUB, status:VALID,
-
SYNONYM: APPS.CSI_I_ORG_ASSIGNMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSI_I_ORG_ASSIGNMENTS, status:VALID,
-
PACKAGE BODY: APPS.CS_MULTIORG_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_MULTIORG_PUB, status:VALID,
-
SYNONYM: APPS.CS_CUSTOMER_PRODUCTS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_CUSTOMER_PRODUCTS_ALL, status:VALID,
-
SYNONYM: APPS.CS_CUSTOMER_PRODUCTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_CUSTOMER_PRODUCTS_ALL, status:VALID,
-
SYNONYM: APPS.CSI_I_ORG_ASSIGNMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSI_I_ORG_ASSIGNMENTS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.ASO_DEBUG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ASO_DEBUG_PUB, status:VALID,
-
PACKAGE: APPS.ASO_DEBUG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ASO_DEBUG_PUB, status:VALID,
-
SYNONYM: APPS.CS_INCIDENTS_ALL_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENTS_ALL_B, status:VALID,
-
SYNONYM: APPS.CS_INCIDENTS_ALL_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENTS_ALL_B, status:VALID,
-
SYNONYM: APPS.OKC_K_HEADERS_ALL_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_ALL_B, status:VALID,
-
SYNONYM: APPS.OKC_K_HEADERS_ALL_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_ALL_B, status:VALID,
-
APPS.CS_MULTIORG_PUB dependencies on CS_MULTIORG_PVT
12.2.2
-
APPS.CS_MULTIORG_PVT dependencies on CS_MULTIORG_PVT
12.2.2
-
APPS.CS_MULTIORG_PVT dependencies on CS_MULTIORG_PVT
12.1.1
-
APPS.CS_MULTIORG_PUB dependencies on CS_MULTIORG_PVT
12.1.1
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID,
-
APPS.CS_MULTIORG_PVT dependencies on FND_API
12.1.1
-
APPS.CS_MULTIORG_PVT dependencies on FND_API
12.2.2
-
APPS.CS_MULTIORG_PVT dependencies on FND_MESSAGE
12.2.2
-
APPS.CS_MULTIORG_PVT dependencies on FND_MESSAGE
12.1.1
-
APPS.CS_MULTIORG_PVT dependencies on FND_MSG_PUB
12.1.1
-
APPS.CS_MULTIORG_PVT dependencies on STANDARD
12.1.1
-
APPS.CS_MULTIORG_PVT dependencies on STANDARD
12.2.2
-
APPS.CS_MULTIORG_PVT dependencies on FND_MSG_PUB
12.2.2
-
PACKAGE: APPS.MO_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MO_GLOBAL, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,