Skip to content

Capture and approve case costs

This workflow validates and persists case cost entries, using a shared provider-search popup for provider lookups, and recalculates totals after each change.

Field Value
Operation ID OP-APP-006
Trigger User saves, deletes, or edits a row on frmCaseCost
Libraries involved SAIF.Presentation.Web.Controls.PopUps.Infragistics111, SAIF.Application.Claim.Legal, SAIF.Business.Claim.Legal
Screens frmCaseCost
Inputs Case cost row edits, provider selection
Outputs Persisted clsCaseCost / clsCaseCostCollection records; recalculated case-cost history and totals

Steps

  1. SAIF.Presentation.Web.Controls.PopUps.Infragistics111 supports provider-search popup behavior used by the case-cost screen (doSelectProvPopup()).
  2. clsCaseCostManager handles frmCaseCost, validates provider input, and manages row-level dirty-state checks — owned by SAIF.Application.Claim.Legal.
  3. SAIF.Business.Claim.Legal persists clsCaseCost and clsCaseCostCollection records (CASE_COST).
  4. SAIF.Application.Claim.Legal reloads the case-cost history grid and recalculates totals after save or delete.

Process flow

The following diagram visualizes this workflow across components.

flowchart TD
    Start([User edits case cost row on frmCaseCost]) --> S1[Provider popup selects provider]
    S1 --> S2[clsCaseCostManager validates provider input and row dirty state]
    S2 --> S3[SAIF.Business.Claim.Legal persists case cost record]
    S3 --> S4[Case-cost history grid reloaded and totals recalculated]
    S4 --> EndOk([Case cost saved])

Failure and edge-case behavior

  • Invalid provider selection: row-level validation blocks the save until a valid provider is selected.*

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • SAIF.Application.Claim.Legal/LegalNet/clsCaseCostManager.vb
  • SAIF.Presentation.Web.Controls.PopUps.Infragistics111/AddressPopUp.vb