# QuoteCalculationMaterials

> A material line of a quote calculation assembly: an article, or a free material by shape and type.

Subject: Calculations.

A material line of a quote calculation assembly: an article, or a free material by shape and type.

Label in Fledge: Calculatie materialen.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/QuoteCalculationMaterials` |
| Key | `administration_id`, `quote_calculation_assembly_id`, `quote_calculation_header_id`, `quote_calculation_material_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, FLEDGE_TERMINAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/QuoteCalculationMaterials?$filter=administration_id eq 1&$select=quote_calculation_assembly_id,quote_calculation_header_id,quote_calculation_material_id,price_per_unit,is_quantity_independent,order_gross&$top=50
GET https://odata-api.fledge.nl/v2-8/QuoteCalculationMaterials(administration_id=1,quote_calculation_assembly_id={quote_calculation_assembly_id},quote_calculation_header_id='{quote_calculation_header_id}',quote_calculation_material_id={quote_calculation_material_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `quote_calculation_header_id` (key) | String, not null | Offertenummer |
| `quote_calculation_material_id` (key) | Int32, not null | Offerte mat.nr.: Offerte materiaal nummer |
| `quote_calculation_assembly_id` (key) | Int32, not null | Volgnummer |
| `amount_pre_calculation` | Decimal | Declarabel bedrag |
| `angle_1` | Decimal | Hoek 1 |
| `angle_2` | Decimal | Hoek 2 |
| `apply_miter_saw_price` | Boolean | Toepassen verstekzaagprijs |
| `calculation_method` | Int32 | Rekenmethode |
| `calculation_model` | Int32 | Calculatiemodel (0 = calculatieprijzen; 1 = commerciele calculatieprijzen) |
| `description_1` | String | Omschrijving |
| `description_2` | String | Omschrijving |
| `description_3` | String | Omschrijving |
| `description_special` | String | Omschrijving speciaal |
| `drawing_number` | String | Tekeningnummer |
| `has_additional_cost` | Boolean | Toeslag |
| `has_burning` | Boolean | Branden |
| `has_cut` | Boolean | Zagen |
| `has_miter_saw_cut` | Boolean | Verstekzagen |
| `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_over_price` | Boolean | Overprijs |
| `main_operation_id` | Int32 | Hoofdbewerkings nummer |
| `material` | Int32 | Materiaal/artikel/tekst |
| `memo` | String | Memo |
| `net_gross_manual` | Int32 | Netto/Bruto/Handmatig |
| `order_quantity` | Decimal | Bestel aantal |
| `placeholder_article_id` | String | Artikel |
| `position_number` | String | Pos-nummer |
| `prescription` | Int32 | Voorschrift |
| `price_gross` | Decimal | Prijs bruto: Berekende prijs brutto |
| `price_net` | Decimal | Prijs netto |
| `price_per_unit` | Decimal | Prijs eenheid. The price per price unit. |
| `price_system` | Int32 | Prijssysteem |
| `quantity_saw_cuts` | Int32 | Aantal maal zagen |
| `revision` | String | Revisie |
| `storage` | Decimal | Opslag |
| `sub_operation_id` | Int32 | Subbewerkingsnummer |
| `tracking_number` | Int32 | Basisprijs |
| `tracking_number_additional_cost` | Int32 | Toeslagprijs |
| `tracking_number_operation_1` | Int32 | Straalprijs |
| `tracking_number_operation_2` | Int32 | Straal+menie |
| `tracking_number_operation_3` | Int32 | Straal+sigmaweld |
| `tracking_number_operation_4` | Int32 | Brandprijs |
| `tracking_number_operation_5` | Int32 | Zaagprijs |
| `tracking_number_operation_6` | Int32 | Verstekzaagprijs |
| `tracking_number_superfluous_1` | Int32 | Overprijs |
| `type_miter_saws` | Int32 | Type verstekzagen (liggend, staand) |
| `article_id` | String | Artikelcode |
| `determine_surface` | Boolean | Bepaal oppervlakte |
| `determine_weight` | Boolean | Bepaal gewicht |
| `weight_gross` | Decimal | Bruto gewicht |
| `is_fixed_length` | Boolean | Fixed lengte |
| `is_quantity_independent` | Boolean | Aantal onafhankelijk. The line counts once for the whole batch, not per piece. |
| `material_shape_id` | String | Materiaalvorm code |
| `material_type_id` | String | Materiaalsoort: alfanumerieke code voor het materiaal, 15 karakters  lang |
| `order_gross` | Decimal | Bestel brutto: Besteleenheid brutto. The amount bought, in the price unit, per piece of the assembly. It can be rounded to trade sizes for the whole assembly quantity and then divided by it, so it isn't always a whole trade size. |
| `order_net` | Decimal | Bestel netto: Besteleenheid netto. The amount used, in the article's price unit, per piece of the assembly. |
| `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 |
| `quantity` | Decimal | Aantal. Pieces of the material per piece of the assembly. |
| `saw_cut` | Decimal | Zaagsnede |
| `status` | Int32 | Status |
| `weight_net` | Decimal | Gewicht |
| `price` | Decimal | Prijs per stuk. The line amount for one piece of the assembly, not a unit price. |
| `article_custom_field_set_id` | Int32 | Volgnummer |
| `creditor_id` | Int32 | Crediteurnummer |
| `sequence` | Int32 | Volgorde |

## 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)
- `QuoteCalculationAssemblies` → [QuoteCalculationAssemblies](https://docs.fledge.nl/en/api/reference/QuoteCalculationAssemblies.md) (one)
- `QuoteCalculationHeader` → [QuoteCalculationHeaders](https://docs.fledge.nl/en/api/reference/QuoteCalculationHeaders.md) (one)
- `QuoteCalculationSubOperationLinks` → [QuoteCalculationSubOperationLinks](https://docs.fledge.nl/en/api/reference/QuoteCalculationSubOperationLinks.md) (many)

---

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