---
title: Read Trading As Data
summary: SQL-036
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Audit.Premium
reference_type: package
---

# SQL-036: Read Trading As Data

This statement supports the premium-audit library by read Trading As Data.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-036 |
| **Operation type** | Read |
| **Execution method** | CommandType.Text / DataRequestType.DataResultSet |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsAuditPolicyCollection` |
| **Criteria property** | *n/a — application layer* |
| **Lifecycle method** | `clsAuditPolicyCollection.GetAssumedBusinessNames (application layer)` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNumber` | Input | bound from `Audit.PolicyNumber` | — | Bound in `clsAuditPolicyCollection.GetAssumedBusinessNames` (line 597) |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [`TRADING_AS`](../database-tables.md#trading_as) | SELECT | See sample SQL. |

## Sample SQL

```sql
SELECT
  ta.trading_as_name as ABN
FROM
  trading_as ta
WHERE
  ta.policy_num = :PolicyNumber
  AND ta.trading_as_cancel_date is null
  AND ta.trading_as_type_code = 'ABN'
  AND ta.trading_as_name is not null
```

## Operations and processes
- [Synchronize an audit with WCIS policy-period changes](../operations/synchronize-an-audit-with-wcis-policy-period-changes.md)

## Business rules
- [BR-017](../business-rules.md#br-017-combined-policies-stay-with-same-auditor)
- [BR-034](../business-rules.md#br-034-child-policy-processing-skips-cancelled-audits)



> **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/clsAuditPolicyCollection.vb:585-620, 790-800`
