# HistoricPreCalculationMaterials

> VC-materialen productiehistorie

Subject: Calculations.

VC-materialen productiehistorie

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/HistoricPreCalculationMaterials` |
| Key | `administration_id`, `historic_pre_calculation_material_id`, `historic_production_order_assembly_id`, `historic_production_order_header_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/HistoricPreCalculationMaterials?$filter=administration_id eq 1&$select=historic_pre_calculation_material_id,historic_production_order_assembly_id,historic_production_order_header_id,billable_amount,description_1,description_2&$top=50
GET https://odata-api.fledge.nl/v2-8/HistoricPreCalculationMaterials(administration_id=1,historic_pre_calculation_material_id={historic_pre_calculation_material_id},historic_production_order_assembly_id={historic_production_order_assembly_id},historic_production_order_header_id='{historic_production_order_header_id}')
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `historic_production_order_header_id` (key) | String, not null | Ordernummer |
| `historic_production_order_assembly_id` (key) | Int32, not null | Schrap |
| `historic_pre_calculation_material_id` (key) | Int32, not null | Volgnummer |
| `address` | Int32 | Adres |
| `angle_1` | Decimal | Hoek 1 |
| `angle_2` | Decimal | Hoek 2 |
| `article_id` | String | Artikel |
| `article_custom_field_set_id` | Int32 | Volgnummer |
| `billable_amount` | Decimal | Declarabel bedrag |
| `calculation_method` | Int32 | Rekenmethode |
| `creditor_id` | Int32 | Leverancier |
| `custom_field_1` | String | Vrije veld 1 |
| `custom_field_10` | String | vrije veld 10 |
| `custom_field_11` | String | Vrije veld 11 |
| `custom_field_12` | String | Vrije veld 12 |
| `custom_field_13` | String | Vrije veld 13 |
| `custom_field_14` | String | Vrije veld 14 |
| `custom_field_15` | String | Vrije veld 15 |
| `custom_field_16` | String | Vrij veld 16 |
| `custom_field_17` | String | Vrij veld 17 |
| `custom_field_18` | String | Vrij veld 18 |
| `custom_field_19` | String | Vrij veld 19 |
| `custom_field_2` | String | Vrije veld 2 |
| `custom_field_20` | String | Vrij veld 20 |
| `custom_field_21` | String | Vrij veld 21 |
| `custom_field_22` | String | Vrij veld 22 |
| `custom_field_23` | String | Vrij veld 23 |
| `custom_field_24` | String | Vrij veld 24 |
| `custom_field_25` | String | Vrij veld 25 |
| `custom_field_3` | String | Vrije Veld 3 |
| `custom_field_4` | String | Vrije Veld 4 |
| `custom_field_5` | String | Vrije Veld 5 |
| `custom_field_6` | String | Vrije Veld 6 |
| `custom_field_7` | String | Vrije Veld 7 |
| `custom_field_8` | String | Vrije Veld 8 |
| `custom_field_9` | String | Vrije Veld 9 |
| `description_1` | String | Omschrijving |
| `description_2` | String | Omschrijving |
| `description_3` | String | Omschrijving |
| `description_special` | String | Omschrijving speciaal |
| `drawing_number` | String | Tekeningnummer |
| `gross_price` | Decimal | Prijs bruto |
| `has_addition` | Boolean | Toeslag |
| `has_been_fired` | Boolean | Branden |
| `has_cut` | Boolean | Zagen |
| `has_miter_cut` | Boolean | Verstekzagen |
| `has_miter_cut_price` | Boolean | Toepassen verstekzaagprijs |
| `has_multiple_angles` | Boolean | Meerdere hoeken |
| `has_sandblast` | Boolean | Stralen |
| `has_sandblast_lead_paint` | Boolean | Stralen + menie`: Stralen + menie |
| `has_sandblast_sigmaweld` | Boolean | Stralen + sigmaweld |
| `is_fixed_length` | Boolean | Fixed lengte |
| `is_independend_quantity` | Boolean | Aantal onafhankelijk |
| `is_over_price` | Boolean | Overprijs |
| `material_shape` | String | Materiaal vorm |
| `material_type` | String | Materiaalsoort |
| `measure_area` | Boolean | Bepaal oppervlakte |
| `measure_weigth` | Boolean | Bepaal gewicht |
| `memo` | String | Memo |
| `net_gross_manual` | Int32 | N/B/H: Netto/bruto/handmatig |
| `net_price` | Decimal | Prijs netto |
| `number_of_cuts` | Int32 | Aantal maal zagen |
| `order_gross` | Decimal | Bestel bruto |
| `order_net` | Decimal | Bestel netto |
| `parameter_1` | Decimal | Parameter 1 |
| `parameter_2` | Decimal | Parameter 2 |
| `parameter_3` | Decimal | Parameter 3 |
| `parameter_4` | Decimal | Parameter 4 |
| `parameter_5` | Decimal | Parameter 5 |
| `parameter_6` | Decimal | Parameter 6 |
| `pos_number` | String | Pos-nummer |
| `price` | Decimal | Prijs |
| `price_system` | Int32 | Prijssysteem |
| `quantity` | Decimal | Aantal |
| `revision` | String | Revisie |
| `saw_cut` | Decimal | Zaagsnede |
| `storage` | Decimal | Opslag |
| `text_line` | Int32 | A/T: Artikel/tekst regel |
| `total_price` | Decimal | Totaal kostprijs |
| `total_quantity` | Decimal | Totaal aantal |
| `tracking_number_addital_price_1` | Int32 | Nummer: Toeslagprijs 1 |
| `tracking_number_base` | Int32 | Intern volgnummer |
| `tracking_number_operation_1` | Int32 | Intern volgnummer |
| `tracking_number_operation_2` | Int32 | Intern volgnummer |
| `tracking_number_operation_3` | Int32 | Intern volgnummer |
| `tracking_number_operation_4` | Int32 | Nummer: Bewerkingsprijs 4 |
| `tracking_number_operation_5` | Int32 | Nummer: Bewerkingsprijs 5 |
| `tracking_number_operation_6` | Int32 | Nummer: Bewerkingsprijs 6 |
| `tracking_number_superfluous_1` | Int32 | Intern volgnummer |
| `type_of_miter_cut` | Int32 | Type verstekzagen (liggend, staand) |
| `unit_price` | Decimal | Prijs eenheid: Prijs per eenheid |
| `warehouse_aisle_id` | Int32 | Magazijn |
| `warehouse_shelf_id` | Int32 | Locatie |
| `weight_gross` | Decimal | Gewicht bruto |
| `weight_net` | Decimal | Gewicht netto |

## Relations

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

---

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