# PurchaseQuotationLinks

> What a purchase quotation line is requested for: a sales order line status or a production order component, one row per demand with its own quantity.

Subject: Purchase.

What a purchase quotation line is requested for: a sales order line status or a production order component, one row per demand with its own quantity. It joins its quotation line on line, tracking_number and creation_year, not on the quotation number: expand PurchaseQuotationLine for that. Made in Fledge Remote only.

Label in Fledge: Inkoopoffertekoppelingen.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/PurchaseQuotationLinks` |
| Key | `administration_id`, `creation_year`, `line`, `purchase_quotation_link_id`, `tracking_number` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS |
| Write licenses | BEHEER |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/PurchaseQuotationLinks?$filter=administration_id eq 1&$select=creation_year,line,purchase_quotation_link_id,tracking_number,description_1,description_2,description_3&$top=50
GET https://odata-api.fledge.nl/v2-8/PurchaseQuotationLinks(administration_id=1,creation_year={creation_year},line={line},purchase_quotation_link_id={purchase_quotation_link_id},tracking_number={tracking_number})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `creation_year` (key) | Int32, not null | Jaar aanmaak |
| `line` (key) | Int32, not null | Regelnummer |
| `tracking_number` (key) | Int32, not null | Volgnummer |
| `purchase_quotation_link_id` (key) | Int32, not null | Volgnummer |
| `description_1` | String | Omschrijving 1 |
| `description_2` | String | Omschrijving 2 |
| `description_3` | String | Omschrijving 3 |
| `origin` | Int32 | Herkomst subregel |
| `sub_line_creation_year` | Int32 | Jaar aanmaak subregel |
| `material_outsourcing_purchase_part` | Int32 | VC nummer: Nummer VC |
| `memo` | String | Memo |
| `production_order_assembly_id` | Int32 | Schrapnummer |
| `production_order_header_id` | String | Order nummer |
| `quantity` | Decimal | Aantal |
| `sales_order_header_id` | String | Verkoopordernummer |
| `sales_order_line_id` | Int32 | Regelnummer |
| `sales_order_line_status_id` | Int32 | Volgnummer |
| `sub_line` | Int32 | Subregel |
| `sub_line_tracking_number` | Int32 | Subregel volgnummer |
| `type` | Int32 | Type |

## Relations

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

---

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