Skip to content

SQL-VP-010 Retrieve waiver count for a policy

Lazily loaded when clsPolicyData.RetrieveHasWaiver runs, returning a waiver count from the third-party package used to derive the HasWaiver flag.

Classification

Field Value
SQL ID SQL-VP-010
Operation type Read
Execution method Stored procedure (scalar function via ReturnValue)
Database Oracle
Schema [unqualified]**
Command type StoredProcedure
Business object clsPolicyData
Criteria property RetrieveHasWaiver (lazy, ad hoc)
Lifecycle method ad hoc method

Parameters

Parameter Direction Type Max length Description
PolicyNum Input Decimal N/A Policy number to check waiver count for.
WaiverCount ReturnValue Integer N/A Numeric count of waivers found for the policy.

Tables

Table Access Columns used
(not directly visible — encapsulated in procedure body) SELECT N/A

Sample SQL

BEGIN
  :WaiverCount := Pk82033_ThirdParty.get_policy_waiver_count(
    PolicyNum => :PolicyNum
  );
END;

Call signature reconstructed from DataRequest.SQLStatement/AddParm calls; the procedure body resides in the Oracle database and was not retrieved this run.

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

  • SAIF.Business.View.Policy\clsPolicyData.vb