# PostCalculationBuyMakeParts

> Productieorder NC koop-/maakdelen

Subject: Production.

Productieorder NC koop-/maakdelen

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/PostCalculationBuyMakeParts` |
| Key | `administration_id`, `post_calculation_buy_make_part_id`, `production_order_assembly_id`, `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 |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/PostCalculationBuyMakeParts?$filter=administration_id eq 1&$select=post_calculation_buy_make_part_id,production_order_assembly_id,production_order_header_id,date,description_1,description_2&$top=50
GET https://odata-api.fledge.nl/v2-8/PostCalculationBuyMakeParts(administration_id=1,post_calculation_buy_make_part_id={post_calculation_buy_make_part_id},production_order_assembly_id={production_order_assembly_id},production_order_header_id='{production_order_header_id}')
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `post_calculation_buy_make_part_id` (key) | Int32, not null | Volgnummer |
| `production_order_header_id` (key) | String, not null | Order nummer |
| `production_order_assembly_id` (key) | Int32, not null | Schrapnummer |
| `apply_replacement_value` | Boolean | Vervangingswaarde toepassen (j/n) |
| `date` | Date | Datum |
| `description_1` | String | Omschrijving |
| `description_2` | String | Omschrijving |
| `description_3` | String | Omschrijving |
| `financial_year` | Int32 | Boekjaar |
| `has_financial_block` | Boolean | Financieel geblokkeerd |
| `has_price_difference` | Boolean | Prijsverschil of niet |
| `invoice_number` | String | Faktuurnummer |
| `is_archived` | Boolean | Archief: Gearchiveerd |
| `is_financially_processed` | Boolean | Financieel verwerkt |
| `is_parked` | Boolean | Parkeren: Blokkeren voor adviesprijs |
| `memo` | String | Memo |
| `order_code` | String | Bestelkode |
| `origin` | Int32 | Herkomst |
| `period_id` | Int32 | Periode nummer |
| `position_number` | String | Pos-nummer |
| `post_calculation_amount` | Decimal | Bedrag NC |
| `pre_calculation_buy_make_part_id` | Int32 | Order koopdeel nummer |
| `price_hours` | Decimal | Kostprijs uren |
| `price_total` | Decimal | Totaal kostprijs |
| `price_total_hours` | Decimal | Totaal kostprijs uren |
| `produced_assembly_id` | Int32 | Productie schrap: Schrap waarin artikel geproduceerd is |
| `production_order_header_origin` | String | Order herkomst: Productieorder waarop het maakdeel geproduceerd is. |
| `sales_price` | Decimal | Verkoopprijs |
| `sequence` | Int32 | Volgorde |
| `status` | Boolean | Status |
| `supplier_text` | Int32 | Lev/art/tekst: Leverancier/artikel/tekst |
| `surcharge` | Decimal | Opslag |
| `article_custom_field_set_id` | Int32 | Volgnummer |
| `article_id` | String | Artikelcode |
| `lot_number` | String | Lotnummer/partijregistratie |
| `creditor_id` | Int32 | Crediteurnummer |
| `price` | Decimal | Prijs |
| `purchase_order_header_id` | String | Ordernummer |
| `purchase_order_line_id` | Int32 | Regelnummer |
| `quantity` | Decimal | Aantal |
| `revenue_group_id` | Int32 | Omzetgroep |
| `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)
- `ArticleCustomFieldSet` → [ArticleCustomFieldSets](https://docs.fledge.nl/en/api/reference/ArticleCustomFieldSets.md) (one)
- `Creditor` → [Creditors](https://docs.fledge.nl/en/api/reference/Creditors.md) (one)
- `PreCalculationBuyMakePart` → [PreCalculationBuyMakeParts](https://docs.fledge.nl/en/api/reference/PreCalculationBuyMakeParts.md) (one)
- `ProductionOrderAssembly` → [ProductionOrderAssemblies](https://docs.fledge.nl/en/api/reference/ProductionOrderAssemblies.md) (one)
- `ProductionOrderHeader` → [ProductionOrderHeaders](https://docs.fledge.nl/en/api/reference/ProductionOrderHeaders.md) (one)
- `PurchaseOrderHeader` → [PurchaseOrderHeaders](https://docs.fledge.nl/en/api/reference/PurchaseOrderHeaders.md) (one)
- `PurchaseOrderLine` → [PurchaseOrderLines](https://docs.fledge.nl/en/api/reference/PurchaseOrderLines.md) (one)
- `RevenueGroup` → [RevenueGroups](https://docs.fledge.nl/en/api/reference/RevenueGroups.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/PostCalculationBuyMakeParts
