EIS Report Conditions

Description

Categories
EIS
EIS eXpress report conditions: one row per condition detail (eis_rs_report_cond_details). A Simple or Advanced condition has one detail per term, a Free Text condition one detail holding its SQL fragment, shown without the leading and.

Condition Text renders the term as EIS adds it to the report SQL: item (view column with its alias, report column expression, expression text or :Parameter Name), operator and value. At run time EIS replaces :Parameter Name by the value as a literal, skips a condition whose parameter is empty and appends % to a like parameter value. Condition Text is blank for an incomplete detail without item or value.

Advanced Template combines the details of an Advanced condition: N#$# is the detail with Detail Seq N. In a condition with several details, EIS replaces a detail whose parameter is empty by 1=1. Condition Name is the name EIS stored when the condition was created and can still show the alias of a view or report it was copied from.

Hardcoded flags conditions that reference no parameter in any detail, so they apply to every run.

Executed within Days keeps the reports run from eXpress or XL Connect in that window. EIS purges its run history; EIS Execution History shows the earliest retained run.

SQL 191 lines

Parameters 8

ParameterTypeList of values SQL
ApplicationLOV
era.application_name=:application
CategoryLOV
errc.category_name=:category
Report NameLOV
err.report_name=:report_name
SeededLOV Oracle
err.seeded_flag='Y'
Executed within DaysNumber
err.report_id in (select /*+ no_unnest */ erp.report_id from xxeis.eis_rs_processes erp where erp.submission_source in ('eXpress','XL Connect') and erp.start_time>=sysdate-:executed_within_days)
Condition TypeLOV
errch.condition_type=:condition_type
EnabledLOV Oracle
errch.enabled=:enabled
HardcodedLOV Oracle
x.hardcoded='Y'