katana_public_api_client.models.manufacturing_order_list_response¶
katana_public_api_client.models.manufacturing_order_list_response
¶
Classes¶
ManufacturingOrderListResponse
¶
Response containing a list of manufacturing orders with pagination support for retrieving production data.
Example
{'data': [{'id': 3001, 'status': 'IN_PROGRESS', 'order_no': 'MO-2024-001', 'variant_id': 2101, 'planned_quantity': 50, 'actual_quantity': 35, 'location_id': 1, 'order_created_date': '2024-01-15T08:00:00Z', 'production_deadline_date': '2024-01-25T17:00:00Z', 'additional_info': 'Priority order for new product launch', 'is_linked_to_sales_order': True, 'ingredient_availability': 'IN_STOCK', 'total_cost': 12500.0, 'total_actual_time': 140.5, 'total_planned_time': 200.0, 'sales_order_id': 2001, 'sales_order_row_id': 2501, 'sales_order_delivery_deadline': '2024-01-30T12:00:00Z', 'material_cost': 8750.0, 'subassemblies_cost': 2250.0, 'operations_cost': 1500.0, 'serial_numbers': [{'id': 1, 'transaction_id': 'MO-2024-001-001', 'serial_number': 'PKS-001-240115', 'resource_type': 'ManufacturingOrder', 'resource_id': 3001, 'transaction_date': '2024-01-15T08:00:00Z', 'quantity_change': 1}, {'id': 2, 'transaction_id': 'MO-2024-001-002', 'serial_number': 'PKS-002-240115', 'resource_type': 'ManufacturingOrder', 'resource_id': 3001, 'transaction_date': '2024-01-15T08:00:00Z', 'quantity_change': 1}, {'id': 3, 'transaction_id': 'MO-2024-001-003', 'serial_number': 'PKS-003-240115', 'resource_type': 'ManufacturingOrder', 'resource_id': 3001, 'transaction_date': '2024-01-15T08:00:00Z', 'quantity_change': 1}], 'created_at': '2024-01-15T08:00:00Z', 'updated_at': '2024-01-20T14:30:00Z', 'deleted_at': None}]}