Search Results warehouse_shipped_from
Overview
APPS.PMI_REP_GROSS_MARGIN_V is a reporting view in the Oracle E-Business Suite Process Manufacturing Intelligence (PMI) module. It exposes gross margin computations for sales transactions, aggregating revenue, discounts, cost of goods sold (COGS), and the resulting margin across defined periods. The view is built as a thin projection over the PMI reporting sales details view, PMI_REP_SALES_DETAILS_V, and is intended for use by reporting engines, dashboards, and analytical queries that require period-level margin visibility by operating unit, sales company, and sales organization.
The view resides in the APPS schema and is documented in ETRM metadata for release 12.2.2, with applicability to 12.1.1. Because it performs a cost lookup at query time, its results depend on inventory cost data available as of the period start date.
Underlying Base Objects
The view is defined over the following documented objects:
- PMI_REP_SALES_DETAILS_V (VIEW) — the primary source, supplying sales line detail, quantities, prices, charges, and organizational dimensions.
- PMI_COMMON_PKG (PACKAGE) — supplies the PMICO_GET_COST function invoked for each sales line to compute unit cost.
- GMICUOM (PACKAGE) — used for unit-of-measure conversions within the PMI stack.
- PMI_SALES_PKG (PACKAGE) — supporting sales processing logic.
- HR_SECURITY (PACKAGE) and PMI_SECURITY_PKG (PACKAGE) — enforce organization and functional security, restricting rows based on the user's authorized operating units and sales organizations.
All objects are owned by APPS, and the view inherits the security model applied by the PMI reporting layer rather than filtering independently.
Key Columns
- OPERATING_UNIT_ID, SALES_COMPANY, SALES_ORGANIZATION — organizational dimensions used for grouping and security enforcement.
- YEAR_ID, QUARTER_ID, PERIOD_ID — the time dimensions under which margin is reported.
- REVENUE — mapped from EXTENDED_PRICE_BASE_CURRENCY, representing extended selling price in base currency.
- DISCOUNT — mapped from CHARGES_BASE_CURRENCY, capturing discounts and charges in base currency.
- COGS — computed as ORDER_QUANTITY multiplied by PMICO_GET_COST(item_id, warehouse_shipped_from, NULL, PERIOD_START_DATE).
- MARGIN — computed as REVENUE minus DISCOUNT minus COGS.
All monetary columns are expressed in base currency, so no on-the-fly currency conversion is required at the reporting layer.
Common Use Cases and Queries
Typical usage includes gross margin analysis by period, profitability by sales organization, and export of margin data into external BI platforms. A representative query aggregates margin by period and sales organization:
SELECT sales_organization, period_id, SUM(revenue) revenue, SUM(discount) discount, SUM(cogs) cogs, SUM(margin) margin FROM apps.pmi_rep_gross_margin_v WHERE operating_unit_id = :org_id AND period_id BETWEEN :from_period AND :to_period GROUP BY sales_organization, period_id;
Because COGS is derived through PMICO_GET_COST at runtime, queries filtering on item and warehouse perform the cost lookup per row, so predicate pushdown and indexed access on the underlying sales details improve responsiveness. Users should execute the view through APPS credentials so that PMI security packages apply the correct organization filters. The term "marg malavika" in the user's search does not correspond to any documented column or object; the relevant identifiers are the MARGIN column and the PMI_REP_GROSS_MARGIN_V view itself.
-
VIEW: APPS.PMI_REP_GROSS_MARGIN_V
12.1.1
-
VIEW: APPS.PMI_REP_GROSS_MARGIN_V
12.2.2
-
View: PMI_REP_SALES_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PMI.PMI_REP_SALES_DETAILS_V, object_name:PMI_REP_SALES_DETAILS_V, status:VALID, product: PMI - Process Manufacturing Intelligence , description: PMI Sales Details Report view , implementation_dba_data: APPS.PMI_REP_SALES_DETAILS_V ,
-
View: PMI_REP_SALES_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PMI.PMI_REP_SALES_DETAILS_V, object_name:PMI_REP_SALES_DETAILS_V, status:VALID, product: PMI - Process Manufacturing Intelligence (Obsolete) , description: PMI Sales Details Report view , implementation_dba_data: APPS.PMI_REP_SALES_DETAILS_V ,
-
VIEW: APPS.PMI_REP_SALES_DETAILS_V
12.2.2
-
VIEW: APPS.PMI_REP_SALES_DETAILS_V
12.1.1
-
View: PMI_REP_GROSS_MARGIN_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PMI.PMI_REP_GROSS_MARGIN_V, object_name:PMI_REP_GROSS_MARGIN_V, status:VALID, product: PMI - Process Manufacturing Intelligence , description: PMI Gross Margin Report view , implementation_dba_data: APPS.PMI_REP_GROSS_MARGIN_V ,
-
View: PMI_REP_GROSS_MARGIN_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PMI.PMI_REP_GROSS_MARGIN_V, object_name:PMI_REP_GROSS_MARGIN_V, status:VALID, product: PMI - Process Manufacturing Intelligence (Obsolete) , description: PMI Gross Margin Report view , implementation_dba_data: APPS.PMI_REP_GROSS_MARGIN_V ,
-
VIEW: APPS.PMI_REP_SALES_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PMI.PMI_REP_SALES_DETAILS_V, object_name:PMI_REP_SALES_DETAILS_V, status:VALID,
-
VIEW: APPS.PMI_REP_SALES_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PMI.PMI_REP_SALES_DETAILS_V, object_name:PMI_REP_SALES_DETAILS_V, status:VALID,
-
VIEW: APPS.PMIFV_SALES_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PMI.PMIFV_SALES_DETAILS_V, object_name:PMIFV_SALES_DETAILS_V, status:VALID,
-
VIEW: APPS.PMIFV_SALES_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PMI.PMIFV_SALES_DETAILS_V, object_name:PMIFV_SALES_DETAILS_V, status:VALID,
-
View: PMIFV_SALES_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PMI.PMIFV_SALES_DETAILS_V, object_name:PMIFV_SALES_DETAILS_V, status:VALID, product: PMI - Process Manufacturing Intelligence (Obsolete) , description: Details of all shipped sales orders which are associated to corresponding GL periods. , implementation_dba_data: APPS.PMIFV_SALES_DETAILS_V ,
-
View: PMIFV_SALES_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PMI.PMIFV_SALES_DETAILS_V, object_name:PMIFV_SALES_DETAILS_V, status:VALID, product: PMI - Process Manufacturing Intelligence , description: Details of all shipped sales orders which are associated to corresponding GL periods. , implementation_dba_data: APPS.PMIFV_SALES_DETAILS_V ,
-
VIEW: APPS.PMIFV_SALES_DETAILS_V
12.2.2
-
VIEW: APPS.PMIFV_SALES_DETAILS_V
12.1.1
-
eTRM - PMI Tables and Views
12.1.1
-
eTRM - PMI Tables and Views
12.2.2