Skip to content

Commit

Permalink
#181 minor javadoc
Browse files Browse the repository at this point in the history
FRESH-1504 #181 Transforming HU in Handling Unit Editor
  • Loading branch information
metas-ts committed Mar 3, 2017
1 parent ae86ba6 commit 7acd852
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ public Object getParameterDefaultValue(final IProcessDefaultParameter parameter)
return DEFAULT_VALUE_NOTAVAILABLE;
}

/**
* This process is applicable if there is exactly one HU-row selected
*/
@Override
protected ProcessPreconditionsResolution checkPreconditionsApplicable()
{
Expand Down Expand Up @@ -176,7 +179,7 @@ protected String doIt() throws Exception
{
throw new FillMandatoryException(PARAM_M_HU_PI_Item_Product_ID);
}
final I_C_BPartner bpartner = null; // TODO
final I_C_BPartner bpartner = getSingleSelectedRow().getM_HU().getC_BPartner();
final I_M_HU_PI_Item luPIItem = findLU_HU_PI_Item(p_M_HU_PI_Item_Product, p_M_LU_HU_PI_ID, bpartner);
action_SplitTU_To_NewLU(row, p_QtyTU, p_M_HU_PI_Item_Product, luPIItem, p_HUPlanningReceiptOwnerPM);
break;
Expand All @@ -189,7 +192,7 @@ protected String doIt() throws Exception
//
default:
{
throw new AdempiereException("@Unknown@ " + action);
throw new AdempiereException("@Unknown@ @Action@ " + action);
}
}

Expand Down

0 comments on commit 7acd852

Please sign in to comment.