Change the claim on a task¶
Resolves a claim number to claim data and re-keys the task's context, then re-validates.
| Field | Value |
|---|---|
| Operation ID | OP-8 |
| Trigger | Caller assigns a claim number |
| Inputs | New claim number |
| Outputs | Re-resolved claim data, re-keyed task context |
| Primary components | clsClaimTask.ClaimNum setter |
| Entry point | SAIF.Business.Tasks.Claim/clsClaimTask.vb |
Steps¶
- If no claim data is loaded or the number differs, call
clsClaimData.GetData(dpi, value). - Copy
m_ClaimData.ClaimIDtoClaimID, setTaskContext.Key.Value = value. - Call
CheckRules("ClaimNum")→ evaluates BR-CT-01.
Process flow¶
flowchart TD
Start([ClaimNum assigned]) --> Check{"Claim data missing or number<br>differs?"}
Check -->|Yes| Load[clsClaimData.GetData]
Check -->|No| Copy
Load --> Copy["Copy ClaimID, set<br>TaskContext key"]
Copy --> Rules[CheckRules ClaimNum]
Rules --> EndOk([Claim re-keyed])
Failure and edge-case behavior¶
- An unresolvable claim number fails BR-CT-01 at validation time.
Related documentation¶
Sources¶
- SAIF.Business.Tasks.Claim/clsClaimTask.vb