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¶
- SAIF.Presentation.Web.Controls.PopUps.Infragistics111 supports provider-search popup behavior used by the case-cost screen (
doSelectProvPopup()). clsCaseCostManagerhandles frmCaseCost, validates provider input, and manages row-level dirty-state checks — owned by SAIF.Application.Claim.Legal.- SAIF.Business.Claim.Legal persists
clsCaseCostandclsCaseCostCollectionrecords (CASE_COST). SAIF.Application.Claim.Legalreloads 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.*
Related documentation¶
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.vbSAIF.Presentation.Web.Controls.PopUps.Infragistics111/AddressPopUp.vb