Skip to content

Commit

Permalink
hide WEBUI_PP_Order_ReverseCandidate for source HU rows
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed Nov 21, 2017
1 parent 6a505a5 commit f2207f9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ protected ProcessPreconditionsResolution checkPreconditionsApplicable()
}

final PPOrderLineRow row = getSingleSelectedRow();
if(row.isSourceHU())
{
return ProcessPreconditionsResolution.rejectWithInternalReason("Not available for source HU line");
}

if (row.getPP_Order_Qty_ID() <= 0)
{
Expand Down

0 comments on commit f2207f9

Please sign in to comment.