SQL-002 Retrieve claims adjuster code list¶
Retrieves active ADP_EMPLOYEE records whose job description identifies them as a claims adjuster, for the ADJUSTERLISTSQL code-table lookup used by the attorney-assignment maintenance UI.
Classification¶
| Field | Value |
|---|---|
| SQL ID | SQL-002 |
| 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 | clsAttorneyTableManager |
Parameters¶
No runtime parameters — this is a static code-table lookup constant (ADJUSTERLISTSQL), executed as-is via clsCodeCollection.GetCodeCollection(DPI, ADJUSTERLISTSQL).
Tables¶
| Table | Access | Columns used |
|---|---|---|
| ADP_EMPLOYEE | SELECT | EMPLID, LAST_NAME, FIRST_NAME, PREFERRED_NAME, EMPL_STATUS, DESCR |
Sample SQL¶
SELECT
EMPLID As code,
LAST_NAME || ', ' || decode(nvl(preferred_name, ' '), ' ', FIRST_NAME, preferred_name) AS code_descr
FROM ADP_EMPLOYEE
WHERE (EMPL_STATUS = 'A')
AND (DESCR = 'Claims Adjuster' or DESCR = 'Senior Technical Adjuster' or DESCR = 'Senior Lead Adjuster')
Sources¶
SAIF.Application.Claim.Legal\clsAttorneyTableManager.vb