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

# Enum ValueOverride

> Has a pre-calculated value been overriden in a QuoteAlternative or QuoteLine, and in that case what & how?

Has a pre-calculated value been overriden in a QuoteAlternative or QuoteLine, and in that case what & how?

## Syntax

```crmscript theme={null}
ValueOverride
```

## Fields

| Name            | Description                                                                         |
| --------------- | ----------------------------------------------------------------------------------- |
| None            | Discount data is from the ERP system and has not been overridden                    |
| Total           | The Total amount has been overridden; all other fields should be recalculated       |
| DiscountPercent | The discount percentage has been overriden; all other fields should be recalculated |
| DiscountAmount  | The discount amount has been overridden; all other fields should be recalculated    |
| EarningPercent  | The earning percent has been overridden; all other fields should be recalculated    |
| EarningAmount   | The earning amount has been overridden; all other fields should be recalculated     |


## Related topics

- [Enum values for ValueOverride](/en/database/tables/enums/valueoverride.md)
- [SuperOffice.WebApi.Data.ValueOverride](/en/api/reference/webapi/SuperOffice.WebApi.Data.ValueOverride.md)
- [QuoteAlternative table](/en/database/tables/quotealternative.md)
- [QuoteLine table](/en/database/tables/quoteline.md)
- [Enum ValueOverrideInfo](/en/api/plugins/quote-connectors/api/enums/valueoverrideinfo.md)
- [SuperOffice.WebApi.Data.QuoteLine](/en/api/reference/webapi/SuperOffice.WebApi.Data.QuoteLine.md)
