Search Results weekly_lin_groupformula




Overview

FLM_FLMRFLIN_XMLP_PKG is the generated PL/SQL package body that supports the Oracle Flow Manufacturing "Linearity Report" concurrent program (report short name FLMRFLIN) in Oracle E-Business Suite 12.1.1 and 12.2.2. The package is owned by the APPS schema, and Oracle's ETRM classifies it under the generic "OTHER" API classification, confirming that it is not a public, externally supported API but rather an internal report implementation. Its documented header identifies it as "FLMRFLINB.pls 120.1 2007/12/31", indicating a report-generation package rather than an interface or business-logic package.

The report analyzes production linearity — the degree to which actual production is distributed evenly across days and weeks relative to the scheduled plan — for a given organization, schedule group, and date range. The package is responsible for preparing report parameters, invoking the underlying linearity calculation logic, and then formatting the extracted data into weekly and daily plan, actual, variance, and linearity columns for the Oracle Reports (XML Publisher) runtime engine.

Key Procedures and Functions

The ETRM metadata documents 132 procedures and functions, which is characteristic of an Oracle Reports XMLP package: most entries are single-line "formula" functions called by the report layout to compute or format individual columns. The most significant are:

Tables Accessed

The documented tables directly referenced by this package are:

  • MRP_FORM_QUERY_S — The sequence used in BEFOREREPORT to obtain a unique P_QUERY_ID for each execution. This identifier isolates one report run's staging data from concurrent runs.
  • MRP_FORM_QUERY — The staging table populated by the underlying FLM_LINEARITY_REPORT.populate_flow_summary call; the report's queries read from it (and from MRP_FORM) using P_QUERY_ID.
  • MRP_FORM — Deleted from in AFTERREPORT to purge the current run's rows. Additionally, BEFOREREPORT reads ORG_ORGANIZATION_DEFINITIONS (via the APPS synonym) to resolve the organization name, and reads DUAL for the day-of-week offset arithmetic.

Usage Notes

This package is not intended for direct invocation. It is registered automatically by Oracle Reports/XML Publisher as the PL/SQL library for the FLMRFLIN report, and its BEFORE REPORT, AFTER REPORT, and formula triggers are invoked by the report runtime. In a "get_var" search context, callers looking for parameter or column value retrieval will find that value access is accomplished through the individual formula functions rather than a generic getter; external programs should not call those functions directly. Because the package is classified as OTHER and is marked with the internal "noship" header, customers and integrators should treat it as unsupported for extension. Any custom reporting requirement on production linearity should be implemented against the underlying FLM_LINEARITY_REPORT API instead of this generated package.