# SalesPriceProductionLinks

> Verkooporder kostprijzen van gekoppelde productieorder

Subject: Sales orders.

Verkooporder kostprijzen van gekoppelde productieorder

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

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/SalesPriceProductionLinks?$filter=administration_id eq 1&$select=production_order_header_id,sales_price_production_link_id,cost_price_account,quantity,amount&$top=50
GET https://odata-api.fledge.nl/v2-8/SalesPriceProductionLinks(administration_id=1,production_order_header_id='{production_order_header_id}',sales_price_production_link_id={sales_price_production_link_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32, not null | Administratienummer |
| `production_order_header_id` (key) | String, not null | Order nummer |
| `sales_price_production_link_id` (key) | Int32, not null | Volgnummer |
| `cost_price_account` | String | Kostprijsrekening: Rekening gebruikt voor kostprijs |
| `stock_ledger_account` | String | Voorraadrekening: Rekening gebruikt voor voorraad |
| `quantity` | Decimal | Aantal |
| `amount` | Decimal | Bedrag |
| `session` | Int32 | Sessie |
| `to_be_processed` | Decimal | Het aantal dat nog te verwerken is |
| `type` | Int32 | Type (materiaal, uitbesteding, uren) |
| `revenue_group_id` | Int32 | Omzetgroep |

---

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