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

# PriceList table

> List of prices, cached from an ERP system

## PriceList Table (128)

List of prices, cached from an ERP system

## Fields

| Name                      | Description                                                                                                                               | Type                                        | Nullable |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- | :------: |
| pricelist\_id             | Primary key                                                                                                                               | PK                                          |    No    |
| ERPPriceListKey           | The key that uniquely identifies this pricelist in the ERP system                                                                         | String(254)                                 |    Yes   |
| QuoteConnectionId         | (Reserved for future use) The connection to the ERP system used for this pricelist                                                        | FK [QuoteConnection](./quoteconnection.mdx) |    Yes   |
| Name                      | Name of this pricelist to use in the user interface.                                                                                      | String(254)                                 |    Yes   |
| Description               | Description of this pricelist , will be used as tool-tip in the user interface.                                                           | String(254)                                 |    Yes   |
| CurrencyId                | What is the currency for this pricelist                                                                                                   | FK [Currency](./currency.mdx)               |    Yes   |
| ValidFrom                 | The date (inclusive) the pricelist start to be valid. This can be DateTime.MinValue to signal that it doesn't have a specific start date. | DateTime                                    |    Yes   |
| ValidTo                   | The date (inclusive) the pricelist ends to be valid. This can be DateTime.MaxValue to signal that it doesn't have a specific end date.    | DateTime                                    |    Yes   |
| IsActive                  | Is the list active (as opposed to being worked on, suddenly canceled, etc.                                                                | Bool                                        |    Yes   |
| IsERPCopy                 | If true, then this pricelist is a cache/copy and cannot be edited by users in CRM                                                         | Bool                                        |    Yes   |
| 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/PriceList.png?fit=max&auto=format&n=zNQa3AO19PFK63SB&q=85&s=e40cfe3e040b80d6a18a95c37afed2c4" alt="PriceList table relationship diagram" width="796" height="763" data-path="media/loc/en/database/tables/PriceList.png" />

## Indexes

| Fields                                  | Types                          | Description |
| --------------------------------------- | ------------------------------ | ----------- |
| CurrencyId                              | FK                             | Index       |
| ValidFrom, ValidTo, IsActive, IsERPCopy | DateTime, DateTime, Bool, Bool | Index       |

## Relationships

| Table                                | Description                                                                                              |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------- |
| [associate](./associate)             | Employees, resources and other users - except for External persons                                       |
| [Currency](./currency)               | Currency list table                                                                                      |
| [Product](./product)                 | One Product, member of one price list                                                                    |
| [QuoteConnection](./quoteconnection) | Primary key in the CRM database. Definition of a connection to an external system, for the Quote system. |

## Replication Flags

* Replicate changes DOWN from central to satellites and travellers.
* Copy to satellite and travel prototypes.

## Security Flags

* No access control via user's Role.


## Related topics

- [pricelist](/en/api/mdo-providers/reference/pricelist.md)
- [PriceList](/en/api/archive-providers/reference/pricelist.md)
- [SuperOffice.WebApi.Data.PriceList](/en/api/reference/webapi/SuperOffice.WebApi.Data.PriceList.md)
- [SuperOffice.WebApi.Agents.QuoteAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.QuoteAgent.md)
- [SuperOffice.WebApi.Agents.IQuoteAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IQuoteAgent.md)
- [Put Price List](/en/api/reference/restful/rest/list_price/put-price-list.md)
