Skip to content

SQL-004 Select all task action codes

Retrieves the complete TASK_ACTION_CODE reference list, ordered by description, for populating a full action-code lookup collection.

Classification

Field Value
SQL ID SQL-004
Operation type Read
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsTaskActionCodeCollection
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Tables

Table Access Columns used
TASK_ACTION_CODE SELECT CODE, CODE_DESCR

Sample SQL

SELECT
  TASK_ACTION_CODE.CODE AS Code,
  TASK_ACTION_CODE.CODE_DESCR AS CodeDescr
FROM
  TASK_ACTION_CODE
ORDER BY
  CODE_DESCR

Operations and processes

Business rules

Sources

  • SAIF.Business.Tasks/clsTaskActionCodeCollection.vb