Search Results time_frame
Overview
The APPS.AST_SALES_LEADS_REL_BALI_V view is a TeleSales (AST) reporting object in Oracle E-Business Suite 12.1.1 and 12.2.2. It exposes sales lead records from the AS_SALES_LEADS entity, denormalized with decoded lookup meanings and associated contact party information. The naming suffix REL_BALI indicates a release-specific variant that consolidates lead attributes with their translated status, rank, budget, channel, close-reason, and vehicle-response descriptions so that consumers do not need to rejoin the lookup and status views.
The view is particularly relevant to users investigating the IMPORT_FLAG column, which is exposed directly from the underlying lead record. This flag identifies leads created or loaded through an external import process, such as a bulk data load or integration feed, rather than through manual TeleSales entry. Analysts, integration developers, and reporting practitioners use this view to reconcile imported lead populations and to trace their progression through the sales pipeline.
Underlying Base Objects
The documented ETRM metadata lists the following referenced base objects:
- AS_SALES_LEADS (synonym) — the primary lead table, aliased
LEAD, supplying the majority of columns. - AS_SALES_LEAD_CONTACTS (synonym) — aliased
ASLC, contributing theCONTACT_PARTY_ID. - AS_STATUSES_VL (view) — aliased
STATUS, supplying the untranslatedSTATUS_CODEand itsMEANING. - AS_SALES_LEAD_RANKS_TL (synonym) — aliased
RANK, an outer-joined translation table supplying the rankMEANINGfiltered byUSERENV('LANG'). - AS_LOOKUPS (view) — instantiated four times as
AS_LOOKUPS2throughAS_LOOKUPS5to decode budget status, decision timeframe, close reason, and vehicle response codes. - OE_LOOKUPS (view) — aliased
OELKP, decoding the channel code.
The outer join on the rank translation table allows leads without a valid rank to remain visible, while the lookup joins require matching codes.
Key Columns
- IMPORT_FLAG — indicates whether the lead originated from an import process; central to the user's search.
- SALES_LEAD_ID / LEAD_NUMBER — primary identifier and user-facing lead number.
- STATUS_CODE / MEANING — current pipeline status and its decoded description.
- STATUS_OPEN_FLAG — denotes whether the lead remains open.
- CONTACT_PARTY_ID — the associated contact party from AS_SALES_LEAD_CONTACTS.
- BUDGET_AMOUNT / BUDGET_STATUS / CURRENCY_CODE — financial qualification attributes.
- RANK.MEANING, CHANNEL_CODE, SOURCE_PROMOTION_ID — qualification and source-tracking attributes.
- ASSIGN_TO_PERSON_ID / ASSIGN_TO_SALESFORCE_ID / ASSIGN_SALES_GROUP_ID — assignment routing columns.
- KEEP_FLAG, URGENT_FLAG, QUALIFIED_FLAG, DELETED_FLAG, ACCEPT_FLAG — operational status flags.
- ATTRIBUTE1–ATTRIBUTE15 — the standard EBS descriptive flexfield segments.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, REQUEST_ID, PROGRAM_ID — audit and concurrent-program columns.
Common Use Cases and Queries
A frequent requirement is isolating imported leads and reviewing their status distribution:
- SELECT lead_number, import_flag, status_code, meaning FROM ast_sales_leads_rel_bali_v WHERE import_flag = 'Y';
- SELECT import_flag, COUNT(*) FROM ast_sales_leads_rel_bali_v GROUP BY import_flag;
- SELECT lead_number, assign_to_person_id, budget_amount FROM ast_sales_leads_rel_bali_v WHERE import_flag = 'Y' AND status_open_flag = 'Y';
Because the view already resolves lookup meanings, it is well suited to ad hoc reporting, Oracle Discoverer workbooks, and BI Publisher data templates where decoded values are required without additional joins. Integration developers may also query it to validate that imported leads successfully landed and received a rank and status.
-
View: AST_SALES_LEADS_REL_BALI_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_REL_BALI_V, object_name:AST_SALES_LEADS_REL_BALI_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_REL_BALI_V ,
-
View: AST_SALES_LEADS_REL_BALI_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_REL_BALI_V, object_name:AST_SALES_LEADS_REL_BALI_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_REL_BALI_V ,
-
View: AST_SALES_LEADS_BALI_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_BALI_V, object_name:AST_SALES_LEADS_BALI_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_BALI_V ,
-
View: AST_SALES_LEADS_BALI_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_BALI_V, object_name:AST_SALES_LEADS_BALI_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_BALI_V ,
-
View: AST_SALES_LEADS_EBC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_EBC_V, object_name:AST_SALES_LEADS_EBC_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_EBC_V ,
-
View: AST_SALES_LEADS_EBC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_EBC_V, object_name:AST_SALES_LEADS_EBC_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_EBC_V ,
-
View: AST_SALES_LEADS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_V, object_name:AST_SALES_LEADS_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_V ,
-
View: AST_SALES_LEADS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_V, object_name:AST_SALES_LEADS_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_V ,