Search Results inl_simulation_pvt
Overview
INL_SIMULATION_PVT is a private PL/SQL package in the Oracle E-Business Suite Logistics (INL) module, belonging to the Transportation and Logistics execution layer. It encapsulates the core business logic for creating, copying, and purging transportation shipment simulations. A simulation in Oracle Transportation Management integration represents a hypothetical or draft shipment plan that allows planners to model freight, charges, taxes, and vendor allocations before firming the plan into actual shipments. The package is declared with AUTHID CURRENT_USER, meaning it executes with the privileges of the invoking schema rather than the defining schema, a convention common to private (PVT) Oracle APIs that are designed to be called by other packages rather than directly by end users.
The $Header comment indicates the source file is INLVSIMS.pls and that the package has been part of the shipped codebase since at least 2011, with the 12.1.1 / 12.2.2 releases carrying the same API signature. The naming convention _PVT signals that this is an internal implementation package; external consumers are expected to call a corresponding public API (_PUB) or a forms/concurrent program layer instead.
Key Procedures and Functions
- CREATE_SIMULATION — Creates a new simulation record and its associated child rows (charge lines, tax lines, associations). It accepts a simulation record typed as
simulation_rec, which carries identifiers for the parent entity (parent_table_name, parent_table_id, parent_table_revision_num), vendor and vendor site, freight code, org, and the 15 descriptive flexfield attribute columns. The record is passedIN OUT NOCOPYso the procedure can return the generatedsimulation_idandfirmed_flagback to the caller. It follows the standard Oracle API contract withp_api_version,p_init_msg_list,p_commit, and the threex_return_status,x_msg_count,x_msg_datamessaging outputs. - COPY_SIMULATION — Duplicates an existing simulation identified by
p_simulation_id, producing a new simulation with the same header, line, and charge composition. This supports "what-if" scenario planning where a planner iterates on a baseline simulation. It writes back standard return status and message outputs. - PURGE_SIMULATIONS — Removes simulation records and their dependent child rows in bulk, allowing cleanup of obsolete or firmed simulations. Purge is typically driven by administrative housekeeping or concurrent processing. Like the other routines, it exposes the standard API version and message-handling parameters.
The package also defines public PL/SQL types — from_association_rec, from_association_tbl, simulation_rec, and simulation_id_tbl — that shape the data exchanged between the private procedures and their callers, notably for handling parent-to-child associations and collections of simulation IDs.
Tables Accessed
The package reads and writes the INL simulation base tables and their _S (security/audit or shadow) counterparts. The primary targets are INL_SIMULATIONS and INL_SIMULATIONS_S, which hold the simulation header. Child simulation details are stored across INL_CHARGE_LINES, INL_TAX_LINES, and INL_SHIP_LINE_GROUPS, each with an underscore-S companion. The package also references shipment structures — INL_SHIP_HEADERS, INL_SHIP_HEADERS_ALL, INL_SHIP_LINES_ALL, and their _S tables — to derive or populate shipment context for a simulation. The INL_ASSOCIATIONS and INL_ASSOCIATIONS_S tables store the parent-table linkage that determines which source document the simulation belongs to. Because the package is PVT, all table access is via APPS synonyms, consistent with a sealed private API.
Usage Notes
INL_SIMULATION_PVT is not intended to be called directly from end-user code. It is referenced by three other packages, which form the public entry points such as INL_SIMULATION_PUB or concurrent program drivers. In a standard EBS deployment, the procedures are invoked from Oracle Forms shipping or freight planning screens when a user actions a "create simulation", "copy simulation", or purge function, and from concurrent programs that run bulk simulation generation or cleanup. Customizations should call the public wrapper rather than this private package. Key operational points: set p_init_msg_list to FND_API.G_TRUE when invoking standalone to clear the message stack, pass p_commit as G_FALSE to retain control over transaction boundaries, and always inspect x_return_status before proceeding. No database links or external integrations are implied by the metadata; all activity is confined to the EBS INL schema.
-
PACKAGE: APPS.INL_SIMULATION_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INL_SIMULATION_PVT, status:VALID,
-
PACKAGE: APPS.INL_SIMULATION_PVT
12.2.2
-
PACKAGE BODY: APPS.INL_SIMULATION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INL_SIMULATION_PVT, status:VALID,
-
PACKAGE: APPS.INL_CUSTOM_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INL_CUSTOM_PUB, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.INL_SIMULATION_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INL_SIMULATION_PUB, status:VALID,
-
SYNONYM: APPS.INL_SIMULATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_SIMULATIONS, status:VALID,
-
PACKAGE BODY: APPS.INL_SIMULATION_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INL_SIMULATION_PUB, status:VALID,
-
SYNONYM: APPS.INL_ASSOCIATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_ASSOCIATIONS, status:VALID,
-
SYNONYM: APPS.INL_SHIP_HEADERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_SHIP_HEADERS_ALL, status:VALID,
-
SYNONYM: APPS.INL_SHIP_HEADERS_ALL_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_SHIP_HEADERS_ALL_S, status:VALID,
-
SYNONYM: APPS.INL_CHARGE_LINES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_CHARGE_LINES_S, status:VALID,
-
SYNONYM: APPS.INL_SHIP_LINES_ALL_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_SHIP_LINES_ALL_S, status:VALID,
-
SYNONYM: APPS.INL_ASSOCIATIONS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_ASSOCIATIONS_S, status:VALID,
-
SYNONYM: APPS.INL_SHIP_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_SHIP_LINES_ALL, status:VALID,
-
PACKAGE BODY: APPS.INL_CUSTOM_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INL_CUSTOM_PUB, status:VALID,
-
SYNONYM: APPS.INL_SHIP_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_SHIP_HEADERS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.INL_SIMULATIONS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_SIMULATIONS_S, status:VALID,
-
SYNONYM: APPS.INL_SHIP_LINE_GROUPS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_SHIP_LINE_GROUPS_S, status:VALID,
-
SYNONYM: APPS.INL_TAX_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_TAX_LINES, status:VALID,
-
PACKAGE: APPS.INL_INTERFACE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INL_INTERFACE_PVT, status:VALID,
-
SYNONYM: APPS.INL_TAX_LINES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_TAX_LINES_S, status:VALID,
-
SYNONYM: APPS.INL_CHARGE_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_CHARGE_LINES, status:VALID,
-
SYNONYM: APPS.INL_SHIP_LINE_GROUPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:INL_SHIP_LINE_GROUPS, status:VALID,
-
PACKAGE: APPS.INL_LOGGING_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INL_LOGGING_PVT, status:VALID,
-
PACKAGE BODY: APPS.INL_INTEGRATION_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INL_INTEGRATION_GRP, status:VALID,
-
SYNONYM: APPS.PO_RELEASES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_RELEASES_ALL, status:VALID,
-
SYNONYM: PUBLIC.DBMS_LOCK
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_LOCK, status:VALID,
-
APPS.INL_INTEGRATION_GRP dependencies on INL_SIMULATION_PVT
12.2.2
-
APPS.INL_CUSTOM_PUB dependencies on INL_SIMULATION_PVT
12.2.2
-
APPS.INL_SIMULATION_PUB dependencies on INL_SIMULATION_PVT
12.2.2
-
APPS.INL_SIMULATION_PVT dependencies on INL_SIMULATION_PVT
12.2.2
-
APPS.INL_CUSTOM_PUB dependencies on INL_SIMULATION_PVT
12.2.2
-
APPS.INL_SIMULATION_PUB dependencies on INL_SIMULATION_PVT
12.2.2
-
SYNONYM: APPS.PO_HEADERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_ALL, status:VALID,
-
PACKAGE BODY: APPS.INL_SIMULATION_PVT
12.2.2
-
PACKAGE: APPS.FND_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
PACKAGE: APPS.FND_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,