* Bug [ 1662433 ] Error in window process audit, log tab
This commit is contained in:
parent
52bbbc307f
commit
1be2c0f910
|
|
@ -311,6 +311,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
||||||
}
|
}
|
||||||
} // for all fields
|
} // for all fields
|
||||||
|
|
||||||
|
if (! m_mTable.getTableName().equals(X_AD_PInstance_Log.Table_Name)) { // globalqss, bug 1662433
|
||||||
// Add Standard Fields
|
// Add Standard Fields
|
||||||
if (m_mTable.getField("Created") == null)
|
if (m_mTable.getField("Created") == null)
|
||||||
{
|
{
|
||||||
|
|
@ -340,6 +341,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
||||||
m_vo.AD_Window_ID, m_vo.AD_Tab_ID, false, false, false));
|
m_vo.AD_Window_ID, m_vo.AD_Tab_ID, false, false, false));
|
||||||
m_mTable.addField(updatedBy);
|
m_mTable.addField(updatedBy);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
} // loadFields
|
} // loadFields
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1674,6 +1674,7 @@ public final class MRole extends X_AD_Role
|
||||||
tableName = TableNameIn;
|
tableName = TableNameIn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! tableName.equals(X_AD_PInstance_Log.Table_Name)) { // globalqss, bug 1662433
|
||||||
// Client Access
|
// Client Access
|
||||||
if (fullyQualified)
|
if (fullyQualified)
|
||||||
retSQL.append(tableName).append(".");
|
retSQL.append(tableName).append(".");
|
||||||
|
|
@ -1687,6 +1688,9 @@ public final class MRole extends X_AD_Role
|
||||||
retSQL.append(tableName).append(".");
|
retSQL.append(tableName).append(".");
|
||||||
retSQL.append(getOrgWhere(rw));
|
retSQL.append(getOrgWhere(rw));
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
retSQL.append("1=1");
|
||||||
|
}
|
||||||
|
|
||||||
// ** Data Access **
|
// ** Data Access **
|
||||||
for (int i = 0; i < ti.length; i++)
|
for (int i = 0; i < ti.length; i++)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue