One production order (productieorder): what is made in house, for which customer or sales order, for when. What it makes is its root assembly (ProductionOrderAssemblies with level 1). Where it is in the flow is on the open status rows of that assembly, not on the header. Finished orders move to HistoricProductionOrderHeaders under the same number.

Label in Fledge: Productieorder header

URLhttps://odata-api.fledge.nl/v2-8/ProductionOrderHeaders
Keyadministration_idproduction_order_header_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASISBASISAPPURENPC
Write licensesPRODUCTIE
ScopesFLEDGE_PORTALFLEDGE_TERMINAL

Example requests

A page of rows, with only the fields you need. See Authentication for the token.

curl -G "https://odata-api.fledge.nl/v2-8/ProductionOrderHeaders" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=production_order_header_id,block_hour_booking,cost_total_post_calculation,cost_total_pre_calculation' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/ProductionOrderHeaders');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'production_order_header_id,block_hour_booking,cost_total_post_calculation,cost_total_pre_calculation');
url.searchParams.set('$top', '50');

const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();
var url = "https://odata-api.fledge.nl/v2-8/ProductionOrderHeaders" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("production_order_header_id,block_hour_booking,cost_total_post_calculation,cost_total_pre_calculation"),
    "$top=" + Uri.EscapeDataString("50"));

http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);

One row by its key:

GET https://odata-api.fledge.nl/v2-8/ProductionOrderHeaders(administration_id=1,production_order_header_id='{production_order_header_id}')

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
production_order_header_idkeyStringOrder nummer
agent_idInt32verwijzing naar de tabel agnt (agent)
appreciationInt32Geeft aan of veer een prod.order waardering in gebruik is: 0 = onbepaald; 1 = waardering toegepast; 2 = geen waardering.
article_idStringArtikelcode
backflushBooleanBackflushing (j/n)
block_hour_bookingBooleanBlokkeer uren: Uren boeken blokkeren (j/n)

When true, no hours can be booked on the order.

business_segment_idInt32Nummer
change_dateDateDatum wijzig
changed_byInt32User wijzig
cost_material_post_calculationDecimalKostprijs mat. nc: Kostprijs materiaal nc
cost_material_pre_calculationDecimalKostprijs mat. vc: Kostprijs materiaal vc
cost_operations_post_calculationDecimalKostprijs bew. nc: Kostprijs bewerkingen nc
cost_operations_pre_calculationDecimalKostprijs bew. vc: Kostprijs bewerkingen vc
cost_order_price_post_calculationDecimalKostprijs ovk. nc: Kostprijs orderkosten nc
cost_order_price_pre_calculationDecimalKostprijs ovk. vc: Kostprijs orderkosten vc
cost_outsourcing_post_calculationDecimalKostprijs uitb. nc: Kostprijs uitbesteding nc
cost_outsourcing_pre_calculationDecimalKostprijs uitb. vc: Kostprijs uitbesteding vc
cost_purchase_part_post_calculationDecimalKostprijs kpd. nc: Kostprijs koopdeel nc
cost_purchase_part_post_calculation_current_levelDecimalKostprijs kmdelen zelf nc: Kostprijs koop/maakdelen van de schrap zelf NC.
cost_purchase_part_pre_calculationDecimalKostprijs kpd. vc: Kostprijs koopdeel vc
cost_purchase_part_pre_calculation_current_levelDecimalKostprijs kmdelen zelf vc: Kostprijs koop/maakdelen van de schrap zelf VC.
cost_total_post_calculationDecimalTotaal kostprijs nc

Stored total of the booked cost, shown on the margin tab of a historic order. Not always recalculated: for costs prefer the sum of the assemblies' post_calculation_total.

cost_total_pre_calculationDecimalTotaal kostprijs vc

Stored total of the planned cost, shown on the margin tab of a historic order. Not always recalculated: for costs prefer the assemblies (see the post-calculation skill).

created_byInt32User aanmaak
creation_dateDateDatum aanmaak
customer_referenceStringUw referentie
debtor_idInt32Debiteurnummer

The customer; empty or 0 for an order made for stock.

description_1StringOmschrijving
description_2StringOmschrijving
description_3StringOmschrijving
drawing_numberStringTekening nummer
last_deliveryDateDatum laatste gereedmelding

The date of the last ready report (Datum laatste gereedmelding), not a planned delivery date.

