The Order and Included Columns should be to fill mandatory

http://sourceforge.net/tracker/?func=detail&atid=879335&aid=2826384&group_id=176962
implementing the Teo's suggestion.

kind regards
victor.perez@e-evolution.com
This commit is contained in:
vpj-cd 2009-07-24 07:18:52 +00:00
parent 7ea5e97b58
commit 8d64acf527
1 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ import java.util.ArrayList;
import java.util.Properties;
import java.util.logging.Level;
import org.adempiere.exceptions.AdempiereException;
import org.adempiere.exceptions.FillMandatoryException;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
@ -175,11 +175,11 @@ public class MTab extends X_AD_Tab
{
if(getAD_ColumnSortOrder_ID() == 0)
{
throw new AdempiereException("@FillMandatory@ @AD_ColumnSortOrder_ID@");
throw new FillMandatoryException("AD_ColumnSortOrder_ID");
}
if(getAD_ColumnSortYesNo_ID() == 0)
{
throw new AdempiereException("@FillMandatory@ @AD_ColumnSortYesNo_ID@");
throw new FillMandatoryException("AD_ColumnSortYesNo_ID");
}
}