Skip to content

SQL-045: Retrieve cancellation reason

Retrieve cancellation reason in the context of clsCancellationReason.

Classification

Field Value
SQL ID SQL-045
Operation type Read
Execution method IDataRequest.SQLStatement (CommandType.Text)
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsCancellationReason
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Parameters

Parameter Direction Type Max length Description
:Code Input bound from MyCriteria.Code 5 Bound in clsCancellationReason.BeforeRetrieve (line 549)

Tables

Table Access Columns used
CANCEL_REASON_CODE SELECT See sample SQL

Sample SQL

SELECT
  CANCEL_REASON_CODE.DUE_DAYS as DueDays,
  CANCEL_REASON_CODE.GRACE_DUE_DAYS as GraceDueDays,
  CANCEL_REASON_CODE.CANCEL_DAYS as CancelDays,
  CANCEL_REASON_CODE.CODE as Code,
  CANCEL_REASON_CODE.CODE_DESCR as CodeDescr,
  CANCEL_REASON_CODE.NCCI_CANCEL_CODE as NCCICancelCode,
  CANCEL_REASON_CODE.CERTHOLDER_NOTICE_FLAG as CertholderNoticeFlag,
  CANCEL_REASON_CODE.CANCEL_TYPE_CODE as CancelTypeCode,
  CANCEL_REASON_CODE.BATCH_REASON_FLAG as BatchReasonFlag,
  CANCEL_REASON_CODE.CH_NOTICE_TYPE_CODE as CHNoticeTypeCode,
  CANCEL_REASON_CODE.HOLD_PRINT_FLAG as HoldPrintFlag,
  CANCEL_REASON_CODE.PH_CANCEL_NOTICE_TYPE_CODE as PHCancelNoticeTypeCode,
  CANCEL_REASON_CODE.PH_INTENT_NOTICE_TYPE_CODE as PHIntentNoticeTypeCode,
  CANCEL_REASON_CODE.PMS_CANCEL_REASON_CODE as PMSCancelReasonCode,
  CANCEL_REASON_CODE.REQUEST_DETAIL_FLAG as RequestDetailFlag,
  CANCEL_REASON_CODE.USLHW_NOTICE_TYPE_CODE as USLHWNoticeTypeCode,
  CANCEL_REASON_CODE.NOTICE_DESC as NoticeDescription,
  CANCEL_REASON_CODE.CREDIT_REASON_FLAG as CreditReasonFlag,
  CANCEL_REASON_CODE.USLHW_INTENT_NOTICE_TYPE_CODE as USLHWIntentNoticeTypeCode,
  CANCEL_REASON_CODE.CANCELLATION_CATEGORY_CODE as CancellationCategoryCode,
  CANCEL_REASON_CODE.SHORT_RATE_DEFAULT_FLAG as ShortRateDefaultFlag,
  CANCEL_REASON_CODE.PRINT_CANCEL_NOTICE_FLAG as PrintCancelNoticeFlag,
  CANCEL_REASON_CODE.CANCEL_NOTICE_DESCR as CancelNoticeDescription,
  CANCEL_REASON_CODE.DELAY_DAYS as DelayDays,
  CANCEL_REASON_CODE.REINSTATE_REASON_CODE as ReinstateReasonCode,
  CANCEL_REASON_CODE.PH_REMINDER_TYPE_CODE as PHReminderTypeCode,
  CANCEL_REASON_CODE.ARP_DEPOSIT_DAYS as ARPDepositDays
FROM
  CANCEL_REASON_CODE
WHERE
  CANCEL_REASON_CODE.CODE = :Code

Operations and processes

Business rules

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.Core\clsCancellationReason.vb