SQL-005: Task category combination validation
Counts matching category rows to validate a source/category combination.
Classification
| Field |
Value |
| SQL ID |
SQL-005 |
| Operation type |
Read |
| Execution method |
Inline SQL |
| Database |
Oracle |
| Schema |
[unqualified]** |
| Command type |
Text |
| Business object |
clsTaskBusinessRules |
| Criteria property |
N/A |
| Lifecycle method |
ValidSourceCategory |
Parameters
| Parameter |
Direction |
Type |
Max length |
Description |
:Source |
Input |
String |
5 |
Source system code. |
:Category |
Input |
String |
5 |
Category code. |
Tables
Sample SQL
SELECT Count(*)
FROM Task_Category_Code
WHERE TASK_SOURCE_CODE = :Source
AND CODE = :Category
Operations and processes
Business rules
Note: Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources
Business\SAIF.Business.Tasks\clsTaskBusinessRules.vb