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

# Creating a quote

> How to create a quote

![Create quote -screenshot][img1]

1. When the user creates a quote by clicking the CREATE A NEW QUOTE link, the following happens.

   ![08][img2]

2. If there is more than one connection with price lists in the right currency, then the user must select the connection to use:

   ![09 -screenshot][img3]

## Product and price list information

This part of the connector interface searches the ERP system's product and price list information.

If an ERP system does not provide products, the product searches can be delegated to the built-in SuperOffice product registry by using the `QuoteConnectorExtender` class as a base.

Currencies are specified in ISO 3-letter codes: USD, NOK, SEK, EUR, GBP, etc. See [www.currency-iso.org][1] for details. All `isoCurrencyCode` parameters below are case-insensitive ISO currency like USD or NOK.

The price lists are accessed from the SuperOffice CRM client.

![10][img4]

The client uses `FindProduct` to do simple searches. You can set filters on the available price lists.

![11][img5]

## int GetNumberOfActivePriceLists(string isoCurrencyCode )

Is used to warn the user if there are no active price lists in a given currency. Will return no of all active price lists if `isoCurrencyCode` is empty.

## PriceListInfo\[] GetActivePriceLists( string isoCurrencyCode )

Used by SuperOffice to provide filters. Gets the available active `PriceLists` in a specific currency.

Will return all price lists if `isoCurrencyCode` is empty. Returns an empty array if there is no `PriceList` with the stated currency available.

## PriceListInfo\[] GetAllPriceLists( string isoCurrencyCode )

Gets all `PriceLists` in the given currency, including those inactive. Will return all price lists if `isoCurrencyCode` is empty. Will return an empty array if there is no `PriceList` available.

Currently not used.

[1]: http://www.currency-iso.org/dl_iso_table_a1.xls

[img1]: /media/loc/en/api/plugins/create-quote.png

[img2]: /media/loc/en/api/plugins/image008-2.jpg

[img3]: /media/loc/en/api/tutorials/image009-2.png

[img4]: /media/loc/en/api/plugins/image010-1.png

[img5]: /media/loc/en/api/tutorials/image011-1.jpg


## Related topics

- [NSQuoteLine](/en/automation/crmscript/reference/CRMScript.NetServer.NSQuoteLine.md)
- [IQuoteConnector](/en/api/plugins/quote-connectors/api/iquoteconnector.md)
- [SuperOffice.WebApi.Data.QuoteLine](/en/api/reference/webapi/SuperOffice.WebApi.Data.QuoteLine.md)
- [Manage price lists and products](/en/sale/admin/quote/price-list-and-products.md)
- [Address Provider](/en/api/plugins/quote-connectors/addresses.md)
- [Start the client](/en/api/plugins/quote-connectors/start-client.md)
