Search Results prp_templates_b
Overview
The PRP_TEMPLATES_B table is a core data object within the Oracle E-Business Suite (EBS) Proposals (PRP) module, specifically for releases 12.1.1 and 12.2.2. It serves as the primary repository for the definition and master information of proposal templates. Templates are foundational structures used to standardize and accelerate the creation of business proposals, ensuring consistency in format, content, and business rules. As a base table, PRP_TEMPLATES_B holds the non-translatable, seed data for each template, which is then extended by related tables for multilingual support and detailed component definitions. Its role is central to the proposal generation workflow, acting as the authoritative source for template metadata.
Key Information Stored
The table stores the essential attributes that uniquely define a proposal template. The primary key is the system-generated TEMPLATE_ID, which serves as the unique internal identifier for all template-related records. A critical business key is the TEMPLATE_CODE, which is also enforced as unique (via the PRP_TEMPLATES_B_UK1 constraint) and is typically a user-friendly identifier for the template. Another significant column is TEMPLATE_CATG_ID, a foreign key that categorizes the template, linking it to a classification system within the Proposals module. While the provided metadata does not list all columns, typical attributes in such a base table would include creation and last update dates, enabled flags, and other control columns standard to Oracle EBS.
Common Use Cases and Queries
Common operational and reporting scenarios involve querying this table to manage the template library or analyze template usage. Administrators may run queries to audit active templates or validate template codes before creation. A typical pattern is joining with the translation table (PRP_TEMPLATES_TL) to retrieve template names in a specific language. For instance, to list all enabled templates with their descriptions:
- SELECT b.template_code, tl.template_name, b.template_catg_id FROM prp_templates_b b, prp_templates_tl tl WHERE b.template_id = tl.template_id AND tl.language = USERENV('LANG');
Another critical use case is identifying all components associated with a specific template for impact analysis, which involves joining with the PRP_TEMPLATE_COMPONENTS table using the TEMPLATE_ID foreign key.
Related Objects
The PRP_TEMPLATES_B table has several key dependencies, as indicated by its foreign key relationships. It is the parent table for PRP_TEMPLATES_TL, which holds the translated names and descriptions for the templates. It is also the parent to PRP_TEMPLATE_COMPONENTS, which defines the individual sections or elements (like text blocks, pricing tables) that make up the template structure. Furthermore, it relates to PRP_TEMPLATE_LANG_ATTRS, which likely stores language-specific attributes for template rendering. The table itself references another object via the TEMPLATE_CATG_ID foreign key, which points to a category lookup table (not fully named in the metadata), completing the data model for template classification and management.
-
Table: PRP_TEMPLATES_B
12.2.2
owner:PRP, object_type:TABLE, fnd_design_data:PRP.PRP_TEMPLATES_B, object_name:PRP_TEMPLATES_B, status:VALID, product: PRP - Proposals , description: This table contains the information about the templates. , implementation_dba_data: PRP.PRP_TEMPLATES_B ,
-
Table: PRP_TEMPLATES_B
12.1.1
owner:PRP, object_type:TABLE, fnd_design_data:PRP.PRP_TEMPLATES_B, object_name:PRP_TEMPLATES_B, status:VALID, product: PRP - Proposals , description: This table contains the information about the templates. , implementation_dba_data: PRP.PRP_TEMPLATES_B ,
-
APPS.PRP_TEMPLATES_PKG dependencies on PRP_TEMPLATES_B
12.1.1
-
APPS.PRP_TEMPLATES_PKG dependencies on PRP_TEMPLATES_B
12.2.2
-
SYNONYM: APPS.PRP_TEMPLATES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PRP_TEMPLATES_B, status:VALID,
-
VIEW: PRP.PRP_TEMPLATES_B#
12.2.2
owner:PRP, object_type:VIEW, object_name:PRP_TEMPLATES_B#, status:VALID,
-
APPS.PRP_TEMPLATES_PKG SQL Statements
12.1.1
-
APPS.PRP_TEMPLATES_PKG SQL Statements
12.2.2
-
VIEW: PRP.PRP_TEMPLATES_B#
12.2.2
-
SYNONYM: APPS.PRP_TEMPLATES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PRP_TEMPLATES_B, status:VALID,
-
VIEW: APPS.PRP_TEMPLATES_VL
12.2.2
-
VIEW: APPS.PRP_TEMPLATES_VL
12.1.1
-
12.2.2 DBA Data
12.2.2
-
Table: PRP_TEMPLATES_TL
12.1.1
owner:PRP, object_type:TABLE, fnd_design_data:PRP.PRP_TEMPLATES_TL, object_name:PRP_TEMPLATES_TL, status:VALID, product: PRP - Proposals , description: This table contains the translated information about the templates. , implementation_dba_data: PRP.PRP_TEMPLATES_TL ,
-
Table: PRP_TEMPLATE_COMPONENTS
12.1.1
owner:PRP, object_type:TABLE, fnd_design_data:PRP.PRP_TEMPLATE_COMPONENTS, object_name:PRP_TEMPLATE_COMPONENTS, status:VALID, product: PRP - Proposals , description: This table contains the list of components associated with a template. , implementation_dba_data: PRP.PRP_TEMPLATE_COMPONENTS ,
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
TABLE: PRP.PRP_TEMPLATES_B
12.1.1
owner:PRP, object_type:TABLE, fnd_design_data:PRP.PRP_TEMPLATES_B, object_name:PRP_TEMPLATES_B, status:VALID,
-
TABLE: PRP.PRP_TEMPLATES_B
12.2.2
owner:PRP, object_type:TABLE, fnd_design_data:PRP.PRP_TEMPLATES_B, object_name:PRP_TEMPLATES_B, status:VALID,
-
View: PRP_TEMPLATES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PRP.PRP_TEMPLATES_VL, object_name:PRP_TEMPLATES_VL, status:VALID, product: PRP - Proposals , implementation_dba_data: APPS.PRP_TEMPLATES_VL ,
-
Table: PRP_TEMPLATES_TL
12.2.2
owner:PRP, object_type:TABLE, fnd_design_data:PRP.PRP_TEMPLATES_TL, object_name:PRP_TEMPLATES_TL, status:VALID, product: PRP - Proposals , description: This table contains the translated information about the templates. , implementation_dba_data: PRP.PRP_TEMPLATES_TL ,
-
PACKAGE BODY: APPS.PRP_TEMPLATES_PKG
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
Table: PRP_TEMPLATE_LANG_ATTRS
12.2.2
owner:PRP, object_type:TABLE, fnd_design_data:PRP.PRP_TEMPLATE_LANG_ATTRS, object_name:PRP_TEMPLATE_LANG_ATTRS, status:VALID, product: PRP - Proposals , description: This table contains the language related attributes for the template. , implementation_dba_data: PRP.PRP_TEMPLATE_LANG_ATTRS ,
-
Table: PRP_TEMPLATE_LANG_ATTRS
12.1.1
owner:PRP, object_type:TABLE, fnd_design_data:PRP.PRP_TEMPLATE_LANG_ATTRS, object_name:PRP_TEMPLATE_LANG_ATTRS, status:VALID, product: PRP - Proposals , description: This table contains the language related attributes for the template. , implementation_dba_data: PRP.PRP_TEMPLATE_LANG_ATTRS ,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
Table: PRP_TEMPLATE_COMPONENTS
12.2.2
owner:PRP, object_type:TABLE, fnd_design_data:PRP.PRP_TEMPLATE_COMPONENTS, object_name:PRP_TEMPLATE_COMPONENTS, status:VALID, product: PRP - Proposals , description: This table contains the list of components associated with a template. , implementation_dba_data: PRP.PRP_TEMPLATE_COMPONENTS ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.PRP_TEMPLATES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PRP_TEMPLATES_PKG, status:VALID,
-
PACKAGE BODY: APPS.PRP_TEMPLATES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PRP_TEMPLATES_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.PRP_TEMPLATES_PKG
12.1.1
-
View: PRP_TEMPLATES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PRP.PRP_TEMPLATES_VL, object_name:PRP_TEMPLATES_VL, status:VALID, product: PRP - Proposals , implementation_dba_data: APPS.PRP_TEMPLATES_VL ,
-
eTRM - PRP Tables and Views
12.1.1
description: This table contains the values for the "User Defined" tokens of type "List of Values". This table stores the list of values for each token in each installed language. ,
-
eTRM - PRP Tables and Views
12.2.2
description: This table contains the values for the "User Defined" tokens of type "List of Values". This table stores the list of values for each token in each installed language. ,
-
APPS.PRP_TEMPLATES_PKG dependencies on PRP_TEMPLATES_TL
12.1.1
-
APPS.PRP_TEMPLATES_PKG dependencies on PRP_TEMPLATES_TL
12.2.2
-
VIEW: APPS.PRP_TEMPLATES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PRP.PRP_TEMPLATES_VL, object_name:PRP_TEMPLATES_VL, status:VALID,
-
VIEW: APPS.PRP_TEMPLATES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PRP.PRP_TEMPLATES_VL, object_name:PRP_TEMPLATES_VL, status:VALID,
-
eTRM - PRP Tables and Views
12.1.1
description: This table contains the values for the "User Defined" tokens of type "List of Values". This table stores the list of values for each token in each installed language. ,
-
eTRM - PRP Tables and Views
12.2.2
description: This table contains the values for the "User Defined" tokens of type "List of Values". This table stores the list of values for each token in each installed language. ,
-
Foreign Keys
12.2.2
-
Foreign Keys
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1