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

# Prob table

> Prob list table. Probability, used in  sales .

## Prob Table (82)

Prob MDO list item table.
Prob list table. Probability, used in  sales .

## Fields

| Name                      | Description                                                                     | Type                            | Nullable |
| ------------------------- | ------------------------------------------------------------------------------- | ------------------------------- | :------: |
| Prob\_id                  | Primary key                                                                     | PK                              |    No    |
| name                      | The list item                                                                   | String(239)                     |    No    |
| rank                      | Rank order                                                                      | UShort                          |    Yes   |
| tooltip                   | Tooltip or other description                                                    | String(254)                     |    Yes   |
| deleted                   | 0 -> record is active 1 -> record is 'deleted' and should not be shown in lists | UShort                          |    Yes   |
| probability               | The numeric probability of the sale                                             | UShort                          |    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/zNQa3AO19PFK63SB/media/loc/en/database/tables/Prob.png?fit=max&auto=format&n=zNQa3AO19PFK63SB&q=85&s=17eaa5ef9323c7f0d0b124e44116a036" alt="Prob table relationship diagram" width="842" height="694" data-path="media/loc/en/database/tables/Prob.png" />

## Indexes

| Fields | Types       | Description |
| ------ | ----------- | ----------- |
| name   | String(239) | Unique      |

## Relationships

| Table                                    | Description                                                                                                                                                                                                                                                                                     |
| ---------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [associate](./associate)                 | Employees, resources and other users - except for External persons                                                                                                                                                                                                                              |
| [ProbGroupLink](./probgrouplink)         | User group link table for Prob, for MDO item hiding                                                                                                                                                                                                                                             |
| [ProbHeadingLink](./probheadinglink)     | Heading link table for Prob, for MDO headers                                                                                                                                                                                                                                                    |
| [sale](./sale)                           | Sales  For every Sale record edited through the SuperOffice GUI, a copy of the current version of the record will be saved in the SaleHist table. This also applies to editing done through the SaleModel COM interface, but not to editing done through the OLE DB Provider or other channels. |
| [SaleHist](./salehist)                   | Mirror image of the Sale table, providing a full transaction history. Every time you edit a sale, the current record of the sale is also saved here.                                                                                                                                            |
| [SaleTypeStageLink](./saletypestagelink) | Many-many link table between sale type and stage; and an anchor point for guide items                                                                                                                                                                                                           |

## Replication Flags

* Replicate changes DOWN from central to satellites and travellers.
* 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

- [ProbHeadingLink table](/en/database/tables/probheadinglink.md)
- [ProbGroupLink table](/en/database/tables/probgrouplink.md)
- [prob](/en/api/mdo-providers/reference/prob.md)
- [SaleTypeStageLink table](/en/database/tables/saletypestagelink.md)
- [sale table](/en/database/tables/sale.md)
- [SaleHist table](/en/database/tables/salehist.md)
