Determine the owning policy system¶
Determines whether WCIS or SAIFQuote owns submission of a policy via the Oracle package function pk73102_policy.does_wcis_own_submission.
| Field | Value |
|---|---|
| Operation ID | op-11-policy-ownership-system |
| Trigger | Caller invokes GetPolicyOwnershipSystem |
| Inputs | IDataPortalInfo, policy number |
| Outputs | Enums.PolicyOwnershipSystems |
| Primary components | PolicyInformation.GetPolicyOwnershipSystem |
| Entry point | SAIF.Business.Policy/PolicyInformation.vb |
Steps¶
- Scalar text request executing the Oracle package function
pk73102_policy.does_wcis_own_submission(:in_policy_num)viaSELECT … FROM DUAL(SQL-005). - Bind
in_policy_num. ToBooleanon the result:True→PolicyOwnershipSystems.WCIS, otherwise →PolicyOwnershipSystems.SAIFQuote(BR-POL-005).
Process flow¶
The following diagram visualizes this operation's control flow.
flowchart TD
Start(["Caller invokes<br>GetPolicyOwnershipSystem"]) --> Request["Scalar text request executing<br>pk73102_policy.does_wcis_own_submission<br>via SELECT … FROM DUAL"]
Request --> Bind["Bind in_policy_num"]
Bind --> Check{"ToBoolean(Result)<br>True?"}
Check -->|"True"| WCIS(["Return<br>PolicyOwnershipSystems.WCIS"])
Check -->|"False"| SAIFQuote(["Return<br>PolicyOwnershipSystems.SAIFQuote"])
Failure and edge-case behavior¶
- Ownership determination is implemented in Oracle package
pk73102_policy; body not retrieved for 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.
Related documentation¶
Sources¶
SAIF.Business.Policy/PolicyInformation.vbSAIF.Business.Policy/Enums.vb