ソースを参照

PRS CLASSES - change JobReqItem Reserved To Allocated, added stocklocation to Supplier

Nick-PRSDigital@bitbucket.org 2 年 前
コミット
7bb81ba4ff

+ 1 - 1
prs.classes/Entities/Job/Requisitions/JobRequisitionItem.cs

@@ -11,7 +11,7 @@ namespace Comal.Classes
     public enum JobRequisitionItemStatus
     {
         NotChecked,
-        Reserved,
+        Allocated,
         TreatmentRequired,
         OrderRequired,
         TreatmentOnOrder,

+ 3 - 0
prs.classes/Entities/Supplier/Supplier.cs

@@ -84,6 +84,8 @@ namespace Comal.Classes
         [Formula(typeof(SupplierBalance))]
         public double Balance { get; set; }
 
+        public StockLocationLink DefaultLocation { get; set; }
+
         public override string ToString()
         {
             return string.Format("{0}: {1}", Code, Name);
@@ -95,6 +97,7 @@ namespace Comal.Classes
             Delivery = new Address();
             Postal = new Address();
             Email = "";
+            DefaultLocation = new StockLocationLink();
         }
     }
 }