Mango.Nop.Plugins/Nop.Plugin.Misc.AIPlugin/Domains/DataLayer
Loretta e178c18f80 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:51 +01:00
..
Interfaces .Net10, VS2026; StockTaking in progress... 2025-12-01 16:17:57 +01:00
FilesDbTable.cs Add Mango.Nop.Data project to solution 2025-11-04 15:57:09 +01:00
FruitBankDbContext.cs .Net10, VS2026; StockTaking in progress... 2025-12-01 16:17:57 +01:00
MeasuringItemPalletBaseDbTable.cs Add Mango.Nop.Data project to solution 2025-11-04 15:57:09 +01:00
OrderDtoDbTable.cs StockTaking in progress... 2025-12-04 13:52:46 +01:00
OrderItemDtoDbTable.cs Add stock-taking enhancements and validation updates 2025-12-08 15:49:51 +01:00
OrderItemPalletDbTable.cs SignalR improvements; etc... 2025-10-30 14:54:33 +01:00
PartnerDbTable.cs Add Mango.Nop.Data project to solution 2025-11-04 15:57:09 +01:00
ProductDtoDbTable.cs Add Mango.Nop.Data project to solution 2025-11-04 15:57:09 +01:00
ShippingDbTable.cs improvements, fixes, etc... 2025-11-24 08:27:02 +01:00
ShippingDocumentDbTable.cs improvements 2025-11-21 16:29:12 +01:00
ShippingDocumentToFilesDbTable.cs Add Mango.Nop.Data project to solution 2025-11-04 15:57:09 +01:00
ShippingItemDbTable.cs improvements, fixes, etc... 2025-11-24 08:27:02 +01:00
ShippingItemPalletDbTable.cs improvements, fixes, etc... 2025-11-24 08:27:02 +01:00
StockQuantityHistoryDtoDbTable.cs StockQuantityHistoryExt, StockQuantityHistoryDto; improvements, fixes; 2025-11-13 19:58:39 +01:00
StockTakingDbContext.cs Add stock-taking enhancements and validation updates 2025-12-08 15:49:51 +01:00
StockTakingDbTable.cs StockTaking in progress... 2025-12-04 13:52:46 +01:00
StockTakingItemDbTable.cs StockTaking in progress... 2025-12-04 13:52:46 +01:00
StockTakingItemPalletDbTable.cs .Net10, VS2026; StockTaking in progress... 2025-12-01 16:17:57 +01:00