# WorkInProgressItems

> Onderhanden werk

Subject: Production.

Onderhanden werk

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/WorkInProgressItems` |
| Key | `administration_id`, `article_id`, `financial_period_id`, `financial_year`, `production_order_header_id`, `work_in_progress_id` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS |
| Write licenses | PRODUCTIE, FINANCIEEL, BEHEER |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/WorkInProgressItems?$filter=administration_id eq 1&$select=article_id,financial_period_id,financial_year,production_order_header_id,work_in_progress_id,amount_credited,amount_credited_muko,cumulative_cost_price_buy_make&$top=50
GET https://odata-api.fledge.nl/v2-8/WorkInProgressItems(administration_id=1,article_id='{article_id}',financial_period_id={financial_period_id},financial_year={financial_year},production_order_header_id='{production_order_header_id}',work_in_progress_id={work_in_progress_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `article_id` (key) | String, not null | Artikelcode |
| `financial_year` (key) | Int32, not null | Boekjaar |
| `work_in_progress_id` (key) | Int32, not null | Volgnummer |
| `financial_period_id` (key) | Int32, not null | Periode nummer |
| `production_order_header_id` (key) | String, not null | Order nummer |
| `amount_credited` | Decimal | OHW-bew uit: Bedrag dat gecrediteerd is op OHW-bew rekening |
| `amount_credited_muko` | Decimal | OHW-muko uit: Bedrag dat op rekenign OHW-muko gecrediteerd is. |
| `cumulative_cost_price_buy_make` | Decimal | Cumulatief kostprijs koop-/maakdelen |
| `cumulative_cost_price_machine` | Decimal | Cumulatief kostprijs machine |
| `cumulative_cost_price_man_hours` | Decimal | Cumulatief kostprijs man |
| `cumulative_cost_price_materials` | Decimal | Cumulatief kostprijs materialen |
| `cumulative_cost_price_other` | Decimal | Cumulatief kostprijs overige kosten |
| `cumulative_cost_price_outsourcing` | Decimal | Cumulatief kostprijs uitbestedingen |
| `cumulative_machine_hours` | Int32 | Cumulatief machineuren (in sec.) |
| `cumulative_man_hours` | Int32 | Cumulatief manuren (sec) |
| `period_completed_production_order` | Int32 | Periode gereedmelding productieorder |
| `status_completed` | Int32 | Productieorder gereedheidsstatus: 0 = aangemaakt, 1 = gereed, 2 = cumulatiefregel |
| `year_completed` | Int32 | Jaar gereedmelding productieorder |

## 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)
- `ProductionOrderheader` → [ProductionOrderHeaders](https://docs.fledge.nl/en/api/reference/ProductionOrderHeaders.md) (one)

---

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