IDEMPIERE-493 Add validation for matching. Fixed WMatch passing wrong matchto value to the share controller class ( Match.java ) .

This commit is contained in:
Heng Sin Low 2012-11-08 11:29:12 +08:00
parent 5d253c71e5
commit 59edefdd6b
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ public class WMatch extends Match
else if (e.getTarget() == bProcess)
{
//cmd_process();
cmd_process(xMatchedTable, xMatchedToTable, matchMode.getSelectedIndex(), matchFrom.getSelectedIndex(), matchTo.getSelectedItem(), m_xMatched);
cmd_process(xMatchedTable, xMatchedToTable, matchMode.getSelectedIndex(), matchFrom.getSelectedIndex(), matchTo.getSelectedItem().getLabel(), m_xMatched);
xMatchedTable = (WListbox) cmd_search(xMatchedTable, matchFrom.getSelectedIndex(), (String)matchTo.getSelectedItem().getLabel(), product, vendor, from, to, matchMode.getSelectedIndex() == MODE_MATCHED);
xMatched.setValue(Env.ZERO);
// Status Info