﻿---
title: "clsLegacyIDBase"
summary: "API reference for clsLegacyIDBase."
status: draft
owner: Technical Writer
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.Bill
reference_type: package
---

# clsLegacyIDBase

Provides the shared legacy-ID allocation pattern for bill-domain business objects that inherit from it. Derived classes declare a `LegacyIDType`, and the base helper requests the next corresponding legacy sequence number.

## Purpose
- Requires derived bill objects to declare which legacy ID type they use.
- Retrieves the next legacy sequence number for that declared type.
- Tracks whether the object is using a legacy-generated identifier.

## Context
- Namespace: `SAIF.Business.Claim.Bill`
- Assembly/package: `SAIF.Business.Claim.Bill`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| None | `No public members declared.` | This type exposes no directly declared public members. |

## Inherited public members
Members in this section are inherited from `clsBusinessBase`.
| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| Rules | `Property Rules As clsRulesManager` | Exposes the BOF rules manager used to evaluate object validation rules.* | `saif-framework-core — clsBusinessBase` |
| BeginEdit | `Sub BeginEdit()` | Starts an edit session for n-level undo support.* | `saif-framework-core — clsBusinessBase` |
| CancelEdit | `Sub CancelEdit()` | Cancels the active edit session and reverts pending changes.* | `saif-framework-core — clsBusinessBase` |
| ApplyEdit | `Sub ApplyEdit()` | Commits the active edit session and accepts pending changes.* | `saif-framework-core — clsBusinessBase` |
## Behavioral notes
- `clsLegacyIDBase` is part of the documented `SAIF.Business.Claim.Bill` public contract.
- Public members are declared in `Business\SAIF.Business.Claim.Bill\Core\clsLegacyIDBase.vb`.

## Constraints and usage notes
- Consumers should use the documented public members directly when integrating this type.

> **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.Claim.Bill\Core\clsLegacyIDBase.vb`