Search Results script_answer_action_id
Overview
The OSM.AS_SCRIPT_ANSWER_ACTIONS_ALL table is a core data repository within the Oracle E-Business Suite (EBS) Application Foundation (AS), specifically for the Scripting module. It functions as the master table for defining and storing the specific business actions that are automatically triggered based on a user's response (answer) to a predefined question in a script. This table enables the automation of sales, marketing, and service processes by linking scripted dialogue outcomes to concrete operational steps, such as creating a lead, updating an opportunity, or launching a campaign. Its multi-org structure, indicated by the ORG_ID column and the "_ALL" suffix, supports data partitioning across multiple operating units.
Key Information Stored
The table's columns are logically grouped to define the action and its context. The primary identifier, SCRIPT_ANSWER_ACTION_ID, is a mandatory unique key. The TYPE column categorizes the nature of the action (e.g., 'CREATE_LEAD', 'UPDATE_INTEREST'). Critical foreign keys establish relationships: PRE_DEF_ANSWER_ID links to the predefined script answer that initiates this action, while PROMOTION_ID and INVENTORY_ITEM_ID link to campaign and product master data, respectively. Action-specific details are captured in fields like LEAD_NAME, RANK, SALES_STAGE_ID, and INTEREST_STATUS_CODE. The table includes standard EBS WHO columns (CREATED_BY, LAST_UPDATE_DATE, etc.) for auditing and a full set of 15 descriptive flexfield columns (ATTRIBUTE1-ATTRIBUTE15) for custom extensions.
Common Use Cases and Queries
A primary use case is analyzing the automation rules defined for a specific script or answer. For instance, to retrieve all actions configured for a particular predefined answer, one would query using the PRE_DEF_ANSWER_ID foreign key. Reporting on the volume and type of automated actions generated by script interactions is another common scenario, often joined to the related answer and script header tables. Troubleshooting script behavior often involves querying this table to verify the intended action for a given response. A sample query to audit actions by type and linked promotion would be:
- SELECT TYPE, DESCRIPTION, PROMOTION_ID, CREATION_DATE FROM OSM.AS_SCRIPT_ANSWER_ACTIONS_ALL WHERE ORG_ID = :org_id ORDER BY TYPE;
Related Objects
The table is central to the Scripting module's data model, with documented foreign key relationships to several master tables. The primary key (SCRIPT_ANSWER_ACTION_ID) is enforced by the AS_SCR_ANS_ACTIONS_PK constraint. The table references the following key objects:
- AS_SCRIPT_PRE_DEFINED_ANSWERS: Joined via PRE_DEF_ANSWER_ID. This is the most critical relationship, linking an action to the specific script answer that triggers it.
- AS_PROMOTIONS_ALL: Joined via PROMOTION_ID. Links an action to a specific marketing campaign or promotion.
- MTL_SYSTEM_ITEMS_B: Joined via INVENTORY_ITEM_ID. Links an action to a specific inventory item, enabling product-related automation.
-
TABLE: OSM.AS_SCRIPT_ANSWER_ACTIONS_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SCRIPT_ANSWER_ACTIONS_ALL, object_name:AS_SCRIPT_ANSWER_ACTIONS_ALL, status:VALID,
-
TABLE: OSM.AS_SCRIPT_ANSWER_ACTIONS_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SCRIPT_ANSWER_ACTIONS_ALL, object_name:AS_SCRIPT_ANSWER_ACTIONS_ALL, status:VALID,
-
VIEW: OSM.AS_SCRIPT_ANSWER_ACTIONS_ALL#
12.2.2
-
View: AS_SCRIPT_ANSWER_ACTIONS
12.2.2
product: AS - Sales Foundation , description: Script answer actions (multi-org) , implementation_dba_data: Not implemented in this database ,
-
VIEW: OSM.AS_SCRIPT_ANSWER_ACTIONS_ALL#
12.2.2
owner:OSM, object_type:VIEW, object_name:AS_SCRIPT_ANSWER_ACTIONS_ALL#, status:VALID,
-
View: AS_SCRIPT_ANSWER_ACTIONS
12.1.1
product: AS - Sales Foundation , description: Script answer actions (multi-org) , implementation_dba_data: Not implemented in this database ,
-
Table: AS_SCRIPT_ANSWER_ACTIONS_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SCRIPT_ANSWER_ACTIONS_ALL, object_name:AS_SCRIPT_ANSWER_ACTIONS_ALL, status:VALID, product: AS - Sales Foundation , description: Holds actions resulting from script answers , implementation_dba_data: OSM.AS_SCRIPT_ANSWER_ACTIONS_ALL ,
-
View: AS_SCRIPT_ANS_ACT_EE_V
12.2.2
product: AS - Sales Foundation , description: Event answer actions view , implementation_dba_data: Not implemented in this database ,
-
View: AS_SCRIPT_ANS_ACT_PI_V
12.1.1
product: AS - Sales Foundation , description: Product interest answer actions view , implementation_dba_data: Not implemented in this database ,
-
View: AS_SCRIPT_ANS_ACT_PI_V
12.2.2
product: AS - Sales Foundation , description: Product interest answer actions view , implementation_dba_data: Not implemented in this database ,
-
Table: AS_SCRIPT_ANSWER_ACTIONS_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SCRIPT_ANSWER_ACTIONS_ALL, object_name:AS_SCRIPT_ANSWER_ACTIONS_ALL, status:VALID, product: AS - Sales Foundation , description: Holds actions resulting from script answers , implementation_dba_data: OSM.AS_SCRIPT_ANSWER_ACTIONS_ALL ,
-
View: AS_SCRIPT_ANS_ACT_SC_V
12.1.1
product: AS - Sales Foundation , description: Send collateral answer actions view , implementation_dba_data: Not implemented in this database ,
-
View: AS_SCRIPT_ANS_ACT_SC_V
12.2.2
product: AS - Sales Foundation , description: Send collateral answer actions view , implementation_dba_data: Not implemented in this database ,
-
View: AS_SCRIPT_ANS_ACT_CL_V
12.1.1
product: AS - Sales Foundation , description: Create lead answer actions view , implementation_dba_data: Not implemented in this database ,
-
View: AS_SCRIPT_ANS_ACT_EE_V
12.1.1
product: AS - Sales Foundation , description: Event answer actions view , implementation_dba_data: Not implemented in this database ,
-
View: AS_SCRIPT_ANS_ACT_CL_V
12.2.2
product: AS - Sales Foundation , description: Create lead answer actions view , implementation_dba_data: Not implemented in this database ,
-
eTRM - AS Tables and Views
12.2.2
description: - Retrofitted ,
-
eTRM - AS Tables and Views
12.1.1
description: - Retrofitted ,
-
eTRM - AS Tables and Views
12.2.2
description: - Retrofitted ,
-
eTRM - AS Tables and Views
12.1.1
description: - Retrofitted ,