|
@@ -302,7 +302,6 @@ public class StockHoldingGrid : DynamicDataGrid<StockHolding>
|
|
|
mout.JobRequisitionItem.ID = requiitem.ID;
|
|
|
mout.Type = StockMovementType.TransferOut;
|
|
|
mout.Date = DateTime.Now;
|
|
|
- mout.IsTransfer = true;
|
|
|
mout.Employee.ID = App.EmployeeID;
|
|
|
mout.Notes = $"Moved to {target.Code} by {App.EmployeeName}";
|
|
|
updates.Add(mout);
|
|
@@ -319,7 +318,6 @@ public class StockHoldingGrid : DynamicDataGrid<StockHolding>
|
|
|
min.Transaction = mout.Transaction;
|
|
|
min.Type = StockMovementType.TransferIn;
|
|
|
min.Date = mout.Date;
|
|
|
- min.IsTransfer = true;
|
|
|
min.Employee.ID = App.EmployeeID;
|
|
|
min.Notes = $"Moved From {holding.Location.Code} by {App.EmployeeName}";
|
|
|
updates.Add(min);
|
|
@@ -366,7 +364,6 @@ public class StockHoldingGrid : DynamicDataGrid<StockHolding>
|
|
|
movement.Job.Name = Location.Job.Name;
|
|
|
movement.Location.Description = Location.Description;
|
|
|
movement.Date = DateTime.Now;
|
|
|
- movement.IsTransfer = false;
|
|
|
movement.Employee.ID = App.EmployeeID;
|
|
|
movement.Type = StockMovementType.Receive;
|
|
|
|
|
@@ -434,7 +431,6 @@ public class StockHoldingGrid : DynamicDataGrid<StockHolding>
|
|
|
xferout.JobRequisitionItem.ID = requiID;
|
|
|
xferout.Issued = issueObj.Qty;
|
|
|
xferout.Transaction = issue.Transaction;
|
|
|
- xferout.IsTransfer = true;
|
|
|
xferout.System = true;
|
|
|
xferout.Notes = $"Issued by {App.EmployeeName}";
|
|
|
xferout.Date = issueObj.Date;
|
|
@@ -446,7 +442,6 @@ public class StockHoldingGrid : DynamicDataGrid<StockHolding>
|
|
|
xferin.JobRequisitionItem.ID = requiID;
|
|
|
xferin.Received = issueObj.Qty;
|
|
|
xferin.Transaction = issue.Transaction;
|
|
|
- xferin.IsTransfer = true;
|
|
|
xferin.System = true;
|
|
|
xferin.Notes = $"Issued by {App.EmployeeName}";
|
|
|
xferin.Date = issueObj.Date;
|
|
@@ -527,7 +522,6 @@ public class StockHoldingGrid : DynamicDataGrid<StockHolding>
|
|
|
var movement = CreateMovementFromHolding(holding);
|
|
|
movement.JobRequisitionItem.ID = requiitems[0].ID;
|
|
|
movement.Received = holding.Available;
|
|
|
- movement.IsTransfer = true;
|
|
|
movement.Type = StockMovementType.TransferIn;
|
|
|
|
|
|
var smg = CheckStockMovementGrid(MovementAction.Transfer, holding);
|
|
@@ -543,7 +537,6 @@ public class StockHoldingGrid : DynamicDataGrid<StockHolding>
|
|
|
var other = CreateMovementFromHolding(holding);
|
|
|
other.Issued = movement.Received;
|
|
|
other.Transaction = movement.Transaction;
|
|
|
- other.IsTransfer = true;
|
|
|
other.Type = StockMovementType.TransferOut;
|
|
|
other.JobRequisitionItem.ID = requiitems[0].ID;
|
|
|
|