Commit Graph

6 Commits

Author SHA1 Message Date
Loretta 3c479e1ad5 Add stock-taking enhancements and validation updates
Enhanced stock-taking functionality by introducing the `CloseStockTaking` method in `StockTakingDbContext` to manage session closures with validation. Added the `IsReadyForClose` method to `IMgStockTaking` and its implementation in `MgStockTaking`. Integrated `FruitBankDbContext` for stock updates.

Improved logging in `StockSignalREndpointServer` and added a new SignalR endpoint for closing stock-taking sessions. Updated `AddStockTaking` to initialize properties for new entries.

Simplified loading logic in `OrderItemDtoDbTable` by commenting out unnecessary `.ThenLoad` chains. Enhanced validation in `RefreshStockTakingItemMeasuredValuesFromPallets` and adjusted return statements in `AddOrUpdateMeasuredStockTakingItemPallet` and `UpdateStockTakingItemPallet` to fetch updated entities.

These changes improve maintainability, robustness, and functionality across the codebase.
2025-12-08 15:49:50 +01:00
Loretta 120ed09738 .Net10, VS2026; StockTaking in progress... 2025-12-01 16:17:57 +01:00
Loretta 7fb047fd28 Implement CheckAndUpdateProductManageInventoryMethodToManageStock to MgEventConsumer; improvements; 2025-10-24 08:12:35 +02:00
Loretta 6fecdd2317 ShippingItemPallets improvements 2025-10-05 14:55:36 +02:00
Loretta 38ec5c475e improvements 2024-11-15 15:15:56 +01:00
Loretta bf21342abb Improvements, refactoring, fixes, etc... 2024-11-13 10:57:58 +01:00