FR 3110938 - Mandatory Incorrectly Spelled
http://sourceforge.net/support/tracker.php?aid=3110938
This commit is contained in:
parent
d283c2402d
commit
f81176b7dd
|
@ -86,7 +86,7 @@ public class MAttributeSet extends X_M_AttributeSet
|
||||||
setIsSerNo (false);
|
setIsSerNo (false);
|
||||||
setIsSerNoMandatory (false);
|
setIsSerNoMandatory (false);
|
||||||
setIsInstanceAttribute(false);
|
setIsInstanceAttribute(false);
|
||||||
setMandatoryType (MANDATORYTYPE_NotMandatary);
|
setMandatoryType (MANDATORYTYPE_NotMandatory);
|
||||||
}
|
}
|
||||||
} // MAttributeSet
|
} // MAttributeSet
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ public class MAttributeSet extends X_M_AttributeSet
|
||||||
*/
|
*/
|
||||||
public boolean isMandatory()
|
public boolean isMandatory()
|
||||||
{
|
{
|
||||||
return !MANDATORYTYPE_NotMandatary.equals(getMandatoryType())
|
return !MANDATORYTYPE_NotMandatory.equals(getMandatoryType())
|
||||||
|| isLotMandatory()
|
|| isLotMandatory()
|
||||||
|| isSerNoMandatory()
|
|| isSerNoMandatory()
|
||||||
|| isGuaranteeDateMandatory();
|
|| isGuaranteeDateMandatory();
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 20100614L;
|
private static final long serialVersionUID = 20110308L;
|
||||||
|
|
||||||
/** Standard Constructor */
|
/** Standard Constructor */
|
||||||
public X_M_AttributeSet (Properties ctx, int M_AttributeSet_ID, String trxName)
|
public X_M_AttributeSet (Properties ctx, int M_AttributeSet_ID, String trxName)
|
||||||
|
@ -320,8 +320,8 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste
|
||||||
|
|
||||||
/** MandatoryType AD_Reference_ID=324 */
|
/** MandatoryType AD_Reference_ID=324 */
|
||||||
public static final int MANDATORYTYPE_AD_Reference_ID=324;
|
public static final int MANDATORYTYPE_AD_Reference_ID=324;
|
||||||
/** Not Mandatary = N */
|
/** Not Mandatory = N */
|
||||||
public static final String MANDATORYTYPE_NotMandatary = "N";
|
public static final String MANDATORYTYPE_NotMandatory = "N";
|
||||||
/** Always Mandatory = Y */
|
/** Always Mandatory = Y */
|
||||||
public static final String MANDATORYTYPE_AlwaysMandatory = "Y";
|
public static final String MANDATORYTYPE_AlwaysMandatory = "Y";
|
||||||
/** When Shipping = S */
|
/** When Shipping = S */
|
||||||
|
@ -367,9 +367,9 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_M_LotCtl getM_LotCtl() throws RuntimeException
|
public org.compiere.model.I_M_LotCtl getM_LotCtl() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (I_M_LotCtl)MTable.get(getCtx(), I_M_LotCtl.Table_Name)
|
return (org.compiere.model.I_M_LotCtl)MTable.get(getCtx(), org.compiere.model.I_M_LotCtl.Table_Name)
|
||||||
.getPO(getM_LotCtl_ID(), get_TrxName()); }
|
.getPO(getM_LotCtl_ID(), get_TrxName()); }
|
||||||
|
|
||||||
/** Set Lot Control.
|
/** Set Lot Control.
|
||||||
|
@ -395,9 +395,9 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public I_M_SerNoCtl getM_SerNoCtl() throws RuntimeException
|
public org.compiere.model.I_M_SerNoCtl getM_SerNoCtl() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (I_M_SerNoCtl)MTable.get(getCtx(), I_M_SerNoCtl.Table_Name)
|
return (org.compiere.model.I_M_SerNoCtl)MTable.get(getCtx(), org.compiere.model.I_M_SerNoCtl.Table_Name)
|
||||||
.getPO(getM_SerNoCtl_ID(), get_TrxName()); }
|
.getPO(getM_SerNoCtl_ID(), get_TrxName()); }
|
||||||
|
|
||||||
/** Set Serial No Control.
|
/** Set Serial No Control.
|
||||||
|
|
Loading…
Reference in New Issue