# Support Category

## Fields & Relationships &#x20;

The table below provides a comprehensive overview of all fields and relationships for the **Support Category** object in **Maica**. Please refer to the table below for detailed information.

{% embed url="<https://docs.google.com/spreadsheets/d/1VLMjyqUc_ehT5pFzqXuooMWb-0a5Btrb9Hj7fLHFkK0/edit?usp=sharing>" %}
Support Category Schema
{% endembed %}

{% hint style="success" %}
Click [here](https://docs.google.com/spreadsheets/d/1VLMjyqUc_ehT5pFzqXuooMWb-0a5Btrb9Hj7fLHFkK0/edit?usp=sharing) to view and download the complete Support Category Schema.
{% endhint %}

## Validation Rules

The list below outlines the **Validation Rules** applied to the **Shift Object** in **Maica**.&#x20;

Please refer to the list below for more detailed information on each **Validation Rule.**

### Category Number and Support Purpose Required When Category Source is NDIS

Ensures that a Category Number and Support Purpose is provided when the Category Source is NDIS.

| Validation Rule Detail |                                                                                                                  |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------- |
| Rule Name              | VAL\_SUPPORT\_CATEGORY\_0001                                                                                     |
| Error Message          | VAL\_0001: Please ensure that Category Number and Support Purpose are provided when the Category Source is NDIS. |
| Error Location         | `Top of Page`                                                                                                    |

{% code title="Error Condition Formula" %}

```apex
AND(
  ISPICKVAL(maica_cc__Funding_Source__c, "NDIS"),
  OR(
    ISPICKVAL(maica_cc__Support_Purpose__c, ""),
    ISBLANK(maica_cc__Category_Number__c)
  )
)
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledge.maica.com.au/maica-knowledge-base/maica-administration-guide/data/data-objects/support-category.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
