> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OBLIGOR_OVERRIDES

The OBLIGOR\_OVERRIDES table contains the Override definitions for the Obligor table.

| Column Name          | Type   | Not Null |
| -------------------- | ------ | -------- |
| OBLIGOR\_ID          | STRING | Y        |
| RISK\_CLASS          | STRING | Y        |
| PARAMETER\_SET       | STRING | Y        |
| OBLIGOR\_CATEGORY    | STRING |          |
| RATING               | STRING |          |
| RISK\_WEIGHT         | DOUBLE |          |
| DRC\_FUND\_TREATMENT | STRING |          |
| AS\_OF\_DATE         | DATE   | Y        |

## Unique Key

| Override Parameter      | **Obligor** Table Field |
| ----------------------- | ----------------------- |
| **OVERRIDE KEY FIELD**  | **OBLIGOR\_ID**         |
| **OVERRIDE DATE FIELD** | **AS\_OF\_DATE**        |

Where:

* **Override Parameter**: The parameters to determine where to apply this override.
* **Obligor Table Field**: The field in the [Obligor](./obligor) base table for this override.

### Create Base Store Tuples

See the [Create Override Tuples](../dev/dev-direct-query/customization-and-internals/overrides-with-directquery#create-the-override-tuples) section for
an example of how to create the override tuples for the following override fields. These are the fields we want to override in the base override table, in
this case the [Obligor](./obligor) Table.

| Override Table       |
| -------------------- |
| PARAMETER\_SET       |
| OBLIGOR\_CATEGORY    |
| RATING               |
| RISK\_WEIGHT         |
| DRC\_FUND\_TREATMENT |

These fields form an intermediate table containing the Override's base store fields and will be merged back into the Override base table: [Obligor](./obligor).

#### Map Override Fields to Base Table Fields

Once you create your tuples for each override field, you can then map the tuples back to the base store using the following relationship:

| Override Table       | Obligor Table Field  | Note              |
| -------------------- | -------------------- | ----------------- |
| OVERRIDE KEY FIELD   | OBLIGOR\_ID          |                   |
| OVERRIDE DATE FIELD  | AS\_OF\_DATE         |                   |
| PARAMETER\_SET       |                      | No mapping exists |
| OBLIGOR\_CATEGORY    | OBLIGOR\_CATEGORY    |                   |
| RATING               | RATING               |                   |
| RISK\_WEIGHT         | RISK\_WEIGHT         |                   |
| DRC\_FUND\_TREATMENT | DRC\_FUND\_TREATMENT |                   |
|                      | RISK\_CLASS          | No mapping exists |
