浏览代码

Fix to recreating the stock summary view everytime

Kenric Nugteren 9 月之前
父节点
当前提交
68eeca18e5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      prs.classes/Entities/Stock/StockSummary.cs

+ 1 - 1
prs.classes/Entities/Stock/StockSummary.cs

@@ -150,7 +150,7 @@ namespace Comal.Classes
         {
             // 
             AddTable<ProductInstance>()
-                .AddConstant<object?>(x => x.Job.ID, null);
+                .AddConstant<object?>(x => x.Job.ID, Guid.Empty);
 
             // BOM
             AddTable<JobBillOfMaterialsItem>(new Filter<JobBillOfMaterialsItem>(x => x.Job.ID).IsNotEqualTo(Guid.Empty));