> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/quote/_setgross.md).

# \_setGross

Sets the gross value of a Quote.

### Parameters

#### id

The ID of the Quote.

#### value

The new gross value for the Quote.

### Example

```
FM_api('Quotes_setGross', ['id' => '123', 'value' => '55.00']);
```

### Results

#### On Success

```
{'ok':1}
```

#### On Failure

If neither of the parameters were given:

```
{'error':'id and val parameters are both required'}
```
