Search Results asg_flash_messages




Overview

The ASG_FLASH_MESSAGES table is a core data repository within the Oracle E-Business Suite module ASG - CRM Gateway for Mobile Devices. This module facilitates mobile integration and data synchronization for CRM operations. The table's primary function is to store "flash messages," which are transient, system-generated notifications intended for mobile device users. These messages are a critical component of the mobile communication framework, enabling the delivery of alerts, updates, or prompts to field personnel directly on their mobile devices, ensuring timely information flow within the CRM context.

Key Information Stored

While the provided ETRM excerpt does not list all columns, it definitively identifies the primary key structure. The central column is FLASH_ID, which serves as the unique numeric identifier (primary key) for every flash message record in the system. This identifier is essential for all data operations concerning a specific message. Based on the table's purpose, other typical columns would include metadata such as the message subject or type, the message body or content, the creation date, the sender or originator of the message, and status flags indicating whether the message has been sent, read, or expired. The FLASH_ID is the critical piece of data used to link a message to its intended recipients.

Common Use Cases and Queries

The primary use case involves the generation, management, and tracking of notifications sent to mobile CRM users. Administrators or concurrent programs may query this table to audit message history or monitor delivery status. A common reporting requirement is to list all messages sent within a specific timeframe. The following sample query pattern demonstrates joining the message header with recipient details, utilizing the documented FLASH_ID relationship:

  • Retrieving messages and their recipients:
    SELECT msg.FLASH_ID, msg.MESSAGE_SUBJECT, msg.CREATION_DATE, rec.RECIPIENT_ID
    FROM ASG.ASG_FLASH_MESSAGES msg,
         ASG.ASG_FLASH_RECIPIENTS rec
    WHERE msg.FLASH_ID = rec.FLASH_ID
    AND msg.CREATION_DATE > SYSDATE - 7
    ORDER BY msg.CREATION_DATE DESC;
  • Finding a specific message by its key identifier:
    SELECT * FROM ASG.ASG_FLASH_MESSAGES WHERE FLASH_ID = &flash_id_value;

Related Objects

The table has a defined parent-child relationship within the ASG schema, as per the provided foreign key metadata. The primary key constraint ASG_FLASH_MESSAGES_PK is defined on the FLASH_ID column. This key is referenced by the foreign key in the related detail table:

  • ASG_FLASH_RECIPIENTS: This table stores the list of users or devices intended to receive each flash message. It contains a foreign key column, ASG_FLASH_RECIPIENTS.FLASH_ID, which references ASG_FLASH_MESSAGES.FLASH_ID. This establishes a one-to-many relationship where a single message record in ASG_FLASH_MESSAGES can have multiple recipient records in ASG_FLASH_RECIPIENTS.