---
title: Determine the NCCI statistical class number
summary: Determine NCCI stat class.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Premium
reference_type: package
operation_id: OP-009
trigger: Statistical reporting requires the NCCI stat class for an adjustment
---

# Determine the NCCI statistical class number

Statistical reporting requires the NCCI stat class for an adjustment

| Field | Value |
| --- | --- |
| **Operation ID** | OP-009 |
| **Trigger** | Statistical reporting requires the NCCI stat class for an adjustment |
| **Inputs** | Seven input parameters |
| **Outputs** | out_stat_class (4 chars, ParameterDirection.ReturnValue) |
| **Primary components** | `clsPremiumSummaryAdjustment.GetStatClassNumber (clsPremiumSummaryAdjustment.vb:549-580)` |
| **Entry point** | `Business\SAIF.Business.Policy.Premium\clsPremiumSummaryAdjustment.vb` |

## Steps
1. Build a `CommandType.StoredProcedure` command for `sp72151_determine_ncci_stat`.
2. Add the seven inputs and the return-value output parameter.
3. Execute through the data portal.
4. Return an empty string when the output is `DBNull` ([BR-022](../business-rules.md#br-022-null-statistical-class-becomes-an-empty-string)).

## Process flow
The following diagram visualizes this operation's control flow.

```mermaid
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
- [Operations and processes](../operations-processes.md)
- [Business rules](../business-rules.md)
- [SQL catalog](../sql/index.md)
- [Database tables](../database-tables.md)

## Sources
- `Business\SAIF.Business.Policy.Premium\clsPremiumSummaryAdjustment.vb`
