Search Results sys_yes
Overview
The package body APPS.MRP_VALID_PLAN_DESIG_PKG is a declarative validation utility within the Oracle E-Business Suite manufacturing and planning modules. Its principal responsibility is to resolve a set of user-supplied plan designator flags into the internal numeric codes that Oracle MRP uses to drive plan behavior. The designator flags describe whether a plan is to be exploded, whether an MRP snapshot is required, and which planner restrictions apply. The package converts these human-readable indicators into the canonical numeric test constants that the planning engine expects, while validating that the requested combination is internally consistent.
The package is classified under the ETRM taxonomy as OTHER, reflecting its role as a supporting internal library rather than a public business API. It is owned by APPS and is referenced by one other package, indicating a narrowly scoped but reusable validation helper.
Key Procedures and Functions
The ETRM metadata documents a single procedure, MRP_VALID_PLAN_DESIGNATOR. No other public routines are recorded for this package body, although the unit contains private constant and variable declarations that support this procedure.
MRP_VALID_PLAN_DESIGNATOR— Validates the plan designator arguments passed by the caller and returns whether the explode, MRP snapshot, planner, and CRP planner tests should be applied. Its logic relies on the bit-flag constantsTEST_EXPLODE(1),TEST_MRP_SNAPSHOT(2),TEST_PLANNER(4), andTEST_CRP_PLANNER(16), and on theSYS_YES(1) andSYS_NO(2) codes used to express the resolved result. The procedure accumulates the requested tests into a working counter and then extracts each flag from the highest to the lowest weight, decrementing the counter as each test is satisfied. The documented parameter list is intentionally not restated here; parameter names and purposes should be confirmed against the source header. The procedure also referencesMRP_PLANS%ROWTYPEfor a local plan record and declares exceptionsINVALID_ARGandINVALID_PLAN.
The presence of the SYS_YES constant explains why the search term sys_yes resolves to this object: SYS_YES CONSTANT NUMBER := 1; appears at line 20 of the package body and is used to assign the resolved flags for the CRPP planner, planner, snapshot, and explode tests.
Tables Accessed
The only documented table reference is MRP_PLANS, accessed through the APPS synonym. It is used to declare var_plan_rec mrp_plans%ROWTYPE, providing the procedural vocabulary for plan-header attributes used during validation. There is no documented evidence that this package writes to any table; the reference appears to support read-only inspection or validation against the plan designator configuration rather than data manipulation.
Usage Notes
MRP_VALID_PLAN_DESIGNATOR is an internal validation routine. It is not intended for ad-hoc invocation by end users and should not be called directly from custom code unless the flag semantics and return codes are fully understood. It is typically reached through the calling packages or forms that build and launch MRP plans, which supply the plan designator flags and consume the resolved numeric codes. Because the routine validates argument combinations and raises INVALID_ARG or INVALID_PLAN when the inputs are inconsistent, callers must handle those exceptions rather than assume a successful resolution. The package is compiled against the APPS schema and inherits the standard EBS dependency on MRP_PLANS. In 12.1.1 and 12.2.2 the package remains a low-level planning engine helper, and any change to its bit-flag constants or to the SYS_YES/SYS_NO semantics would affect every caller that depends on the designator resolution, so modification requires a full impact review.
-
APPS.MSC_PHUB_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.MRP_VALID_PLAN_DESIG_PKG
12.1.1
-
PACKAGE BODY: APPS.MRP_VALID_PLAN_DESIG_PKG
12.2.2
-
PACKAGE BODY: APPS.MSC_VALID_PLAN_PKG
12.2.2
-
PACKAGE BODY: APPS.MSC_VALID_PLAN_PKG
12.1.1
-
APPS.MRP_AUTO_REDUCE_PK SQL Statements
12.2.2
-
APPS.MRP_PRINT_PK SQL Statements
12.1.1
-
APPS.MSC_RELEASE_PK SQL Statements
12.1.1
-
APPS.MRP_PRINT_PK SQL Statements
12.2.2
-
PACKAGE: APPS.MSD_CL_PRE_PROCESS
12.1.1
-
PACKAGE: APPS.MSD_CL_PRE_PROCESS
12.2.2
-
APPS.MRP_AUTO_REDUCE_PK SQL Statements
12.1.1
-
PACKAGE: APPS.MSC_M2A_PUSH
12.2.2
-
PACKAGE: APPS.MSD_COLLECT_FACT_DATA
12.1.1
-
PACKAGE: APPS.MSD_COLLECT_FACT_DATA
12.2.2
-
PACKAGE: APPS.MSC_M2A_PUSH
12.1.1
-
PACKAGE: APPS.MSD_PURGE_LEG
12.1.1
-
PACKAGE BODY: APPS.MSD_PURGE_LEG
12.1.1
-
APPS.MSC_RELEASE_PK SQL Statements
12.2.2
-
PACKAGE: APPS.MSC_MANAGE_PLAN_PARTITIONS
12.2.2
-
PACKAGE BODY: APPS.MSD_PURGE_LEG
12.2.2
-
PACKAGE: APPS.MSD_PURGE_LEG
12.2.2
-
PACKAGE: APPS.MSC_CL_PURGE_STAGING
12.1.1
-
PACKAGE BODY: APPS.MRP_AUTO_REDUCE_PK
12.1.1
-
PACKAGE BODY: APPS.MRP_EXCEPTIONS_SC_PK
12.2.2
-
APPS.MRP_EXCEPTIONS_SC_PK SQL Statements
12.1.1
-
APPS.MRP_EXCEPTIONS_SC_PK SQL Statements
12.2.2
-
PACKAGE: APPS.MSC_MANAGE_PLAN_PARTITIONS
12.1.1
-
PACKAGE: APPS.MSC_CL_PURGE_STAGING
12.2.2
-
PACKAGE BODY: APPS.MRP_AUTO_REDUCE_PK
12.2.2
-
PACKAGE BODY: APPS.MRP_EXCEPTIONS_SC_PK
12.1.1
-
PACKAGE BODY: APPS.MSC_ATO_FORECAST
12.1.1
-
PACKAGE: APPS.MSC_PHUB_PKG
12.2.2
-
PACKAGE BODY: APPS.MSC_ATO_FORECAST
12.2.2
-
PACKAGE: APPS.MSC_CL_ROUTING_PULL
12.1.1
-
PACKAGE: APPS.MSC_ATP_REFRESH_MVIEW
12.2.2
-
PACKAGE: APPS.MSC_RESTORE_FIRM_PO
12.2.2
-
PACKAGE: APPS.MSC_CL_CLEANSE
12.1.1
-
PACKAGE BODY: APPS.MSC_PHUB_PKG
12.1.1
-
PACKAGE: APPS.MSC_CL_WIP_PULL
12.1.1
-
PACKAGE: APPS.MSC_CL_SETUP_PULL
12.1.1
-
PACKAGE: APPS.MSC_ATP_REFRESH_MVIEW
12.1.1
-
PACKAGE: APPS.MSC_RESTORE_FIRM_PO
12.1.1
-
PACKAGE: APPS.MSC_CL_SETUP_PULL
12.2.2
-
PACKAGE: APPS.MSC_CL_RPO_PULL
12.1.1
-
PACKAGE: APPS.MSC_CL_SUPPLY_PULL
12.2.2
-
PACKAGE: APPS.MSC_REFRESH_MV
12.1.1
-
PACKAGE: APPS.MSC_CL_WIP_PULL
12.2.2
-
PACKAGE: APPS.MSC_CL_CLEANSE
12.2.2
-
PACKAGE: APPS.MSC_CL_DEMAND_PULL
12.2.2