WasteReasons
Waste reasons define the categories used when registering product waste. Each customer configures their own set of waste reasons to track why products are discarded.
Storage Location
{customer_id}-waste_reason.jsonFields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Unique waste reason identifier. |
customer_id | integer | Yes | Reference to Customer. |
name | string | Yes | Waste reason name (displayed to users). |
status | string | Yes | Status: active or inactive. |
Example
json
{
"id": "6478",
"customer_id": 10352,
"name": "Slutt dag",
"status": "active"
}Example - Multiple Waste Reasons
json
[
{
"id": "8219",
"customer_id": 10352,
"name": "Intern rep.",
"status": "active"
},
{
"id": "6477",
"customer_id": 10352,
"name": "Ødelagt",
"status": "active"
},
{
"id": "6478",
"customer_id": 10352,
"name": "Slutt dag",
"status": "active"
},
{
"id": "6479",
"customer_id": 10352,
"name": "Utgått på dato",
"status": "active"
},
{
"id": "6480",
"customer_id": 10352,
"name": "Kundeklage",
"status": "active"
},
{
"id": "6481",
"customer_id": 10352,
"name": "Smaksprøve",
"status": "active"
}
]Common Waste Reasons
| Name | Description |
|---|---|
| Slutt dag | End of day - products discarded at closing |
| Ødelagt | Damaged - products broken or damaged |
| Utgått på dato | Expired - past expiration/best-before date |
| Kundeklage | Customer complaint - returned by customer |
| Smaksprøve | Tasting/sampling - used for product sampling |
| Intern rep. | Internal repair/adjustment |
Related Entities
- Customers - Parent customer/tenant
- ArticleWaste - Waste records reference waste reason via
waste_reason_id