Results for “bom_calc_cynp”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
BOM_CALC_CYNP is an Oracle EBS Bills of Material (BOM) package that supports the calculation of cumulative yield and network-related data for operations within a routing. In a discrete or process manufacturing environment, an operation may be composed of multiple component operations linked together through a network. The cumulative yield percentage (CYNP) reflects the combined effect of individual operation yields across the sequence and network of an operation, which is critical for accurate costing, capacity planning, and material requirements planning. The package name derives from "calculate cumulative yield percentage," and its procedures recalculate the derived yield and network attributes stored against operations in the BOM module.
The package header carries the $Header identifier bomcynps.pls 115.8, dated 29 November 2002, indicating it is a long-standing core BOM component present in both the 12.1.1 and 12.2.2 releases. It is declared AUTHID CURRENT_USER, so it executes with the privileges of the calling schema, and it is owned by APPS. The ETRM classification for this object is OTHER, and it exposes two documented procedures.
Key Procedures and Functions
- CALC_CYNP — The primary procedure for performing the cumulative yield calculation. It accepts a routing sequence identifier, an operation type indicator, and an update-events flag. The routing sequence identifier scopes the calculation to a specific operation within a routing, the operation type distinguishes how the operation participates in the network, and the update-events parameter controls whether the recalculation triggers the associated update events (and dependent data propagation) or is performed without firing them. This entry point is intended for direct in-database invocation.
- CALC_CYNP_RBO — A variant added to provide Result-Based Outcome (RBO) support for the yield calculation, referenced in the source comment as added for NPP support under Bug 2689249. It mirrors the input parameters of CALC_CYNP and additionally returns a token table, an error message, and a return status through OUT NOCOPY parameters. The token table uses the Error_Handler.Token_Tbl_Type, and the error message is a VARCHAR2. This signature conforms to the standard Oracle EBS error-handling convention where the return status communicates success, warning, or error, and tokens carry contextual diagnostic information. Callers should inspect the return status rather than relying on exceptions.
Tables Accessed
The package references the following tables and objects through APPS synonyms:
- BOM_OPERATIONAL_ROUTINGS — The routing header table, read to identify the routing that owns the operation sequence and to determine calculation scope.
- BOM_OPERATION_NETWORKS — The network definition linking an operation to its component operations. This is central to cumulative yield calculation because yield values must propagate through the network topology.
- BOM_OPERATION_SEQUENCES — The individual operations within a routing. Cumulative yield and related derived quantities are read from and written to this table.
- DUAL — Used for single-row scalar evaluations within PL/SQL.
- PLITBLM — The standard Oracle EBS PL/SQL index-by table of numbers, used for internal numeric collections.
- UTL_FILE — The Oracle-supplied file I/O package, used for diagnostic or debug output.
- V$PARAMETER — The dynamic performance view of initialization parameters, consulted to detect database configuration (such as the release level or a relevant parameter) that affects calculation or logging behavior.
Usage Notes
BOM_CALC_CYNP is not an end-user-facing API; it is an internal utility invoked wherever operation yield data must be recalculated. The ETRM metadata records that it is referenced by five other packages, confirming its role as a shared dependency called by higher-level BOM maintenance logic. Typical invocation scenarios include saving or modifying an operation network in the Bills of Material forms, running concurrent programs that rebuild routing and network data, and processing after changes to operation yields. Because CALC_CYNP_RBO returns explicit status and error tokens, customizations and wrapper packages should call that variant when they require programmatic error detection, and they should commit or roll back according to the surrounding transaction. Direct calls to CALC_CYNP are appropriate when the caller already participates in the standard update-event flow. As with all APPS-owned database objects, extensions should call the package rather than modify it, and the AUTHID CURRENT_USER declaration means the caller's schema must hold appropriate privileges on the underlying BOM tables.
-
PACKAGE: APPS.BOM_CALC_CYNP 12.1.1
-
PACKAGE: APPS.BOM_CALC_CYNP 12.2.2
-
PACKAGE: APPS.BOM_CALC_CYNP 12.1.1
-
PACKAGE: APPS.BOM_CALC_CYNP 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
PACKAGE: APPS.BOMCUMYD 12.2.2
-
PACKAGE BODY: APPS.BOMCUMYD 12.1.1
-
PACKAGE BODY: APPS.BOMCUMYD 12.2.2
-
PACKAGE: APPS.BOMCUMYD 12.1.1
-
PACKAGE BODY: APPS.BOMPPRCB 12.1.1
-
PACKAGE: APPS.BOMPPRCB 12.1.1
-
PACKAGE: APPS.BOMPPRCB 12.2.2
-
PACKAGE BODY: APPS.BOMPPRCB 12.2.2