IDEMPIERE-5525 GetWarehouse method ordering storage records by M_Locator_ID (#1941)
This commit is contained in:
parent
a526c7423e
commit
8786d8a51f
|
@ -471,7 +471,7 @@ public class MStorageOnHand extends X_M_StorageOnHand
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sql += " ORDER BY l.PriorityNo DESC, l.M_Locator_ID, s.DateMaterialPolicy";
|
sql += " ORDER BY l.PriorityNo DESC, s.DateMaterialPolicy";
|
||||||
if (!FiFo)
|
if (!FiFo)
|
||||||
sql += " DESC, s.M_AttributeSetInstance_ID DESC ";
|
sql += " DESC, s.M_AttributeSetInstance_ID DESC ";
|
||||||
else
|
else
|
||||||
|
@ -620,7 +620,7 @@ public class MStorageOnHand extends X_M_StorageOnHand
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sql += " ORDER BY l.PriorityNo DESC, l.M_Locator_ID, s.DateMaterialPolicy";
|
sql += " ORDER BY l.PriorityNo DESC, s.DateMaterialPolicy";
|
||||||
if (!FiFo)
|
if (!FiFo)
|
||||||
sql += " DESC, s.M_AttributeSetInstance_ID DESC ";
|
sql += " DESC, s.M_AttributeSetInstance_ID DESC ";
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue