Search Results g_miss_value




Overview

APPS.PA_PLAN_RES_LIST_PUB is a public PL/SQL package in the Oracle E-Business Suite Projects (PA) module that governs the definition of planning resource lists and planning resource formats used in project planning and resource assignment. In Oracle EBS 12.1.1 and 12.2.2, planning resource lists represent reusable groupings of resource classes, resource types, and resource members that are applied to a project or project template for planning purposes. The package exposes a business-facing API — as opposed to a purely data-level interface — and provides the entry points that other applications, forms, and concurrent programs call to create, modify, copy, and delete these planning constructs.

The singleton source excerpt preserved in ETRM (PARESLPB.pls, version 120.3, dated 2006) reveals the internal design convention used throughout the package. The private procedure Convert_Missing_List_In_Rec documents the treatment of the G_MISS_VALUE sentinel referenced in the user query. In Oracle EBS APIs, an uninitialized or omitted input attribute frequently carries the value G_MISS_VALUE (or a related FND constant) rather than NULL. The procedure converts such input attributes to NULL, and, in update mode, substitutes the current database value for any attribute supplied as NULL so that omitted fields are not inadvertently overwritten. This protective conversion is applied to the Plan_Res_List_IN_Rec record, which carries the resource list header attributes, and the result is returned through the corresponding OUT record. The procedure operates under a mode flag — 1 for update and 0 for create — and in update mode resolves the resource list ID from the resource list name where the ID is not supplied.

Key Procedures and Functions

The package exposes fifteen documented public procedures and functions, which fall into distinct groups.

Tables Accessed

The package reads and writes the following tables through APPS synonyms:

Usage Notes

The package is characteristically invoked from the Projects forms (planning resource list maintenance windows), from concurrent programs that copy or load planning resource definitions, and from custom PL/SQL that must create or retrieve planning resource data programmatically. Callers should always initialize input records with the INIT_* procedures before issuing CREATE or UPDATE, because the G_MISS_VALUE conversion performed internally depends on that convention. No other package in the documented sample references this package, but this reflects the limited metadata extract rather than an absence of callers in a production instance.