Skip to content

LegalManagerBase.insertLetterRequest

Queue a letter.

Field Value
Operation ID OP-003
Trigger queue a letter
Inputs Current manager state, current claim/case context, and any workflow-specific parameters or collections.
Outputs Updated collections, messages, or side effects specific to the operation.
Primary components LegalManagerBase.insertLetterRequest
Entry point SAIF.Application.Claim.Legal\LegalManagerBase.vb

Steps

  1. Build a command against pk80001_LEGALNET.insertLetterRequest with CommandType.StoredProcedure (LegalManagerBase.vb, ~line 396).
  2. Bind letterTypeCode, aLegalCaseNum, holdDate, createUser, aClaimId, and requestNum (InputOutput).
  3. Execute; the returned requestNum is used by callers to associate the request.

  4. Primary rules: BR-020

Failure and edge-case behavior

  • Failures surface as manager messages or blocked workflow actions specific to the source operation.

Process flow

The following diagram visualizes this operation's control flow.

flowchart TD
  Start([Trigger]) --> S1[Load current state]
  S1 --> S2[Apply operation rules]
  S2 --> D{"Validation or security<br>issue?"}
  D -->|Yes| EndErr(["Return message or block<br>action"])
  D -->|No| EndOk(["Return updated workflow<br>state"])

Sources

  • SAIF.Application.Claim.Legal\LegalManagerBase.vb