Skip to content

SQL-010 Retrieve duration code list (hearing location screen)

Retrieves the full DURATION_CODE list, ordered by description, for the DURATIONCODESQL code-table lookup used by the hearing-location maintenance UI. The SQL text is identical to SQL-006 but is defined independently as a separate Private Const in clsHearingLocationManager.vb rather than shared/reused from clsAttorneyTableManager.vb.

Classification

Field Value
SQL ID SQL-010
Operation type Read
Execution method Inline SQL (clsCodeCollection.GetCodeCollection)
Database Oracle
Command type Text
Business object N/A (Application layer)
Criteria property N/A (Application layer)
Lifecycle method N/A (Application layer)
Application class clsHearingLocationManager

Parameters

No runtime parameters — this is a static code-table lookup constant (DURATIONCODESQL), executed as-is via clsCodeCollection.GetCodeCollection(DPI, DURATIONCODESQL).

Tables

Table Access Columns used
DURATION_CODE SELECT CODE, CODE_DESCR

Sample SQL

SELECT code, code_descr
FROM DURATION_CODE
ORDER BY code_descr

Business rules

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • SAIF.Application.Claim.Legal\clsHearingLocationManager.vb