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:
parent
7ea5e97b58
commit
8d64acf527
|
@ -23,7 +23,7 @@ import java.util.ArrayList;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import org.adempiere.exceptions.AdempiereException;
|
import org.adempiere.exceptions.FillMandatoryException;
|
||||||
import org.compiere.util.CLogger;
|
import org.compiere.util.CLogger;
|
||||||
import org.compiere.util.DB;
|
import org.compiere.util.DB;
|
||||||
|
|
||||||
|
@ -175,11 +175,11 @@ public class MTab extends X_AD_Tab
|
||||||
{
|
{
|
||||||
if(getAD_ColumnSortOrder_ID() == 0)
|
if(getAD_ColumnSortOrder_ID() == 0)
|
||||||
{
|
{
|
||||||
throw new AdempiereException("@FillMandatory@ @AD_ColumnSortOrder_ID@");
|
throw new FillMandatoryException("AD_ColumnSortOrder_ID");
|
||||||
}
|
}
|
||||||
if(getAD_ColumnSortYesNo_ID() == 0)
|
if(getAD_ColumnSortYesNo_ID() == 0)
|
||||||
{
|
{
|
||||||
throw new AdempiereException("@FillMandatory@ @AD_ColumnSortYesNo_ID@");
|
throw new FillMandatoryException("AD_ColumnSortYesNo_ID");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue