Make a dilution from stock
make_dilutionUse this when the user has made, or wants to record, a dilution from a bottle they own; the material used is taken from the source bottle's stock. This makes a stock bottle, not a formula concentration change. The source bottle's existing strength determines the source and solvent grams; the target cannot be stronger than the source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grams | Yes | Total grams of the finished new stock dilution, not grams of solvent to add or a formula batch size. | |
| solvent | No | ||
| material | No | ||
| targetPct | Yes | ||
| fromBottle | No | ||
| fromDilutionPct | No | ||
| deductFromSource | No | Whether to deduct the source grams used from shelf stock. Defaults to true; false records stock without that deduction. |