Skip to content

Drop excess cyclical audits

Premium-audit workflow detail.

Field Value
Operation ID OP-004
Trigger Batch selection quota enforcement
Inputs End date and maximum cyclical count
Outputs Trimmed cyclical audit collection and dropped counter
Primary components clsAuditSelectionManager.DropCyclicals
Entry point Business\SAIF.Business.Policy.Audit.Premium\clsAuditSelectionManager.vb

Steps

  1. Retrieve cyclical audits for the requested end date.
  2. Order the collection by assignment sort key.
  3. Remove every audit beyond the configured cyclical quota.
  4. Traceability summary. Primary rules: —. SQL and Oracle calls: —.

Process flow

The following diagram visualizes this operation's control flow.

flowchart TD
 Start([Trigger]) --> S1[Load context]
 S1 --> S2[Run core logic]
 S2 --> EndOk([Outcome])

Failure and edge-case behavior

  • Review the linked rule and SQL documents for operation-specific validation failures and persistence behavior.
  • Remote-wrapper SQL and not-found Oracle references are documented in the linked SQL and procedure pages where applicable.

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.Audit.Premium\clsAuditSelectionManager.vb