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

# SuperOffice.WebApi.Data.Quote

# <a id="SuperOffice_WebApi_Data_Quote" /> Class Quote

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for Quote.
Quote carrier with the active quote version and favorite alternative.

```csharp theme={null}
public class Quote : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[Quote](SuperOffice.WebApi.Data.Quote.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_Quote__ctor" /> Quote()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public Quote()
```

## Properties

### <a id="SuperOffice_WebApi_Data_Quote_AcceptedQuoteAlternativeId" /> AcceptedQuoteAlternativeId

The primary key of the Quote Alternative which was finally accepted by the customer. Set when the user is marking a quote as accepted.

```csharp theme={null}
public virtual int AcceptedQuoteAlternativeId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_Quote_ActiveQuoteVersion" /> ActiveQuoteVersion

The active quote version for the quote

```csharp theme={null}
public virtual QuoteVersion ActiveQuoteVersion { get; set; }
```

#### Property Value

[QuoteVersion](SuperOffice.WebApi.Data.QuoteVersion.md)

### <a id="SuperOffice_WebApi_Data_Quote_ActiveQuoteVersionId" /> ActiveQuoteVersionId

The primary key of the Quote Version that is currently active. (The active version will always be the latest version.)

```csharp theme={null}
public virtual int ActiveQuoteVersionId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_Quote_DocumentId" /> DocumentId

The ID of the main Quote Document

```csharp theme={null}
public virtual int DocumentId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_Quote_ERPOrderKey" /> ERPOrderKey

The key in the ERP system that identifies this sale's Order, as transferred and possibly later edited in the ERP system.  Only filled out if there exists a corresponding order representation of the quote in the ERP system.

```csharp theme={null}
public virtual string ERPOrderKey { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_Quote_ERPQuoteKey" /> ERPQuoteKey

Foreign key of quote (if available). The key in the ERP system that identifies this sale's Quote (as opposed to the later Order information)

```csharp theme={null}
public virtual string ERPQuoteKey { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_Quote_FavoriteQuoteAlternative" /> FavoriteQuoteAlternative

The favorite quote alternative for the quote and active quote version.

```csharp theme={null}
public virtual QuoteAlternative FavoriteQuoteAlternative { get; set; }
```

#### Property Value

[QuoteAlternative](SuperOffice.WebApi.Data.QuoteAlternative.md)

### <a id="SuperOffice_WebApi_Data_Quote_OrderComment" /> OrderComment

A comment that is intended for the Invoice, Order, Packing list and similar stages - AFTER the quote has become an order and goes to ERP for processing

```csharp theme={null}
public virtual string OrderComment { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_Quote_PoNumber" /> PoNumber

Customer's Purchase order number

```csharp theme={null}
public virtual string PoNumber { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_Quote_PreferredEmailCulture" /> PreferredEmailCulture

When emails are sent (offer or confirmation), a language can be chosen in the GUI; this field saves the most recent choice and can be used to default the next such choice. Default-default is user's current language

```csharp theme={null}
public virtual string PreferredEmailCulture { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_Quote_QuoteConnectionId" /> QuoteConnectionId

The connection in the CRM system to where this quote came from. Identifies the ERP connection used for this quote. Each quote is bound to one and only one connection.

```csharp theme={null}
public virtual int QuoteConnectionId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_Quote_QuoteId" /> QuoteId

Primary key

```csharp theme={null}
public virtual int QuoteId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_Quote_SaleId" /> SaleId

The foreign key to the corresponding sale

```csharp theme={null}
public virtual int SaleId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_Quote_UseValuesFromQuote" /> UseValuesFromQuote

If true, then the Earning, Earning\_Percent and Amount fields are populated from the QuoteVersion.QuoteAlternative (current revision, most-likely alternative).

```csharp theme={null}
public virtual short UseValuesFromQuote { get; set; }
```

#### Property Value

[short](https://learn.microsoft.com/dotnet/api/system.int16)

## See Also

[QuoteAgent](SuperOffice.WebApi.Agents.QuoteAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.Quote SaveQuoteRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Quote_SaveQuoteRequest.md)
- [SuperOffice.WebApi.Data.Quote GetQuoteRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Quote_GetQuoteRequest.md)
- [SuperOffice.WebApi.Data.Quote DeleteQuoteRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Quote_DeleteQuoteRequest.md)
- [SuperOffice.WebApi.Data.Quote GetQuoteVersionsRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Quote_GetQuoteVersionsRequest.md)
- [SuperOffice.WebApi.Data.Quote MoveQuoteLineRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Quote_MoveQuoteLineRequest.md)
- [SuperOffice.WebApi.Data.Quote GetQuoteAlternativesRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Quote_GetQuoteAlternativesRequest.md)
