# HistoricProductionOrderAssemblyStatuses

> Productiestatusregelhistorie

Subject: Production.

Productiestatusregelhistorie

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/HistoricProductionOrderAssemblyStatuses` |
| Key | `administration_id`, `production_order_assembly_id`, `production_order_assembly_status_id`, `production_order_header_id` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | PRODUCTIE |
| Write licenses | PRODUCTIE, BEHEER |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/HistoricProductionOrderAssemblyStatuses?$filter=administration_id eq 1&$select=production_order_assembly_id,production_order_assembly_status_id,production_order_header_id,creation_date,creation_datetime,deletion_date&$top=50
GET https://odata-api.fledge.nl/v2-8/HistoricProductionOrderAssemblyStatuses(administration_id=1,production_order_assembly_id={production_order_assembly_id},production_order_assembly_status_id={production_order_assembly_status_id},production_order_header_id='{production_order_header_id}')
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `production_order_header_id` (key) | String, not null | Order nummer |
| `production_order_assembly_id` (key) | Int32, not null | Schrapnummer |
| `production_order_assembly_status_id` (key) | Int32, not null | Volgnummer |
| `action` | String | Is actie mogelijk j/n |
| `article_id` | String | Artikelcode |
| `article_location_id` | String | Lotnummer/partijregistratie |
| `created_by` | Int32 | User aanmaak |
| `creation_date` | Date | Datum aanmaak |
| `creation_datetime` | DateTimeOffset | Aangemaakt: Aanmaakdatum en -tijd |
| `deleted_by` | Int32 | User verwijderd |
| `deletion_date` | Date | Datum verwijderd |
| `is_finished` | Boolean | Afgewerkt |
| `parent` | Int32 | Parent |
| `quantity` | Decimal | Aantal |
| `serial_number_id` | Int32 | Serienummer autom.: Serienummer automatisch |
| `sscc_label_id` | Int64 | SSCC-code id: Uniek volgnummer SSCC-code |
| `status` | Int32 | Status |
| `warehouse_address_id` | Int32 | Adresnummer |
| `warehouse_aisle_id` | Int32 | Magazijn |
| `warehouse_shelf_id` | Int32 | Locatie |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `Article` → [Articles](https://docs.fledge.nl/en/api/reference/Articles.md) (one)
- `ArticleLocation` → [ArticleLocations](https://docs.fledge.nl/en/api/reference/ArticleLocations.md) (one)
- `SerialNumber` → [SerialNumbers](https://docs.fledge.nl/en/api/reference/SerialNumbers.md) (one)
- `SsccLabel` → [SsccLabels](https://docs.fledge.nl/en/api/reference/SsccLabels.md) (one)
- `WarehouseAddress` → [WarehouseAddresses](https://docs.fledge.nl/en/api/reference/WarehouseAddresses.md) (one)
- `WarehouseAisle` → [WarehouseAisles](https://docs.fledge.nl/en/api/reference/WarehouseAisles.md) (one)
- `WarehouseShelf` → [WarehouseShelfs](https://docs.fledge.nl/en/api/reference/WarehouseShelfs.md) (one)

---

Source: https://docs.fledge.nl/en/api/reference/HistoricProductionOrderAssemblyStatuses
