Explorar o código

PRS STORES - Requisition Store fix to use Location.ID instead of Holding.ID for creating stockmovements

Nick-PRSDigital@bitbucket.org %!s(int64=2) %!d(string=hai) anos
pai
achega
8038dc994c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      prs.stores/RequisitionStore.cs

+ 1 - 1
prs.stores/RequisitionStore.cs

@@ -271,7 +271,7 @@ namespace Comal.Stores
                 var holdingstyleid = item.Holding.Style.ID;
                 var holdingjobid = item.Holding.Job.ID;
 
-                var locationid = item.Holding.Location.ID;
+                var locationid = item.Location.ID;
                 var productid = item.Product.ID;
                 var styleid = item.Style.ID;
                 var jobid = entity.JobLink.ID;