Revert partially revision 11281 / reverting the wrong change on GridField
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2897730
This commit is contained in:
parent
e0dff39270
commit
1cbd9b01c1
|
@ -323,21 +323,13 @@ public class GridField
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Numeric Keys and Created/Updated as well as
|
// Numeric Keys and Created/Updated as well as
|
||||||
// DocumentNo/Value/ASI are not mandatory (persistence layer manages them)
|
// DocumentNo/Value/ASI ars not mandatory (persistency layer manages them)
|
||||||
if (m_vo.ColumnName.equals("DocumentNo") && m_vo.AD_Column_ID == 53251){
|
if ((m_vo.IsKey && m_vo.ColumnName.endsWith("_ID"))
|
||||||
// TODO - Find why Report Parameter marked as Mandatory is not displayed as Mandatory?
|
|
||||||
// Find better solution?
|
|
||||||
// https://sourceforge.net/tracker/?func=detail&aid=2902292&group_id=176962&atid=879334
|
|
||||||
// https://sourceforge.net/tracker/?func=detail&aid=2897730&group_id=176962&atid=879332
|
|
||||||
return true;
|
|
||||||
} else if ((m_vo.IsKey && m_vo.ColumnName.endsWith("_ID"))
|
|
||||||
|| m_vo.ColumnName.startsWith("Created") || m_vo.ColumnName.startsWith("Updated")
|
|| m_vo.ColumnName.startsWith("Created") || m_vo.ColumnName.startsWith("Updated")
|
||||||
|| m_vo.ColumnName.equals("Value")
|
|| m_vo.ColumnName.equals("Value")
|
||||||
|| m_vo.ColumnName.equals("DocumentNo")
|
|| m_vo.ColumnName.equals("DocumentNo")
|
||||||
|| m_vo.ColumnName.equals("M_AttributeSetInstance_ID")) // 0 is valid
|
|| m_vo.ColumnName.equals("M_AttributeSetInstance_ID")) // 0 is valid
|
||||||
{
|
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
|
|
||||||
// Mandatory if displayed
|
// Mandatory if displayed
|
||||||
return isDisplayed (checkContext);
|
return isDisplayed (checkContext);
|
||||||
|
|
Loading…
Reference in New Issue