Search Results create_organization_unit
Overview
CS
The APPS.CSI_ORGANIZATION_UNIT_PUB package is a public PL/SQL API within the Oracle E-Business Suite Install Base (CSI) module. It manages the association between item instances and organization units. In EBS, an item instance represents a tracked entity such as an asset, serialized item, or equipment record, and an organization unit represents a logical grouping or ownership structure to which that instance may be linked. This package provides the programmatic interface through which applications create, retrieve, update, and expire those instance-to-organization-unit associations.
The package is declared with AUTHID CURRENT_USER, meaning that its SQL statements execute with the privileges of the calling user rather than the definer. The header comment dates to csipous.pls 115.21 and the code has remained stable across the 12.1.1 and 12.2.2 releases. Its procedures follow the standard Oracle EBS API conventions: an p_api_version parameter, commit and message-list control flags, a validation level, strongly typed record or table parameters based on the csi_datastructures_pub structures, and standard x_return_status, x_msg_count, and x_msg_data output parameters.
Key Procedures and Functions
- GET_ORGANIZATION_UNIT — Retrieves information about the organization unit or units associated with an item instance. It accepts a query record built from
csi_datastructures_pub.organization_unit_query_rec, a resolve-ID-columns flag, and an optional time stamp, and returns a table of organization unit headers through thex_org_unit_tbloutput parameter. - CREATE_ORGANIZATION_UNIT — Creates a new association between an organization unit and an item instance. It accepts a table of organization units and a transaction record, both defined in
csi_datastructures_pub, and is used whenever a new instance-to-organization relationship must be established. - UPDATE_ORGANIZATION_UNIT — Updates an existing instance-to-organization association. This is the procedure most commonly targeted by callers searching for the
update_organization_unitentry point, and it is used when the attributes of an existing association change. - EXPIRE_ORGANIZATION_UNIT — Expires an existing instance-to-organization association, effectively ending the relationship without physically deleting the underlying record and thereby preserving the historical audit trail.
Tables Accessed
The documented metadata records DBMS_SQL and PLITBLM as the objects referenced via APPS synonyms. DBMS_SQL is the Oracle-supplied dynamic SQL package, indicating that the API builds and executes SQL dynamically at runtime, which allows flexible query construction for the GET_ORGANIZATION_UNIT retrieval path. PLITBLM is an Oracle-supplied PL/SQL table-index management package used internally to manipulate index-by tables during bulk collection processing. Because the API operates through APPS synonyms and its structures are defined in csi_datastructures_pub, the underlying insert, update, and expire operations act on the Install Base instance and organization unit tables. Direct DML against those base tables should be avoided in favour of this API.
Usage Notes
This package is typically invoked from Install Base forms, from concurrent programs that maintain instance-to-organization relationships, and from custom PL/SQL code that must integrate with CSI data. Callers must:
- Initialize the API with the correct
p_api_version, and setp_init_msg_listtofnd_api.g_truewhen a clean message stack is required. - Control transaction scope explicitly: pass
p_commitasfnd_api.g_trueonly when the caller does not manage its own commit. - Populate the
csi_datastructures_pubrecord and table structures before the call and checkx_return_statusagainstfnd_api.g_ret_sts_successupon return. - Retrieve error details through
x_msg_countandx_msg_data, or through the FND message stack, before deciding whether to commit or roll back.
Because the package is classified as a PUB API, Oracle supports its use as a documented integration point for custom development, subject to the standard EBS API usage guidelines.
-
PACKAGE: APPS.CSI_ORGANIZATION_UNIT_PUB
12.1.1
-
PACKAGE: APPS.CSI_ORGANIZATION_UNIT_PUB
12.2.2
-
PACKAGE BODY: APPS.CSI_ORGANIZATION_UNIT_PUB
12.2.2
-
PACKAGE BODY: APPS.CSI_ORGANIZATION_UNIT_PUB
12.1.1
-
PACKAGE: APPS.CSI_ORGANIZATION_UNIT_PVT
12.2.2
-
PACKAGE: APPS.CSI_ORGANIZATION_UNIT_PVT
12.1.1
-
PACKAGE BODY: APPS.CSI_ORGANIZATION_UNIT_PVT
12.2.2
-
PACKAGE BODY: APPS.CSI_ORGANIZATION_UNIT_PVT
12.1.1
-
PACKAGE: APPS.CSI_ORGANIZATION_UNIT_PUB_W
12.1.1
-
PACKAGE: APPS.CSI_ORGANIZATION_UNIT_PUB_W
12.2.2
-
APPS.CSI_ORDER_SHIP_PUB dependencies on CSI_ORGANIZATION_UNIT_PUB
12.1.1
-
APPS.CSI_ORDER_SHIP_PUB dependencies on CSI_ORGANIZATION_UNIT_PUB
12.2.2
-
PACKAGE BODY: APPS.CSI_ORGANIZATION_UNIT_PUB_W
12.1.1
-
PACKAGE BODY: APPS.CSI_ORGANIZATION_UNIT_PUB_W
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PUB_W dependencies on FND_API
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PUB_W dependencies on FND_API
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PVT dependencies on FND_API
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PVT dependencies on FND_MSG_PUB
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on CSI_UTILITY_GRP
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on FND_MSG_PUB
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on FND_MSG_PUB
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PVT dependencies on FND_PROFILE
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PVT dependencies on FND_API
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on CSI_UTILITY_GRP
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PVT dependencies on FND_MSG_PUB
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on CSI_DATASTRUCTURES_PUB
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on FND_PROFILE
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on FND_PROFILE
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on FND_API
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on CSI_DATASTRUCTURES_PUB
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on FND_API
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PVT dependencies on FND_PROFILE
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on FND_API
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PVT dependencies on STANDARD
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PVT dependencies on STANDARD
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on FND_API
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PVT dependencies on CSI_GEN_UTILITY_PVT
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PVT dependencies on CSI_GEN_UTILITY_PVT
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on CSI_GEN_UTILITY_PVT
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on CSI_GEN_UTILITY_PVT
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on STANDARD
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PUB dependencies on STANDARD
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PUB_W dependencies on JTF_NUMBER_TABLE
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PUB_W dependencies on JTF_NUMBER_TABLE
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PUB_W dependencies on JTF_NUMBER_TABLE
12.1.1
-
APPS.CSI_ORGANIZATION_UNIT_PUB_W dependencies on JTF_NUMBER_TABLE
12.2.2
-
APPS.CSI_ORDER_SHIP_PUB dependencies on CSI_T_GEN_UTILITY_PVT
12.1.1
-
APPS.CSI_ORDER_SHIP_PUB dependencies on CSI_T_GEN_UTILITY_PVT
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PVT dependencies on FND_API
12.2.2
-
APPS.CSI_ORGANIZATION_UNIT_PVT dependencies on FND_API
12.1.1