Skip to content

Create legal case file and assign document sequence

Stamp a file-create date on a legal case and pull the next print-document sequence number for generated correspondence.

Field Value
Operation ID OP-CLL-012
Trigger A new legal file is created for a case (typically as part of print/letter generation)
Inputs Business-object criteria properties set by the caller (see linked SQL parameter tables)
Outputs Persisted/retrieved clsCreateFile state
Primary components clsCreateFile
Entry point SAIF.Business.Claim.Legal\LegalNet\clsCreateFile.vb

Steps

  1. Execute the underlying data access for clsCreateFile against: DB-CLL-052, DB-CLL-053
  2. Tables affected: LEGAL_CASE
  3. Return the resulting object graph (or success/failure status) to the caller.

Process flow

flowchart TD
    Start([A new legal file is created for a case, typically during print/letter generation]) --> Validate[Validate business rules]
    Validate --> Decision{Valid?}
    Decision -->|No| EndErr([Return validation errors])
    Decision -->|Yes| Exec[Execute data access for clsCreateFile]
    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\ (clsCreateFile)