ソースを参照

PickingList "Update Stock Movements" now uses "Filled" date instead of current time

frogsoftware 1 年間 前
コミット
3902d50cdd

+ 1 - 1
prs.desktop/prsdesktop.iss

@@ -5,7 +5,7 @@
 #pragma verboselevel 9
 #pragma verboselevel 9
 
 
 #define MyAppName "PRS Desktop"
 #define MyAppName "PRS Desktop"
-#define MyAppVersion "7.79a"
+#define MyAppVersion "7.79b"
 #define MyAppPublisher "PRS Digital"
 #define MyAppPublisher "PRS Digital"
 #define MyAppURL "https://www.prs-software.com.au"
 #define MyAppURL "https://www.prs-software.com.au"
 #define MyAppExeName "PRSDesktop.exe"
 #define MyAppExeName "PRSDesktop.exe"

+ 1 - 1
prs.licensing/PRSLicensing.iss

@@ -5,7 +5,7 @@
 #pragma verboselevel 9
 #pragma verboselevel 9
 
 
 #define MyAppName "PRS Licensing"
 #define MyAppName "PRS Licensing"
-#define MyAppVersion "7.79a"
+#define MyAppVersion "7.79b"
 #define MyAppPublisher "PRS Digital"
 #define MyAppPublisher "PRS Digital"
 #define MyAppURL "https://www.prs-software.com.au"
 #define MyAppURL "https://www.prs-software.com.au"
 #define MyAppExeName "PRSLicensing.exe"
 #define MyAppExeName "PRSLicensing.exe"

+ 1 - 1
prs.server/PRSServer.iss

@@ -5,7 +5,7 @@
 #pragma verboselevel 9
 #pragma verboselevel 9
 
 
 #define MyAppName "PRS Server"
 #define MyAppName "PRS Server"
-#define MyAppVersion "7.79a"
+#define MyAppVersion "7.79b"
 #define MyAppPublisher "PRS Digital"
 #define MyAppPublisher "PRS Digital"
 #define MyAppURL "https://www.prs-software.com.au"
 #define MyAppURL "https://www.prs-software.com.au"
 #define MyAppExeName "PRSServer.exe"
 #define MyAppExeName "PRSServer.exe"

+ 3 - 3
prs.stores/RequisitionStore.cs

@@ -297,13 +297,13 @@ namespace Comal.Stores
                     // get negatives, it means probably our number are wrong I think.
                     // get negatives, it means probably our number are wrong I think.
 
 
                     // Transfer the necessary balance from General Stock...
                     // Transfer the necessary balance from General Stock...
-                    var from = CreateStockMovement(entity.Employee.ID, DateTime.Now, batch.ID, productid, locationid, styleid, Guid.Empty,
+                    var from = CreateStockMovement(entity.Employee.ID, entity.Filled, batch.ID, productid, locationid, styleid, Guid.Empty,
                         dimensions, txnid, true, string.Format("Requisition #{0} Internal Transfer", entity.Number));
                         dimensions, txnid, true, string.Format("Requisition #{0} Internal Transfer", entity.Number));
                     from.Issued = extraRequired;
                     from.Issued = extraRequired;
                     from.Type = StockMovementType.TransferOut;
                     from.Type = StockMovementType.TransferOut;
 
 
                     // ... to the job.
                     // ... to the job.
-                    var to = CreateStockMovement(entity.Employee.ID, DateTime.Now, batch.ID, productid, locationid, styleid, jobid, dimensions, txnid, true,
+                    var to = CreateStockMovement(entity.Employee.ID, entity.Filled, batch.ID, productid, locationid, styleid, jobid, dimensions, txnid, true,
                         string.Format("Requisition #{0} Internal Transfer", entity.Number));
                         string.Format("Requisition #{0} Internal Transfer", entity.Number));
                     to.Received = extraRequired;
                     to.Received = extraRequired;
                     to.Type = StockMovementType.TransferIn;
                     to.Type = StockMovementType.TransferIn;
@@ -314,7 +314,7 @@ namespace Comal.Stores
                     // Now we have a full qty in the job holding, and we can issue to site.
                     // Now we have a full qty in the job holding, and we can issue to site.
                 }
                 }
 
 
-                var mvt = CreateStockMovement(entity.Employee.ID, DateTime.Now, batch.ID, productid, locationid, styleid, jobid, dimensions, txnid,
+                var mvt = CreateStockMovement(entity.Employee.ID, entity.Filled, batch.ID, productid, locationid, styleid, jobid, dimensions, txnid,
                     false,
                     false,
                     string.Format("Requisition #{0}", entity.Number));
                     string.Format("Requisition #{0}", entity.Number));
                 mvt.Issued = qty;
                 mvt.Issued = qty;