# \_setCost

Set the Cost of a Schedule of Rates.

### Parameters

#### id

Integer ID for the Schedule of Rates.

#### val

The new cost for the Schedule of Rates.

### Example

```
FM_api('ScheduleOfRates_setCost', ['id' => '4', 'val' => '200'])
```

### Result

```
{"ok":1}
```
