Synchronize an audit with WCIS policy-period changes¶
Premium-audit workflow detail.
| Field | Value |
|---|---|
| Operation ID | OP-008 |
| Trigger | WCIS synchronization batch inspects an existing audit |
| Inputs | Audit and synchronization task accumulator |
| Outputs | Mutated audit plus follow-up tasks for staff |
| Primary components | clsAuditSynchronization.SynchronizeAudit |
| Entry point | Business\SAIF.Business.Policy.Audit.Premium\clsAuditSynchronization.vb |
Steps¶
- Load the auditable periods for the policy and find the period that covers the audit start date.
- Cancel the audit immediately when no qualifying auditable period or no remaining coverage exists.
- Evaluate shortened, lengthened, reinstated-with-gap, and child-policy scenarios in priority order, stopping after the first matching change.
- Queue staff tasks whenever synchronization preserves a completed audit while coverage still changed.
- Traceability summary. Primary rules: BR-017, BR-020, BR-021, BR-024, BR-026, BR-027, BR-028, BR-029, BR-032, BR-034, BR-035, BR-036, BR-037, BR-057. SQL and Oracle calls: SQL-001, SQL-004, SQL-010, SQL-011, SQL-018, SQL-019, SQL-020, SQL-021, SQL-022, SQL-023, SQL-024, SQL-025, SQL-035, SQL-036, SQL-037, SQL-038, SQL-039, SQL-040, SQL-041, SQL-042, SQL-043, SQL-076, SQL-081, SQL-082, SQL-088, SQL-091.
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.
Related documentation¶
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\clsAuditSynchronization.vb