Environments Scrap Price Set
environments_scrap_price_setDestructiveIdempotent
Your price per kilogram for the scrap parts of this material leave behind — sheet skeletons and offcuts, chips, or bar ends and cut-offs — from valid_from onwards. Name a grade with grade_id to price it apart from the rest of its category. A price it replaces that started on an earlier day stops the day before rather than being deleted, so quotes already made keep the figure they were costed at; one set earlier the same day is simply replaced.
A scrap price is credited only in an environment that credits sold scrap: the shop-practice question scrap_credit.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_id | Yes | ||
| grade_id | No | The grade the price is for. Leave it out to price every grade of the category that states no price of its own. | |
| valid_from | No | Day the price starts applying: today, which is the default, or later — never earlier, so quotes already made keep the price they were costed at. The price it replaces stops the day before. | |
| scrap_class | Yes | ||
| price_per_kg | Yes | What you get back per kilogram, in the environment's currency: what the dealer pays less what sorting, containers and haulage cost you. Zero is allowed: a shop that sells nothing back states 0. | |
| material_category | Yes | Top-level material family. Drives ISO machining group defaults and UI filtering. Values are stable identifiers — adding a new category is additive; renaming is a breaking change. |