Retrieve class coverages for a premium set¶
Premium detail display, recalculation, or reporting
| Field | Value |
|---|---|
| Operation ID | OP-002 |
| Trigger | Premium detail display, recalculation, or reporting |
| Inputs | Premium set identifier; optionally an affiliate identifier |
| Outputs | clsClassCoverageCollection populated with clsClassCoverage items |
| Primary components | clsClassCoverageCollection.GetClassCoverages (two overloads) |
| Entry point | Business\SAIF.Business.Policy.Premium\clsClassCoverageCollection.vb |
Steps¶
- The caller selects a retrieval mode via
clsClassCoverageCollection.RetrieveType(ByPremiumSetorByPremiumSetAndAffiliate). - The collection
Criteria.RetrieveSQLis chosen accordingly. (SQL:PREM_HIST_CLASS_COVERAGE, optionally@POLDB-suffixed.) BeforeRetrieveobtains a portal request (clsClassCoverage.vb:397), applies the SQL and parameters.ProcessPortalRequestexecutes;AfterRetrieveloops the reader and constructs oneclsClassCoverageper row, callingFill()/MarkOld()on each.- Validation rules BR-001 through BR-007 are registered on each item during construction and will fire when
IsValidis evaluated. - Branch: an empty result yields an empty collection rather than an error.*
Process flow¶
The following diagram visualizes this operation's control flow.
flowchart TD
Start([Trigger]) --> S1[Step 1]
S1 --> S2[Step 2]
S2 --> EndOk([Outputs returned])
Failure and edge-case behavior¶
- See the linked rules and SQL references above for validation failures, null-handling, and persistence contention behavior.
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¶
Business\SAIF.Business.Policy.Premium\clsClassCoverageCollection.vbBusiness\SAIF.Business.Policy.Premium\clsClassCoverage.vb