Manage legal case lifecycle¶
Create, update, and retrieve the legal-case header record and drive its status through the case lifecycle.
| Field | Value |
|---|---|
| Operation ID | OP-CLL-001 |
| Trigger | Presentation caller creates, edits, or saves a legal case |
| Inputs | Business-object criteria properties set by the caller (see linked SQL parameter tables) |
| Outputs | Persisted/retrieved clsLegalCase state |
| Primary components | clsLegalCase, clsLegalCaseCollection |
| Entry point | SAIF.Business.Claim.Legal\LegalNet\clsLegalCase.vb, clsLegalCaseCollection.vb |
Steps¶
- Validate the request against applicable business rules: BR-CLM-LGL-005
- On failure: validation errors are collected and returned to the caller; the operation does not proceed.
- Execute the underlying data access for
clsLegalCaseagainst: DB-CLL-046, DB-CLL-047, DB-CLL-048, DB-CLL-049, DB-CLL-050, DB-CLL-051, DB-CLL-057 - Tables affected: LEGAL_CASE, CASE_STATUS_HISTORY
- Return the resulting object graph (or success/failure status) to the caller.
Process flow¶
flowchart TD
Start([Presentation caller creates, edits, or saves a legal case]) --> Validate[Validate business rules]
Validate --> Decision{Valid?}
Decision -->|No| EndErr([Return validation errors])
Decision -->|Yes| Exec[Execute data access for clsLegalCase]
Exec --> EndOk([Return result])
Failure and edge-case behavior¶
- Validation failure: the operation returns collected errors without persisting any change.
Related documentation¶
Sources¶
SAIF.Business.Claim.Legal\(clsLegalCase, clsLegalCaseCollection)