Browse Source

Made StockHolding Unrecoverable

Kenric Nugteren 1 year ago
parent
commit
6cea2be368
1 changed files with 1 additions and 0 deletions
  1. 1 0
      prs.classes/Entities/Stock/StockHolding.cs

+ 1 - 0
prs.classes/Entities/Stock/StockHolding.cs

@@ -222,6 +222,7 @@ namespace Comal.Classes
     // 20 seconds.  Have moved update logic to StockHoldingStore / StockMovementStore so updates are a bit slower,
     // but reads are now much faster.
     [UserTracking(typeof(StockMovement))]
+    [Unrecoverable]
     public class StockHolding : StockEntity, IRemotable, IPersistent, IOneToMany<StockLocation>, IOneToMany<Product>, 
         IStockHolding, ILicense<WarehouseLicense>
     {