> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/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
