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

# <a id="SuperOffice_WebApi_Data_ValueOverride" /> Enum ValueOverride

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

Has a pre-calculated value been overriden in a QuoteAlternative or QuoteLine, and in that case what & how?
This Enum is used by:  QuoteAlternative.UserValueOverride; QuoteLine.UserValueOverride

```csharp theme={null}
public enum ValueOverride : short
```

## Fields

`DiscountAmount = 3`

3: The discount amount has been overridden; all other fields should be recalculated

`DiscountPercent = 2`

2: The discount percentage has been overriden; all other fields should be recalculated

`EarningAmount = 5`

5: The earning amount has been overridden; all other fields should be recalculated

`EarningPercent = 4`

4: The earning percent has been overridden; all other fields should be recalculated

`None = 0`

0: Discount data is from the ERP system and has not been overridden

`Total = 1`

1: The Total amount has been overridden; all other fields should be recalculated


## Related topics

- [SuperOffice.WebApi.Data.QuoteLine](/en/api/reference/webapi/SuperOffice.WebApi.Data.QuoteLine.md)
- [SuperOffice.WebApi.Data.QuoteAlternative](/en/api/reference/webapi/SuperOffice.WebApi.Data.QuoteAlternative.md)
- [SuperOffice.WebApi.Data.ResourceOverride](/en/api/reference/webapi/SuperOffice.WebApi.Data.ResourceOverride.md)
- [SuperOffice.WebApi.Agents.IListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IListAgent.md)
- [SuperOffice.WebApi.Agents.ListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ListAgent.md)
- [SuperOffice.WebApi.Agents.AIAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.AIAgent.md)
