﻿---
title: clsSalesPlanCollection
summary: API reference for clsSalesPlanCollection.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Premium
reference_type: package
---

# clsSalesPlanCollection

BOF collection of `clsSalesPlan` instances for a policy; enables enumeration and selection of sales plan records for billing and underwriting workflows.*

## Purpose
- Provides enumerable access to all sales plan records for a policy.*
- Consumed by billing and underwriting workflows that need to enumerate or select a policy's sales plans.*

## Context
- Namespace: `SAIF.Business.Policy.Premium.Billing`
- Assembly/package: `SAIF.Business.Policy.Premium`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| CurrentItem | `Public Shadows ReadOnly Property CurrentItem() As clsSalesPlan` | Business value exposed as current item for callers of this API.* |
| Save | `Public Overrides Function Save() As Boolean` | Persists this instance and all child objects to Oracle through the BOF data portal; returns True on success. |
| Add | `Public Shadows Function Add(ByVal inclssalesplan As clsSalesPlan) As Integer` | Adds the supplied cls sales plan to the collection. |
| Contains | `Public Overloads Function Contains(ByVal inclssalesplan As clsSalesPlan) As Boolean` | Checks whether the collection already contains the specified item or identifier. |
| Contains | `Public Overloads Function Contains(ByVal inCode As String) As Boolean` | Checks whether the collection already contains the specified item or identifier. |
| ContainsDeleted | `Public Overloads Function ContainsDeleted(ByVal inclssalesplan As clsSalesPlan) As Boolean` | Checks whether the collection's deleted-items list already contains the specified item or identifier. |
| ContainsDeleted | `Public Overloads Function ContainsDeleted(ByVal inCode As String) As Boolean` | Checks whether the collection's deleted-items list already contains the specified item or identifier. |
| Remove | `Public Sub Remove(ByVal inclssalesplan As clsSalesPlan)` | Removes the matching cls sales plan from the collection. |
| Remove | `Public Sub Remove(ByVal inCode As String)` | Removes the matching cls sales plan from the collection. |
| Where | `Public Function Where(ByVal match As Predicate(Of clsSalesPlan)) As clsSalesPlanCollection` | Returns a typed subset containing only items that satisfy the supplied predicate. |
| GetSalesPlans | `Public Shared Function GetSalesPlans(ByVal inDataportal As IDataPortalInfo) As clsSalesPlanCollection` | Loads cls sales plan collection for the supplied lookup criteria. |
## Inherited public members

| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| First | `Sub First()` | Moves traversal to the first item in the BOF collection.† | `SAIF.Framework.Core — clsBusinessCollectionBase` |
| Last | `Sub Last()` | Moves traversal to the last item in the BOF collection.† | `SAIF.Framework.Core — clsBusinessCollectionBase` |
| Next | `Sub Next()` | Advances traversal to the next item.† | `SAIF.Framework.Core — clsBusinessCollectionBase` |
| Previous | `Sub Previous()` | Moves traversal to the previous item.† | `SAIF.Framework.Core — clsBusinessCollectionBase` |

## Behavioral notes
- Source file: `Business\SAIF.Business.Policy.Premium\Billing\clsSalesPlanCollection.vb`.

## Constraints and usage notes
- Scoped to a single policy.*


> **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\Billing\clsSalesPlanCollection.vb`