# HistoricProductionOrderPostCalculationMainOperations

> Productieorder historie NC bewerkingen hoofd

Subject: Production.

Productieorder historie NC bewerkingen hoofd

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

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/HistoricProductionOrderPostCalculationMainOperations?$filter=administration_id eq 1&$select=historic_production_order_assembly_id,historic_production_order_header_id,historic_production_order_post_calculation_main_operation_id,amount_operation_post_calculation,amount_post_calculation,amount_setup_cost_post_calculation&$top=50
GET https://odata-api.fledge.nl/v2-8/HistoricProductionOrderPostCalculationMainOperations(administration_id=1,historic_production_order_assembly_id={historic_production_order_assembly_id},historic_production_order_header_id='{historic_production_order_header_id}',historic_production_order_post_calculation_main_operation_id={historic_production_order_post_calculation_main_operation_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `historic_production_order_post_calculation_main_operation_id` (key) | Int32, not null | Hoofdbewerking |
| `historic_production_order_header_id` (key) | String, not null | Ordernummer |
| `historic_production_order_assembly_id` (key) | Int32, not null | Schrap |
| `amount_operation_post_calculation` | Decimal | Bedrag bewerking NC |
| `amount_post_calculation` | Decimal | Bedrag NC |
| `amount_setup_cost_post_calculation` | Decimal | Bedrag instellen NC |
| `cost_price_operation` | Decimal | Kostprijs bewerking |
| `cost_price_setup` | Decimal | Kostprijs instellen |
| `description` | String | Omschrijving |
| `is_dummy` | Boolean | Dummy vc |
| `operation_duration` | Int32 | Bewerkingstijd |
| `operation_duration_man_hours` | Int32 | Bewerkingstijd man |
| `price` | Decimal | Kostprijs |
| `setup_time` | Int32 | Insteltijd |
| `setup_time_man_hours` | Int32 | Insteltijd man |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `HistoricProductionOrderAssembly` → [HistoricProductionOrderAssemblies](https://docs.fledge.nl/en/api/reference/HistoricProductionOrderAssemblies.md) (one)
- `HistoricProductionOrderHeader` → [HistoricProductionOrderHeaders](https://docs.fledge.nl/en/api/reference/HistoricProductionOrderHeaders.md) (one)

---

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