Search Results ret_code
Overview
BOMPAVRT is a PL/SQL package body owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It belongs to the Oracle Bills of Material (BOM) module and is classified under the ETRM "OTHER" API category, meaning it is not exposed as a formally published public interface. Its stated purpose, per the embedded header comment, is to serve as "the main package used to assign and verify routing data." The package therefore sits in the routing maintenance layer of the manufacturing foundation, coordinating the association of routing records with organizations, revisions, and related attributes.
The header defines a consistent parameter contract used across the package: org_id (organization identifier), all_org (a flag where 1 processes all organizations and 2 processes only the supplied org_id), prog_appid, prog_id, request_id, user_id, and login_id. These are the standard concurrent-program context values used throughout EBS to record WHO columns and support restartability. The documented return contract is equally important to the user searching on "ret_code": functions return 1 on success and SQLCODE on failure, and the err_text OUT parameter carries the failure detail.
Key Procedures and Functions
ETRM documents two public units in this package:
- BMASRTG_ASSIGN_RTG_DATA — the assignment routine. Based on the source excerpt, it is a function returning INTEGER that orchestrates several subordinate steps in sequence. It first calls
BOMPASGR.bmartorg_assign_rtg_orgidto associate routing data with the appropriate organization, then callsBOMPASGR.bmasrrev_assign_rtg_revisionto assign routing revisions, and continues into further BOMPASGR routines. Each step is checked againstret_code; on a non-zero value the transaction is rolled back, the failing routine name is prefixed to the error message viasubstrb(err_msg,1,100), and control transfers to an error label. A COMMIT follows each successful step. - BMVRRTG_VERIFY_RTG_DATA — the verification counterpart. Its naming ("VR" for verify) indicates it validates existing routing data rather than creating it, following the same return convention of 1 for success and SQLCODE for failure.
Tables Accessed
The ETRM metadata records no direct table references for BOMPAVRT through APPS synonyms. All persistence is delegated to the BOMPASGR package, whose routines read and write the BOM routing base tables — principally BOM_OPERATIONAL_ROUTINGS, BOM_OPERATION_SEQUENCES, BOM_ROUTING_REVISIONS, and their organization-association counterparts. BOMPAVRT itself acts as the coordination layer: it sequences organization assignment, revision assignment, and validation, and manages transaction boundaries rather than issuing DML directly.
Usage Notes
BOMPAVRT is not referenced by any other documented package (ETRM reports zero referencing packages), which is consistent with an internal utility invoked from the routing concurrent programs and forms of the Bills of Material module. The presence of request_id, prog_appid, and prog_id confirms the intended entry point is a concurrent program launched from the Routing form or the Assign Routing concurrent request. The package predates the modern JAVA/PLSQL API standards — its header carries a 1993 copyright and a 1999 revision stamp — so it should be treated as an internal, version-sensitive interface. Custom code should not call it directly; instead, invoke the supported routing assignment concurrent programs. When diagnosing failures, the returned ret_code and the err_text value, which names the specific BOMPASGR routine that failed, are the primary troubleshooting signals.
-
PACKAGE BODY: APPS.BOMPAVRT
12.1.1
-
PACKAGE BODY: APPS.BOMPAVRT
12.2.2
-
PACKAGE BODY: APPS.BOMPAVBM
12.2.2
-
PACKAGE BODY: APPS.BOMPAVBM
12.1.1
-
PACKAGE BODY: APPS.INVWATP
12.1.1
-
PACKAGE BODY: APPS.INVWATP
12.2.2
-
PACKAGE BODY: APPS.BOMPASGB
12.2.2
-
PACKAGE BODY: APPS.BOMPASGB
12.1.1
-
PACKAGE BODY: APPS.BOMPVALR
12.1.1
-
PACKAGE BODY: APPS.BOMPVALR
12.2.2
-
PACKAGE BODY: APPS.BOM_BILL_API
12.2.2
-
PACKAGE: APPS.EGO_IMPORT_BATCH_PURGE_PKG
12.2.2
-
PACKAGE BODY: APPS.BOMPOPIF
12.1.1
-
PACKAGE BODY: APPS.BOMPASGR
12.1.1
-
PACKAGE BODY: APPS.BOM_SUBSTITUTE_COMPONENT_API
12.2.2
-
PACKAGE BODY: APPS.BOMPOPIF
12.2.2
-
PACKAGE BODY: APPS.BOM_BILL_API
12.1.1
-
PACKAGE BODY: APPS.BOM_SUBSTITUTE_COMPONENT_API
12.1.1
-
PACKAGE BODY: APPS.BOM_REFERENCE_DESIGNATOR_API
12.2.2
-
PACKAGE BODY: APPS.BOMPASGR
12.2.2
-
PACKAGE BODY: APPS.BOMPVALB
12.2.2
-
PACKAGE BODY: APPS.BOM_REFERENCE_DESIGNATOR_API
12.1.1
-
PACKAGE BODY: APPS.BOMPVALB
12.1.1
-
PACKAGE BODY: APPS.BOM_REVISION_API
12.2.2
-
PACKAGE BODY: APPS.BOM_REVISION_API
12.1.1
-
PACKAGE BODY: APPS.BOM_COMPONENT_API
12.1.1
-
PACKAGE BODY: APPS.GL_CONS_WRK_PKG
12.2.2
-
PACKAGE BODY: APPS.BOM_COMPONENT_API
12.2.2
-
PACKAGE BODY: APPS.GL_CONS_WRK_PKG
12.1.1
-
PACKAGE BODY: APPS.OKL_AM_TERMNT_INTERFACE_PUB
12.2.2
-
PACKAGE BODY: APPS.OKL_AM_TERMNT_INTERFACE_PUB
12.1.1
-
PACKAGE BODY: APPS.PA_PAXARPPR_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_PAXARPPR_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.INVPOPIF
12.1.1
-
PACKAGE BODY: APPS.PO_CATEGORIES_SV1
12.1.1
-
PACKAGE BODY: APPS.INVPOPIF
12.2.2
-
PACKAGE BODY: APPS.PA_PAXARPVD_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_PAXARPVD_XMLP_PKG
12.2.2
-
PACKAGE: APPS.FUN_UPDATE_UPGRADED_TRX_PKG
12.1.1
-
PACKAGE: APPS.FUN_UPDATE_UPGRADED_TRX_PKG
12.2.2
-
PACKAGE: APPS.PN_GENERATE_PMT_SCHED
12.1.1
-
PACKAGE: APPS.PSA_AR_GL_INTERFACE
12.1.1
-
PACKAGE: APPS.PN_MODIFY_PMT_SCHED
12.2.2
-
PACKAGE: APPS.EGO_PUB_HIST_PURGE_PKG
12.2.2
-
PACKAGE: APPS.PN_GENERATE_PMT_SCHED
12.2.2
-
PACKAGE: APPS.PN_MODIFY_PMT_SCHED
12.1.1
-
PACKAGE: APPS.JAI_CMN_ST_FORMS_PKG
12.1.1
-
PACKAGE: APPS.JAI_CMN_ST_FORMS_PKG
12.2.2
-
PACKAGE: APPS.PSA_AR_GL_INTERFACE
12.2.2
-
PACKAGE: APPS.GMA_MIGRATION_UTILS
12.1.1