Search Results iem_rules_engine_pub
Overview
IEM_RULES_ENGINE_PUB is the public application programming interface for the Email Processing Engine within Oracle E-Business Suite's Interaction and Email Management (IEM) module, part of the CRM/Advanced Outbound product family. The package evaluates inbound email messages against user-defined processing rules and executes the associated actions, such as auto-acknowledgment, auto-reply, auto-redirect, and document mapping. It is declared with AUTHID CURRENT_USER, meaning that all SQL statements execute under the privileges of the calling schema rather than the package owner, which is standard practice for APPS-owned public APIs that must respect the caller's security context.
The package exposes a strongly typed PL/SQL record and collection model central to its interface. parameter_type is a record mirroring the PARAMETER1, PARAMETER2, and TYPE columns of IEM_ACTION_DTLS, and parameter_tbl_type is a table of that record type, INDEX BY BINARY_INTEGER. This associative array is the channel through which the rules engine returns the key-value parameter set resolved for a matched rule action. The header history indicates the package was created in 2002 and progressively extended through 2003 to add document mapping validation and the auto-redirect rule type.
Key Procedures and Functions
AUTO_PROCESS_EMAIL— the principal API entry point. It accepts an API version number, standard initialization and commit flags, a rule type, a key-value table (typed asIEM_ROUTE_PUB.keyVals_tbl_type), and an account identifier. It returns the processing result, the resolved action, aparameter_tbl_typecollection of action parameters, and the standard return status, message count, and message data outputs. It drives the overall email-to-rule-to-action cycle.IS_VALID— a validation function returning a VARCHAR2 indicator for a supplied value, used to screen rule or action data before processing.GET_DOCUMENT_TOTAL— returns a NUMBER count of documents associated with a category identifier.IS_DOCUMENT_EXIST— returns a VARCHAR2 indicator confirming whether a given document exists within a given category, supporting the added validation for AUTOACKNOWLEDGE and AUTOREPLYSPECDOC rule types.
Tables Accessed
The package reads and writes through APPS synonyms. Rule definition and evaluation rely on IEM_EMAILPROC_RULES, IEM_ROUTE_RULES, and IEM_ROUTE_CLASS_RULES; the action definitions and their parameter values reside in IEM_ACTIONS and IEM_ACTION_DTLS, which supply the columns behind parameter_type. Account and processing configuration come from IEM_EMAIL_ACCOUNTS, IEM_ACCOUNT_EMAILPROCS, and IEM_EMAILPROCS. Document validation uses AMV_C_CHL_ITEM_MATCH. PLITBLM is the standard EBS message-table mechanism supporting the message count and message data outputs.
Usage Notes
IEM_RULES_ENGINE_PUB is invoked by the standard IEM email processing runtime—typically from concurrent processing or agent-driven inbound email handling—and is referenced by at least one other package, indicating layered use rather than direct end-user invocation. Customizations should call AUTO_PROCESS_EMAIL with the correct API version and account context, then interpret x_result, x_action, and the returned parameter_tbl_type collection; standard message-stack handling should be applied against x_return_status, x_msg_count, and x_msg_data. The NOCOPY hints on OUT parameters reflect performance optimization for the collection payload. This object is documented in ETRM 12.2.2 with the same signature shown for the 12.1.1 code line.
-
SYNONYM: APPS.IEM_ACTION_DTLS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IEM_ACTION_DTLS, status:VALID,
-
PACKAGE: APPS.IEM_RULES_ENGINE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:IEM_RULES_ENGINE_PUB, status:VALID,
-
SYNONYM: APPS.IEM_ACTION_DTLS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IEM_ACTION_DTLS, status:VALID,
-
PACKAGE: APPS.IEM_ROUTE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:IEM_ROUTE_PUB, status:VALID,
-
PACKAGE: APPS.IEM_ROUTE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IEM_ROUTE_PUB, status:VALID,
-
PACKAGE: APPS.IEM_RULES_ENGINE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IEM_RULES_ENGINE_PUB, status:VALID,
-
PACKAGE BODY: APPS.IEM_RULES_ENGINE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:IEM_RULES_ENGINE_PUB, status:VALID,
-
PACKAGE BODY: APPS.IEM_RULES_ENGINE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IEM_RULES_ENGINE_PUB, status:VALID,
-
SYNONYM: APPS.IEM_EMAILPROCS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IEM_EMAILPROCS, status:VALID,
-
SYNONYM: APPS.IEM_ACCOUNT_EMAILPROCS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IEM_ACCOUNT_EMAILPROCS, status:VALID,
-
SYNONYM: APPS.IEM_ACTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IEM_ACTIONS, status:VALID,
-
SYNONYM: APPS.IEM_ACCOUNT_EMAILPROCS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IEM_ACCOUNT_EMAILPROCS, status:VALID,
-
SYNONYM: APPS.IEM_EMAILPROCS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IEM_EMAILPROCS, status:VALID,
-
SYNONYM: APPS.IEM_ACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IEM_ACTIONS, status:VALID,
-
SYNONYM: APPS.IEM_EMAILPROC_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IEM_EMAILPROC_RULES, status:VALID,
-
SYNONYM: APPS.IEM_ROUTE_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IEM_ROUTE_RULES, status:VALID,
-
SYNONYM: APPS.AMV_C_CHL_ITEM_MATCH
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMV_C_CHL_ITEM_MATCH, status:VALID,
-
SYNONYM: APPS.IEM_EMAILPROC_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IEM_EMAILPROC_RULES, status:VALID,
-
SYNONYM: APPS.IEM_ROUTE_CLASS_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IEM_ROUTE_CLASS_RULES, status:VALID,
-
PACKAGE: APPS.IEM_RULES_ENGINE_PUB
12.1.1
-
PACKAGE: APPS.IEM_RULES_ENGINE_PUB
12.2.2
-
SYNONYM: APPS.IEM_ROUTE_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IEM_ROUTE_RULES, status:VALID,
-
SYNONYM: APPS.IEM_ROUTE_CLASS_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IEM_ROUTE_CLASS_RULES, status:VALID,
-
PACKAGE: APPS.IEM_OPERATORS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IEM_OPERATORS_PVT, status:VALID,
-
PACKAGE: APPS.IEM_OPERATORS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:IEM_OPERATORS_PVT, status:VALID,
-
SYNONYM: APPS.AMV_C_CHL_ITEM_MATCH
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMV_C_CHL_ITEM_MATCH, status:VALID,
-
PACKAGE: APPS.IEM_EMAIL_PROC_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:IEM_EMAIL_PROC_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.IEM_EMAIL_ACCOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IEM_EMAIL_ACCOUNTS, status:VALID,
-
PACKAGE: APPS.IEM_EMAIL_PROC_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IEM_EMAIL_PROC_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.FND_LOG_REPOSITORY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_LOG_REPOSITORY, status:VALID,
-
SYNONYM: APPS.IEM_EMAIL_ACCOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IEM_EMAIL_ACCOUNTS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_LOG_REPOSITORY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_LOG_REPOSITORY, status:VALID,
-
PACKAGE BODY: APPS.IEM_EMAIL_PROC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IEM_EMAIL_PROC_PVT, status:VALID,
-
PACKAGE BODY: APPS.IEM_EMAIL_PROC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:IEM_EMAIL_PROC_PVT, status:VALID,
-
VIEW: APPS.JTF_AMV_ITEMS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_AMV_ITEMS_VL, object_name:JTF_AMV_ITEMS_VL, status:VALID,
-
VIEW: APPS.JTF_AMV_ITEMS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_AMV_ITEMS_VL, object_name:JTF_AMV_ITEMS_VL, status:VALID,
-
APPS.IEM_EMAIL_PROC_PVT dependencies on IEM_RULES_ENGINE_PUB
12.1.1
-
APPS.IEM_RULES_ENGINE_PUB dependencies on IEM_RULES_ENGINE_PUB
12.1.1
-
APPS.IEM_EMAIL_PROC_PVT dependencies on IEM_RULES_ENGINE_PUB
12.2.2
-
APPS.IEM_RULES_ENGINE_PUB dependencies on IEM_RULES_ENGINE_PUB
12.2.2
-
PACKAGE BODY: APPS.IEM_RULES_ENGINE_PUB
12.2.2
-
PACKAGE BODY: APPS.IEM_RULES_ENGINE_PUB
12.1.1
-
APPS.IEM_RULES_ENGINE_PUB dependencies on IEM_ROUTE_RULES
12.1.1
-
APPS.IEM_RULES_ENGINE_PUB dependencies on IEM_ROUTE_RULES
12.2.2
-
PACKAGE: APPS.FND_LOG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,
-
PACKAGE: APPS.FND_LOG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,