Retrieve payroll classification detail¶
Loads a collection of clsPayrollClassInfo rows used by the Legal front end to display
business-classification and payroll context for a policy period, selecting the correct era-specific
query based on which identifier is supplied.
| Field | Value |
|---|---|
| Operation ID | OP-VP-004 |
| Trigger | Caller supplies a ClassCoverageSetID (PMS-era) or a PremiumSetID + date range (WCIS-era) via the Criteria |
| Inputs | ClassCoverageSetID, or PremiumSetID + PeriodStartDate/PeriodEndDate |
| Outputs | Collection of clsPayrollClassInfo |
| Primary components | clsPayrollClassInfoCollection, clsPayrollClassInfo.RETRIEVE_PMS_SQL, clsPayrollClassInfo.RETRIEVE_WCIS_SQL |
| Entry point | SAIF.Business.View.Policy\clsPayrollClassInfoCollection.vb |
Steps¶
- Caller supplies either a
ClassCoverageSetID(PMS-era) or aPremiumSetID+ date range (WCIS-era) via theCriteria. Criteria.RetrieveSQLbranches:- If
ClassCoverageSetIDis supplied: returnsclsPayrollClassInfo.RETRIEVE_PMS_SQL(SQL-VP-030) — an inline OracleSELECTagainst PPNW_CLASS_COVERAGE_DETAIL, MANUAL_CLASS_DESCRIPTION, and POLICY_PERIOD_NON_WCIS. - Otherwise: returns
clsPayrollClassInfo.RETRIEVE_WCIS_SQL(SQL-VP-031) — an inline OracleSELECT(UNIONof a "with federal minimum wage" branch and a fallback branch) against PREM_HIST_CLASS_COVERAGE, MANUAL_CLASS_DESCRIPTION, PREM_HIST_ADJ_RATE_CLASS, POLICY_PERIOD, LOCATION, and FEDERAL_MINIMUM_WAGE. AfterRetrieveiterates theclsResultSetand creates oneclsPayrollClassInfoper row viaLoad/Fill.- Outcome: a collection of payroll/classification lines used by the Legal front end to display business-classification and payroll context for a policy period.
Process flow¶
flowchart TD
Start([Criteria supplied]) --> Branch{ClassCoverageSetID supplied?}
Branch -->|Yes| PMS[Execute SQL-VP-030 PMS-era query]
Branch -->|No| WCIS[Execute SQL-VP-031 WCIS-era query]
PMS --> Fill[AfterRetrieve creates clsPayrollClassInfo per row]
WCIS --> Fill
Fill --> EndOk([Collection of clsPayrollClassInfo returned])
Failure and edge-case behavior¶
- No documented explicit error handling beyond the standard collection-retrieve lifecycle was found for this operation in the analyzed source.*
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.Business.View.Policy\clsPayrollClassInfo.vbSAIF.Business.View.Policy\clsPayrollClassInfoCollection.vb