> ## 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.

# WinPosSize table

> Stores the position and size of each window, so they can be shown in the same place again

## WinPosSize Table (208)

Stores the position and size of each window, so they can be shown in the same place again

## Fields

| Name                      | Description                                             | Type                                                | Nullable |
| ------------------------- | ------------------------------------------------------- | --------------------------------------------------- | :------: |
| WinPosSize\_id            | Primary key                                             | PK                                                  |    No    |
| assoc\_id                 | Owning associate                                        | FK [associate](./associate.mdx)                     |    No    |
| owner                     | The dialog, panel or whatever that owns this record     | String(254)                                         |    No    |
| state                     | Normal = 0, Maximized = 1, Minimized = 2                | Enum [ShowWindowState](./enums/showwindowstate.mdx) |    No    |
| extraId                   | Spare ID, not yet in use                                | Id                                                  |    Yes   |
| leftX                     | X of origin, left edge of widget                        | Int                                                 |    No    |
| upperY                    | Y of origin, upper edge of widget                       | Int                                                 |    No    |
| width                     | The width of the widget                                 | Int                                                 |    No    |
| height                    | The height of the widget                                | Int                                                 |    No    |
| extraInfo                 | Extra information - show state, or whatever is required | String(254)                                         |    No    |
| registered                | Registered when                                         | UtcDateTime                                         |    No    |
| registered\_associate\_id | Registered by whom                                      | FK [associate](./associate.mdx)                     |    No    |
| updated                   | Last updated when                                       | UtcDateTime                                         |    No    |
| updated\_associate\_id    | Last updated by whom                                    | FK [associate](./associate.mdx)                     |    No    |
| updatedCount              | Number of updates made to this record                   | UShort                                              |    No    |

<img src="https://mintcdn.com/superofficeas/i6M2qZmvMNH7UTeu/media/loc/en/database/tables/WinPosSize.png?fit=max&auto=format&n=i6M2qZmvMNH7UTeu&q=85&s=c9119761169df4f3c86c895310d372f8" alt="WinPosSize table relationship diagram" width="412" height="59" data-path="media/loc/en/database/tables/WinPosSize.png" />

## Indexes

| Fields           | Types           | Description |
| ---------------- | --------------- | ----------- |
| assoc\_id, owner | FK, String(254) | Index       |

## Relationships

| Table                    | Description                                                        |
| ------------------------ | ------------------------------------------------------------------ |
| [associate](./associate) | Employees, resources and other users - except for External persons |

## Replication Flags

* Area Management controlled table. Contents replicated to satellites and traveller databases.
* Replicate changes UP from satellites and travellers back to central.
* Copy to satellite and travel prototypes.

## Security Flags

* No access control via user's Role.


## Related topics

- [Enum values for ShowWindowState](/en/database/tables/enums/showwindowstate.md)
- [SuperOffice.WebApi.Data.ShowWindowState](/en/api/reference/webapi/SuperOffice.WebApi.Data.ShowWindowState.md)
- [Save Window Pos Size](/en/api/reference/restful/agent/configuration_agent/save-window-pos-size.md)
- [Get Window Pos Size](/en/api/reference/restful/agent/configuration_agent/get-window-pos-size.md)
- [Get Window Pos Size List](/en/api/reference/restful/agent/configuration_agent/get-window-pos-size-list.md)
- [NSWindowPosSize](/en/automation/crmscript/reference/CRMScript.NetServer.NSWindowPosSize.md)
