Skip to content

Commit

Permalink
#4122 bug repaired
Browse files Browse the repository at this point in the history
  • Loading branch information
metas-rc committed May 29, 2018
1 parent f2dfe9c commit e1a1420
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public Object getParameterDefaultValue(final String parameterName)
{
final I_M_HU cu = getSelectedRow().getM_HU(); // should work, because otherwise the param is not even shown.

return HUTransformService.newInstance().getMaximumQtyCU(cu, getSelectedRow().getC_UOM());
return HUTransformService.newInstance().getMaximumQtyCU(cu, getSelectedRow().getC_UOM()).getQty();
}
else if (WEBUI_M_HU_Transform.PARAM_QtyTU.equals(parameterName))
{
Expand Down

0 comments on commit e1a1420

Please sign in to comment.