Results for “ast_tasks_bali_v”

4 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

AST_TASKS_BALI_V is a reporting and integration view within the Oracle E-Business Suite TeleSales (AST) module. It consolidates task data from the JTF (CRM Foundation) task framework into a single flattened result set optimized for retrieval by TeleSales and related CRM applications. The view is defined with the FIRST_ROWS hint, indicating that it was designed for interactive query patterns where the application retrieves the first qualifying rows as quickly as possible rather than performing full-table aggregation over the entire task population.

AST_TASKS_BALI_V exposes task header information together with denormalized lookup values, including task type, status, priority, source object, owner, and parent task identifiers. This makes it suitable for list-of-values screens, task worklists, dashboard queries, and outbound integration feeds where the consumer requires readable lookup names rather than raw foreign key identifiers. In the ETRM documentation set for 12.1.1 and 12.2.2, the object is catalogued under the AST product with a note stating it is not implemented in the reference database, meaning the view is deployed conditionally based on licensed TeleSales functionality and applied patch levels.

Underlying Base Objects

The view text references the following documented base objects:

The join predicates also filter out logically deleted rows by excluding records where DELETED_FLAG = 'Y', while retaining rows where the flag is null. The documented metadata lists no explicit base objects at the ETRM level; the relationships above are derived from the embedded view definition.

Key Columns

Common Use Cases and Queries

Typical consumers use this view to build task worklists for TeleSales agents, resolve lookup names for reporting, and drill into parent/child task hierarchies.

Example: retrieve open, high-priority tasks with decoded lookups.

SELECT task_id, task_number, task_name, name_status, name_priority,
       owner_full_name, source_object_name, planned_start_date
FROM   ast_tasks_bali_v
WHERE  NVL(closed_flag,'N') = 'N'
  AND  priority_id = :p_priority;

Example: locate all child tasks belonging to a given parent.

SELECT task_id, task_number, parent_task_id, parent_task_number
FROM   ast_tasks_bali_v
WHERE  parent_task_id = :p_parent_id
  AND  NVL(deleted_flag,'N') = 'N';

Example: summarize open task counts by status and owner for dashboard reporting.

SELECT status_id, status_name, owner_id, COUNT(*)
FROM   ast_tasks_bali_v
WHERE  NVL(closed_flag,'N') = 'N'
GROUP  BY status_id, status_name, owner_id;

Because the view includes the FIRST_ROWS hint, queries should avoid unnecessary sorting or full scans where interactive responsiveness is required. Consumers should also honor the DELETED_FLAG filter and be aware that the view is not implemented in every environment, so existence checks against ALL_VIEWS are advisable before building dependent logic.