# PurchaseQuotationLines

> One article on a purchase quotation, with the price the supplier quoted.

Subject: Purchase.

One article on a purchase quotation, with the price the supplier quoted. A purchase order line ordered from it has its purchase_quotation_header_id and purchase_quotation_line_id.

Label in Fledge: Inkoopofferteregel.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/PurchaseQuotationLines` |
| Key | `administration_id`, `purchase_quotation_header_id`, `purchase_quotation_line_id` |
| 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/PurchaseQuotationLines?$filter=administration_id eq 1&$select=purchase_quotation_header_id,purchase_quotation_line_id,line,available_date,delivery_time&$top=50
GET https://odata-api.fledge.nl/v2-8/PurchaseQuotationLines(administration_id=1,purchase_quotation_header_id='{purchase_quotation_header_id}',purchase_quotation_line_id={purchase_quotation_line_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `purchase_quotation_header_id` (key) | String, not null | Offertenummer: Offerte nummer |
| `purchase_quotation_line_id` (key) | Int32, not null | Offertregel: Regelnummer. The line number within the quotation. |
| `tracking_number` | Int32, not null | Volgnummer |
| `line` | Int32, not null | Regelnummer. Not the line number within the quotation; it counts per administration and creation_year. |
| `creation_year` | Int32, not null | Jaar aanmaak |
| `anticipated` | Boolean | Voorzien |
| `article_id` | String | Artikelcode |
| `available_date` | Date | Datum beschikbaar. When the supplier can deliver the line. |
| `available_week` | Int32 | Week beschikbaar |
| `change_date` | Date | Datum wijzig |
| `changed_by` | Int32 | User wijzig |
| `created_by` | Int32 | User aanmaak |
| `creation_date` | Date | Datum aanmaak |
| `creditor_group_id` | Int32 | Crediteurgroep nummer |
| `creditor_id` | Int32 | Crediteurnummer |
| `currency_code_id` | Int32 | Valutanummer |
| `currency_unit` | Int32 | Eenheid valuta |
| `delivery_date` | Date | Leveringsdatum |
| `delivery_time` | Int32 | Levertijd. The delivery time in days. |
| `description_1` | String | Omschrijving 1 |
| `description_2` | String | Omschrijving 2 |
| `description_3` | String | Omschrijving 3 |
| `discount_percentage` | Decimal | Regelkorting |
| `drawing_number` | String | Tekeningnummer |
| `exchange_rate` | Decimal | Koers valuta |
| `function` | Int32 | Functie. Values: 1 = Article line; 2 = Text line; 3 = Subtotal line |
| `gross_price_foreign_currency` | Decimal | Bruto prijs VV |
| `gross_price_local_currency` | Decimal | Bruto prijs |
| `material_outsourcing_purchase_part` | Int32 | VC nummer: Nummer VC |
| `material_shape_id` | String | Materiaalvorm code |
| `memo` | String | Memo |
| `net_price_foreign_currency` | Decimal | Netto prijs VV |
| `net_price_local_currency` | Decimal | Netto prijs |
| `order_code` | String | Bestelcode |
| `parameter_1` | Decimal | Par 1: Parameter 1 |
| `parameter_2` | Decimal | Par 2: Parameter 2 |
| `parameter_3` | Decimal | Par 3: Parameter 3 |
| `parameter_4` | Decimal | Par 4: Parameter 4 |
| `parameter_5` | Decimal | Par 5: Parameter 5 |
| `parameter_6` | Decimal | Par 6: Parameter 6 |
| `production_order_assembly_id` | Int32 | Schrapnummer |
| `production_order_header_id` | String | Order nummer |
| `quantity` | Decimal | Aantal |
| `quantity_special` | Decimal | Aantal |
| `quotation_date` | Date | Datum offerte |
| `quotation_week` | Int32 | Week offerte |
| `relation_id` | Int32 | Relatie |
| `revenue_group_id` | Int32 | Omzetgroep |
| `revision` | String | Revisie |
| `sales_order_header_id` | String | Verkoopordernummer |
| `sales_order_line_id` | Int32 | Regelnummer |
| `sales_order_line_status` | Int32 | Volgnummer. A SalesOrderLineStatuses row id (sales_order_line_status_id), not a status number. |
| `sequence` | Int32 | Volgorde |
| `special` | Boolean | Fixed lengte |
| `type` | Int32 | Type |
| `vat_code_id` | Int32 | BTW nummer |
| `warehouse_address_id` | Int32 | Magazijnadres |
| `warehouse_aisle_id` | Int32 | Magazijn |
| `warehouse_shelf_id` | Int32 | Locatie |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `PurchaseQuotationHeader` → [PurchaseQuotationHeaders](https://docs.fledge.nl/en/api/reference/PurchaseQuotationHeaders.md) (one)
- `Article` → [Articles](https://docs.fledge.nl/en/api/reference/Articles.md) (one)
- `Creditor` → [Creditors](https://docs.fledge.nl/en/api/reference/Creditors.md) (one)
- `CreditorGroup` → [CreditorGroups](https://docs.fledge.nl/en/api/reference/CreditorGroups.md) (one)
- `MaterialShape` → [MaterialShapes](https://docs.fledge.nl/en/api/reference/MaterialShapes.md) (one)
- `Relation` → [Relations](https://docs.fledge.nl/en/api/reference/Relations.md) (one)
- `RevenueGroup` → [RevenueGroups](https://docs.fledge.nl/en/api/reference/RevenueGroups.md) (one)
- `ProductionOrderHeader` → [ProductionOrderHeaders](https://docs.fledge.nl/en/api/reference/ProductionOrderHeaders.md) (one)
- `ProductionOrderAssembly` → [ProductionOrderAssemblies](https://docs.fledge.nl/en/api/reference/ProductionOrderAssemblies.md) (one)
- `SalesOrderHeader` → [SalesOrderHeaders](https://docs.fledge.nl/en/api/reference/SalesOrderHeaders.md) (one)
- `SalesOrderLine` → [SalesOrderLines](https://docs.fledge.nl/en/api/reference/SalesOrderLines.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)
- `DocumentLinks` → [DocumentLinks](https://docs.fledge.nl/en/api/reference/DocumentLinks.md) (many)
- `PurchaseQuotationLinks` → [PurchaseQuotationLinks](https://docs.fledge.nl/en/api/reference/PurchaseQuotationLinks.md) (many)

---

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