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

# Enum SelectionUnionType

> How the selections in a combined selections should be put together

How the selections in a combined selections should be put together

## Syntax

```crmscript theme={null}
SelectionUnionType
```

## Fields

| Name                  | Description                                                |
| --------------------- | ---------------------------------------------------------- |
| Unknown               | Combination type is unknown/indefined                      |
| SubtractRightFromLeft | All of left, except where it overlaps with right           |
| SubtractLeftFromRight | All of right, except where it overlaps with left           |
| Intersect             | Those present in left AND right only                       |
| XOR                   | Those present in left or right, but not both               |
| Union                 | All, but no duplicates for those present in left and right |


## Related topics

- [Enum values for SelectionUnionType](/en/database/tables/enums/selectionuniontype.md)
- [SuperOffice.WebApi.Data.SelectionUnionType](/en/api/reference/webapi/SuperOffice.WebApi.Data.SelectionUnionType.md)
- [selection table](/en/database/tables/selection.md)
- [SuperOffice.WebApi.Data.SelectionEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.SelectionEntity.md)
- [NSSelectionEntity](/en/automation/crmscript/reference/CRMScript.NetServer.NSSelectionEntity.md)
- [SuperOffice.WebApi.Data.UserPreferenceStrings.Selection](/en/api/reference/webapi/SuperOffice.WebApi.Data.UserPreferenceStrings.Selection.md)
