Materials Management
Materials are the raw inputs for your production process — ingredients, components, packaging, and anything else you consume to create finished products. Krafte gives you full control over material inventory, pricing, categories, and stock movements.
Materials List Page
The Materials page displays all your raw materials in a searchable, sortable table. You can quickly see current stock levels, pricing, and total inventory cost. On mobile devices, materials are displayed as cards for easier reading.
- Navigate to Materials in the sidebar menu.
- The table displays the following columns: Name (with image thumbnail if available), Category (color-coded badge), Unit (pcs, kg, l, m, etc.), Stock (current quantity), Price (per unit in base currency), Total Cost (stock × price), and Actions (edit, delete).
- Use the search bar at the top to filter materials by name.
- Click a column header to sort the table by that column (ascending/descending).
- Click on a material's name to open its detail page with full history and information.
- Use the category filter dropdown to show only materials from a specific category.
Creating a New Material
To add a new raw material to your inventory, use the creation form. You can set up all properties including pricing in both currencies, stock limits, and category assignment.
- On the Materials page, click the + (Add) button in the top-right corner.
- Enter the material name (e.g., "Wheat Flour", "Steel Rod 10mm", "Cardboard Box 30×20").
- Select the unit of measurement from the dropdown: pcs (pieces), kg (kilograms), l (liters), or m (meters).
- Enter the price per unit in your base currency (e.g., 2.50 EUR).
- If you have a secondary currency enabled, enter the price in secondary currency as well (e.g., 11.25 PLN). You can also let the system auto-calculate based on the exchange rate.
- Set the low stock limit — a number below which the system will trigger a low stock alert on the Dashboard (e.g., set to 50 if you want to be warned when stock drops below 50 units).
- Optionally upload an image of the material by clicking the image placeholder and selecting a file.
- Select one or more categories to organize the material (e.g., "Raw Ingredients", "Packaging").
- Click Save to create the material. It will appear in the materials list with zero stock — you can then add stock through a transaction.
Editing and Deleting Materials
You can modify any material's properties or remove materials that are no longer used. Deleting a material is permanent, so Krafte asks for confirmation.
- Find the material in the list and click the edit icon (pencil) in the Actions column, or open the material detail page and click Edit.
- Modify any fields — name, unit, price, low stock limit, categories, or image.
- Click Save to apply the changes. The material list and all related calculations will update automatically.
- To delete a material, click the delete icon (trash can) in the Actions column.
- A confirmation dialog will appear asking you to confirm the deletion. Review the warning — if this material is used in product recipes, those recipes will be affected.
- Click Confirm to permanently delete the material, or Cancel to go back.
Stock Transactions
Stock transactions are how you record material coming in (purchases, returns) or going out (usage, waste, adjustments). Every transaction creates a history entry for full traceability.
- On the Materials page, click the stock number (the quantity displayed in the Stock column) for the material you want to adjust.
- A transaction dialog will appear. Choose the transaction type: Income (adding stock) or Expense (removing stock).
- Enter the quantity to add or remove.
- Enter the price per unit for this specific transaction (this may differ from the default material price, e.g., a special purchase price).
- Select a transaction category from the dropdown (e.g., "Purchase", "Production Usage", "Waste", "Adjustment"). Transaction categories are configured in Settings.
- Optionally add a comment to describe the reason for this transaction (e.g., "Received from Supplier X, Invoice #1234").
- Click Save to record the transaction. The material's stock will update immediately.
- You can view the full transaction history on the material's detail page, showing every stock movement with date, type, quantity, price, category, and comment.
Material Categories
Categories help you organize materials into logical groups (e.g., "Raw Ingredients", "Packaging", "Chemicals"). Each category has a color for visual identification throughout the platform.
- Navigate to Settings > Categories from the sidebar menu.
- Select the Material Categories tab.
- Click Add Category to create a new category.
- Enter a category name (e.g., "Packaging Materials").
- Choose a color for the category badge by clicking the color picker.
- Click Save to create the category.
- To edit a category, click its name or the edit icon. To delete a category, click the delete icon (materials assigned to it will become uncategorized).
- To assign a category to a material, edit the material and select the category from the categories dropdown.
Low Stock Alerts
Low stock alerts help you avoid running out of critical materials. When a material's stock falls below its configured limit, the system generates a visual warning on the Dashboard and on the Materials page.
- When creating or editing a material, set the lowStockLimit field to your desired threshold (e.g., 100 for a material you consume heavily).
- When the material's current stock drops below this limit, a low stock alert will appear on the Dashboard in the alerts section.
- On the Materials page, the material's stock value will be highlighted in red or orange to visually indicate it is below the threshold.
- Use the low stock filter on the Materials page to show only materials that are currently below their limit — this is useful for creating purchase orders.
- To disable low stock alerts for a material, set the lowStockLimit to 0 (zero).
Warehouse Transfers
If you have enabled the multi-warehouse feature in Settings, you can transfer materials between warehouses. This is useful when you store materials in different locations and need to move stock for production.
- Ensure multi-warehouse is enabled in Settings > Features.
- Navigate to the Materials page and find the material you want to transfer.
- Click the transfer icon or open the material detail page and select Transfer.
- Select the source warehouse ("From") — the warehouse that currently holds the stock.
- Select the destination warehouse ("To") — the warehouse where you want to send the stock.
- Enter the quantity to transfer. The system will validate that the source warehouse has enough stock.
- Click Confirm Transfer. The stock will be deducted from the source warehouse and added to the destination warehouse instantly.
- The transfer is recorded in the transaction history for both warehouses.