Skip to main content

List Production Iteration FIFO Layers

GET 

/api/manufacturing/production-iterations/0fa1c2bb-8b1b-4c5a-9d63-1f4b5e6d7c80/fifo-layers

Paginated FIFO layers scoped to a single production iteration — every layer (output + any auxiliary) created by the underlying Record Production call. Scope is fifo_layers.production_iteration_id = {iteration.id}. Mirrors the MO-output-line FIFO-layers endpoint so the frontend datatable can reuse the same contract.

Path parameters:

  • moProductionIteration (string, UUID) — the iteration's UUID primary key.

Query parameters (Spatie QueryBuilder):

  • per_page — items per page (default: 15)
  • sort — sort field. Prefix with - for DESC. Allowed: id, fifo_layer_date, original_quantity, fulfilled_quantity, avg_cost, total_cost, created_at. Default: -created_at
  • filter[warehouse_id] — exact match
  • filter[product_id] — exact match
  • filter[search] — LIKE on product SKU or product name
  • filter[fifo_layer_date_from], filter[fifo_layer_date_to] — date range (Y-m-d)
  • filter[avg_cost_min], filter[avg_cost_max] — avg_cost range

Request

Responses

OK

Response Headers
    Content-Type