Search Results get_total_base_price




Overview

FTE_QP_ENGINE is an Oracle E-Business Suite package body owned by APPS that encapsulates all Oracle Advanced Pricing (QP) engine interactions performed by the Oracle Freight and Transportation Execution (FTE) module. Its principal business function is to construct the input records that the pricing engine requires, invoke the engine, and interpret the resulting output so that freight charges can be calculated for shipments, lines, and sets. The package maintains engine input and output data in global PL/SQL tables on a per-event basis, retaining engine defaults in a package-level table (g_engine_defaults_tab) so that each pricing event can be processed consistently.

The header comment dates the source file to release 115.21 (December 2003), and the unit remains the pricing integration point for freight costing in both EBS 12.1.1 and 12.2.2. Documented metadata classifies the package as "OTHER" rather than a formal public API, indicating it is intended for internal use by the FTE pricing flow rather than direct customer invocation.

Key Procedures and Functions

Tables Accessed

The documented table reference for this package is the APPS synonym PLITBLM, a standard pricing interface table used to stage engine input and output rows. Access to this table supports the creation of engine records and the retrieval of pricing results. The package also relies extensively on package-level global PL/SQL tables — notably engine input line extras and engine output lines (g_I_line_extras_tbl and g_O_line_tbl), together with the per-event defaults table — rather than persistent database tables for its intermediate state.

Usage Notes

FTE_QP_ENGINE is an internal engine-integration package rather than an end-user API. It is referenced by three other packaged units within the FTE pricing flow and is typically invoked from freight pricing logic that needs to evaluate charges for a shipment or set. Calls originate from the FTE pricing process itself (for example, when a shipment's freight charges are calculated), and not from standard Oracle Forms or concurrent programs directly. Debugging output can be enabled through the fte_freight_pricing_util logging utilities, whose G_DBG level and print_msg routine are used throughout, allowing support personnel to trace input set numbers, unit prices, and cumulative prices during troubleshooting.