Skip to content

Manage case cost entries

Create, validate, update, and delete billing/cost line items associated with a legal case.

Field Value
Operation ID OP-CLL-002
Trigger User adds or edits a cost line on a legal case
Inputs Business-object criteria properties set by the caller (see linked SQL parameter tables)
Outputs Persisted/retrieved clsCaseCost state
Primary components clsCaseCost, clsCaseCostCollection
Entry point SAIF.Business.Claim.Legal\LegalNet\clsCaseCost.vb

Steps

  1. Validate the request against applicable business rules: BR-CLM-LGL-001, BR-CLM-LGL-002, BR-CLM-LGL-003, BR-CLM-LGL-005
  2. On failure: validation errors are collected and returned to the caller; the operation does not proceed.
  3. Execute the underlying data access for clsCaseCost against: DB-CLL-001, DB-CLL-002, DB-CLL-003, DB-CLL-004, DB-CLL-006
  4. Tables affected: CASE_COST
  5. Return the resulting object graph (or success/failure status) to the caller.

Process flow

flowchart TD
    Start([User adds or edits a cost line on a legal case]) --> Validate[Validate business rules]
    Validate --> Decision{Valid?}
    Decision -->|No| EndErr([Return validation errors])
    Decision -->|Yes| Exec[Execute data access for clsCaseCost]
    Exec --> EndOk([Return result])

Failure and edge-case behavior

  • Validation failure: the operation returns collected errors without persisting any change.

Sources

  • SAIF.Business.Claim.Legal\ (clsCaseCost, clsCaseCostCollection)