memoStringMemo
net_price_gross_price_manual_priceInt32Netto/Bruto/Handmatig
order_dateDateDatum order

The intake date (intakedatum).

our_referenceStringOnze referentie
overrun_for_operationDecimalOpslag bewerking
overrun_purchase_items_post_calculationDecimalOpslag kpd. NC: Opslag koopdelen NC
overrun_machine_post_calculationDecimalOpslag machine NC
overrun_manual_post_calculationDecimalOpslag man NC
overrun_materialDecimalOpslag materiaal
overrun_material_post_calculationDecimalOpslag mat. NC: Opslag materiaal NC
overrun_outsourcingDecimalOpslag uitbesteding
overrun_outsourcing_post_calculationDecimalOpslag uitb. NC: Opslag uitbesteding NC
overrun_purchase_itemsDecimalOpslag koopdeel
planningBooleanPlannen: Geeft aan of de order automatisch geimporteerd moet worden in de planningsmodule (zodra de orderstatus dit toelaat).
planning_dateDateDatum planning

The order's planned date (planningsdatum). The production orderflow's column Planningsdatum shows the assembly's external_delivery_date instead (since 2026.17).

priorityInt32Prioriteit productieorder
production_leaderInt32Mannummer

The employee number of the production leader (navigation ProjectLeader).

production_order_status_idInt32Status

A free list per administration (ProductionOrderStatuses), not the orderflow and not kept up to date by it. For where an order is, read the root assembly's open ProductionOrderAssemblyStatuses.

production_order_type_idInt32Soort order
project_step_idInt32Projectstapnummer
relation_idInt32Relatienr. deb.: Relatienummer debiteur
repair_orderBooleanReparatieorder (j/n)
revenue_group_idInt32Omzetgroep
revisionStringRevisie
salesman_idInt32Verkopernummer
sales_order_header_idStringVerkoopordernummer

The sales order, when set. The app's sales flow links the sales status line instead (SalesOrderLineStatuses.production_order_header_id) and doesn't always fill this: check both.

sales_order_line_idInt32Regelnummer
selectionStringSelectie

A search string the backend builds; not user data.

subsidy_scheme_idStringCode
total_hours_post_calculationInt32Totaal uren nc

A stored total the Fledge API doesn't maintain; compute booked hours from bookings.

total_hours_pre_calculationInt32Totaal uren vc

A stored total the Fledge API doesn't maintain; compute planned hours from operations.

warehouse_address_idInt32Adresnummer
warehouse_aisle_idInt32Magazijn
warehouse_shelf_idInt32Locatie
week_orderInt32Week order
week_planningInt32Week planning
work_in_progress_mukoDecimalOHW-muko: Nettobedrag onderhanden werk MUKO dat op de order aanwezig is
work_in_progress_on_orderDecimalOHW-bewerkingen: Nettobedrag onderhanden werk bewerkingen dat op de order aanwezig is

Relations

Read a related row or list in the same request with $expand, and give it its own $select; a list also needs a $top.

NavigationEntity set
AdministrationAdministrationsone
AgentAgentsone
ArticlesArticlesone
BusinessSegmentBusinessSegmentsone
CreatedByUsersone
DebtorDebtorsone
ModifiedByUsersone
ProductionOrderStatusProductionOrderStatusesone
ProductionOrderTypeProductionOrderTypesone
ProjectLeaderEmployeesone
ProjectStepProjectStepsone
RelationRelationsone
RevenueGroupRevenueGroupsone
SalesmanSalesmenone
SalesOrderLineSalesOrderLinesone
SubsidySchemeSubsidySchemesone
WarehouseAddressWarehouseAddressesone
WarehouseAisleWarehouseAislesone
WarehouseShelfWarehouseShelfsone
DocumentLinksDocumentLinksmany
EmployeeOperationLinksEmployeeOperationLinksmany
PreCalculationSubOperationsPreCalculationSubOperationsmany
ProductionOrderAssembliesProductionOrderAssembliesmany
ProductionOrderAssemblyStatusesProductionOrderAssemblyStatusesmany
SalesOrderLinesStatusesSalesOrderLineStatusesmany
ServiceProductionLinksServiceProductionLinksmany

Actions

nextId

GET https://odata-api.fledge.nl/v2-8/ProductionOrderHeaders/nextId(…)

Returns ProductionOrderHeaderNextIdResultDto

Licenses: BASIS, BASISAPP, PRODUCTIE

Wingman