---
title: clsAuditConditionHistory
summary: API reference for clsAuditConditionHistory.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.UnitStat
reference_type: package
---

# clsAuditConditionHistory

Historical audit-condition row keyed by policy unit, claim, and description.

## Purpose

- Preserve the historical existence of an audit condition and refresh its last-update timestamp.

## Context

- Namespace: `SAIF.Business.UnitStat`
- Assembly/package: `SAIF.Business.UnitStat` (distributed as NuGet package `SAIF.BOF.Business.UnitStat`)

## Public members

| Member | Signature | Purpose |
| --- | --- | --- |
| `PolicyUnitSeqNum` | `Public Property PolicyUnitSeqNum() As Decimal` | Gets or sets policy unit seq num. |
| `AuditConditionDescription` | `Public Property AuditConditionDescription() As String` | Gets or sets audit condition description. |
| `ClaimID` | `Public Property ClaimID() As Decimal` | Gets or sets claim id. |
| `CreateDate` | `Public Property CreateDate() As Date` | Gets or sets create date. |
| `LastUpdateDate` | `Public Property LastUpdateDate() As Date` | Gets or sets last update date. |
| `EditTypeCode` | `Public Property EditTypeCode() As String` | Gets or sets edit type code. |
| `ErrorFlag` | `Public Property ErrorFlag() As String` | Gets or sets error flag. |
| `IsClaimIDNull` | `Public Function IsClaimIDNull() As Boolean` | Indicates whether claim id currently holds the framework null sentinel value. |
| `Equals` | `Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean` | Executes the member operation. |
| `Equals` | `Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean` | Executes the member operation. |
| `Equals` | `Public Overloads Function Equals(ByVal inObject As clsAuditConditionHistory) As Boolean` | Executes the member operation. |
| `GetHashCode` | `Public Overrides Function GetHashCode() As Integer` | Retrieves hash code. |
| `ToString` | `Public Overrides Function ToString() As String` | Executes the member operation. |
| `NewAuditConditionHistory` | `Public Shared Function NewAuditConditionHistory(ByVal inDataportal As IDataPortalInfo) As clsAuditConditionHistory` | Creates a new audit condition history instance. |
| `GetAuditConditionHistory` | `Public Shared Function GetAuditConditionHistory(ByVal inDataportal As IDataPortalInfo, ByVal inPolicyUnitSeqNum As Decimal, ByVal inClaimId As Decimal, ByVal inAuditMesage As String) As clsAuditConditionHistory` | Retrieves audit condition history. |
| `PolicyUnitSeqNum` | `Public Property PolicyUnitSeqNum() As Decimal` | Gets or sets policy unit seq num. |
| `ClaimId` | `Public Property ClaimId() As Decimal` | Gets or sets claim id. |
| `AuditConditionMessage` | `Public Property AuditConditionMessage() As String` | Gets or sets audit condition message. |
| `New` | `Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo)` | Creates a new  instance. |
| `New` | `Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inPolicyUnitSeqNum As Decimal, ByVal inClaimId As Decimal, ByVal inAuditMessage As String)` | Creates a new  instance. |

## Inherited public members

Members in this section are inherited from `clsBusinessBase` in `SAIF.BOF.Framework`. They are available on this type through inheritance.

| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| `MyGuid` | `ReadOnly Property MyGuid() As String` | Gets the framework GUID assigned to the object. | `SAIF.BOF.Framework — clsBusinessBase` |
| `IsNew` | `ReadOnly Property IsNew() As Boolean` | Indicates whether the object has not yet been persisted. | `SAIF.BOF.Framework — clsBusinessBase` |
| `IsDeleted` | `ReadOnly Property IsDeleted() As Boolean` | Indicates whether the object is marked for deletion. | `SAIF.BOF.Framework — clsBusinessBase` |
| `IsSavable` | `ReadOnly Property IsSavable() As Boolean` | Indicates whether the object is both dirty and valid. | `SAIF.BOF.Framework — clsBusinessBase` |
| `BeginEdit` | `Sub BeginEdit()` | Begins an editable-object snapshot. | `SAIF.BOF.Framework — clsBusinessBase` |
| `CancelEdit` | `Sub CancelEdit()` | Restores the prior editable-object snapshot and reapplies rules. | `SAIF.BOF.Framework — clsBusinessBase` |
| `ApplyEdit` | `Sub ApplyEdit()` | Commits the current editable-object snapshot. | `SAIF.BOF.Framework — clsBusinessBase` |
| `Delete` | `Sub Delete()` | Marks the object for deletion. | `SAIF.BOF.Framework — clsBusinessBase` |
| `Clone` | `Function Clone() As Object` | Creates a clone of the object. | `SAIF.BOF.Framework — clsBusinessBase` |
| `Rules` | `ReadOnly Property Rules() As clsRulesManager` | Gets the rules manager attached to the object. | `SAIF.BOF.Framework — clsBusinessBase` |
| `ErrorCount` | `ReadOnly Property ErrorCount() As Integer` | Gets the current validation error count. | `SAIF.BOF.Framework — clsBusinessBase` |
| `ErrorMessages` | `ReadOnly Property ErrorMessages() As String()` | Gets the current validation error messages. | `SAIF.BOF.Framework — clsBusinessBase` |
| `WarningCount` | `ReadOnly Property WarningCount() As Integer` | Gets the current validation warning count. | `SAIF.BOF.Framework — clsBusinessBase` |
| `WarningMessages` | `ReadOnly Property WarningMessages() As String()` | Gets the current validation warning messages. | `SAIF.BOF.Framework — clsBusinessBase` |
| `InformationalCount` | `ReadOnly Property InformationalCount() As Integer` | Gets the current informational rule count. | `SAIF.BOF.Framework — clsBusinessBase` |
| `InformationalMessages` | `ReadOnly Property InformationalMessages() As String()` | Gets the current informational rule messages. | `SAIF.BOF.Framework — clsBusinessBase` |
| `XMLElementName` | `Property XMLElementName() As String` | Gets or sets the XML element name used by framework serialization. | `SAIF.BOF.Framework — clsBusinessBase` |
| `GetReportXML` | `Function GetReportXML() As String` | Returns framework report XML for the object. | `SAIF.BOF.Framework — clsBusinessBase` |
| `ToXml` | `Function ToXml() As String` | Serializes the object to XML. | `SAIF.BOF.Framework — clsBusinessBase` |

## Behavioral notes

- [BR-US-005](../../business-rules.md#br-us-005-audit-condition-history-description-must-have-non-zero-length) requires a non-empty history description before save.

## Constraints and usage notes

- The history key combines policy unit, claim, and audit-condition description.

## Sources

- `Business\SAIF.Business.UnitStat\clsAuditConditionHistory.vb`
- `Legacy\BusinessObjectFramework\clsBusinessBase.vb`
