SQL-021: Wrap-up legal name retrieval¶
clsPolicyData uses this call to obtain the legal name that should be displayed for a wrap-up policy. The procedure walks the wrap-up relationship and rate-account chain and returns the last name it can resolve.
Classification¶
| Field | Value |
|---|---|
| SQL ID | SQL-021 |
| Operation type | Read |
| Execution method | Stored procedure |
| Database | Oracle |
| Schema | [unqualified]** |
| Command type | StoredProcedure |
| Business object | clsPolicyData |
| Criteria property | GetWrapupLegalNameSQL |
| Lifecycle method | GetWrapupLegalName |
Parameters¶
| Parameter | Direction | Type | Max length | Description |
|---|---|---|---|---|
:in_policy_num |
Input | Decimal | not specified | Policy number whose wrap-up legal name is requested. |
:v_wrapup_legal_name |
ReturnValue | String | 80 | Legal name resolved by cascading up the wrap-up and rate-account chain. |
Tables¶
No table is referenced directly in the .NET source. The tables read by the procedure body reside in the Oracle database and are described under pk72846_view_policy.
Sample SQL¶
-- Stored procedure call (procedure body resides in the Oracle database - WCIS_DBA.pk72846_view_policy)
CALL pk72846_view_policy.getwrapuplegalname(
in_policy_num => :in_policy_num)
-- returns v_wrapup_legal_name (return-value output parameter)
Operations and processes¶
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.View.Policy/clsPolicyData.vb