Search Results email_history_id




Overview

The PRP_EMAIL_HISTORY table is a core data object within the Oracle E-Business Suite Proposals (PRP) module. Its primary function is to serve as an audit and tracking repository for all email communications sent to customers where a proposal document is attached. This table provides a complete historical record of proposal dissemination, which is critical for sales process management, compliance, and customer engagement analysis. By logging each email event, it enables users to verify when and by whom a specific proposal version was shared, forming an essential part of the proposal lifecycle documentation.

Key Information Stored

While the full column list is not detailed in the provided metadata, the structure and foreign key relationships indicate the core data elements stored. The primary key is EMAIL_HISTORY_ID, which uniquely identifies each email event. Crucially, the table stores the relationship to the specific proposal document sent via the PROPOSAL_CTNTVER_ID foreign key, linking to the PRP_PROPOSAL_CTNTVERS table. It also captures the user responsible for sending the communication through the SENT_BY_USER_ID foreign key, which references FND_USER. Typical data likely includes timestamps for when the email was sent, the subject line, and potentially status flags indicating the success or failure of the transmission.

Common Use Cases and Queries

A primary use case is auditing the distribution history of a specific proposal. Administrators or sales managers can query this table to generate reports on which proposal versions were emailed, to whom, when, and by which representative. This is vital for resolving customer disputes or verifying that a proposal was sent by a deadline. Another common scenario involves analyzing sales team activity by joining to the FND_USER table. A sample query to retrieve a basic send history would be:

  • SELECT peh.EMAIL_HISTORY_ID, fu.USER_NAME, ppc.PROPOSAL_NUMBER, peh.CREATION_DATE FROM PRP.PRP_EMAIL_HISTORY peh, PRP.PRP_PROPOSAL_CTNTVERS ppc, APPS.FND_USER fu WHERE peh.PROPOSAL_CTNTVER_ID = ppc.PROPOSAL_CTNTVER_ID AND peh.SENT_BY_USER_ID = fu.USER_ID ORDER BY peh.CREATION_DATE DESC;

Integration with the related PRP_EMAIL_RECIPIENTS table allows for detailed reporting on the specific contacts who received each email.

Related Objects

The PRP_EMAIL_HISTORY table is centrally connected to several key objects within the Proposals schema. Its primary foreign key relationship is with PRP_PROPOSAL_CTNTVERS, which stores the content versions of proposals, ensuring each email record is tied to an exact document iteration. It is also linked to the foundational FND_USER table for user information. Furthermore, it has a one-to-many relationship with the PRP_EMAIL_RECIPIENTS table, where the EMAIL_HISTORY_ID serves as a foreign key. This structure separates the email event metadata from the recipient list, allowing multiple recipients for a single sent email. These relationships are fundamental for constructing comprehensive proposal communication reports.

  • Table: PRP_EMAIL_HISTORY 12.2.2

    owner:PRP,  object_type:TABLE,  fnd_design_data:PRP.PRP_EMAIL_HISTORY,  object_name:PRP_EMAIL_HISTORY,  status:VALID,  product: PRP - Proposalsdescription: This table contains the history of all the eMail sent to customers with proposal document as attachment. ,  implementation_dba_data: PRP.PRP_EMAIL_HISTORY

  • Table: PRP_EMAIL_HISTORY 12.1.1

    owner:PRP,  object_type:TABLE,  fnd_design_data:PRP.PRP_EMAIL_HISTORY,  object_name:PRP_EMAIL_HISTORY,  status:VALID,  product: PRP - Proposalsdescription: This table contains the history of all the eMail sent to customers with proposal document as attachment. ,  implementation_dba_data: PRP.PRP_EMAIL_HISTORY