Skip to content

Commit

Permalink
Merge pull request #1 from bxservice/IDEMPIERE-4607
Browse files Browse the repository at this point in the history
IDEMPIERE-2902 UX: Implement Radio buttons
  • Loading branch information
d-ruiz authored Dec 26, 2020
2 parents 3d5e67e + 7a63923 commit 61d3dba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ protected HashMap<String, ArrayList<MColumn>> getFKParentTables(String indexColu
String sql = "SELECT AD_COLUMN_ID FROM AD_COLUMN" +
" WHERE AD_COLUMN." + indexColumnName +
" = 'Y' AND AD_COLUMN.IsActive='Y' AND ColumnSQL IS NULL" +
" AND AD_REFERENCE_ID IN (?,?,?,?,?,?,?,?,?,?)";
" AND AD_REFERENCE_ID IN (?,?,?,?,?,?,?,?,?,?,?)";

//Bring the column ids from the FK
PreparedStatement pstmt = null;
Expand All @@ -155,6 +155,7 @@ protected HashMap<String, ArrayList<MColumn>> getFKParentTables(String indexColu
pstmt.setInt(8, DisplayType.Locator);
pstmt.setInt(9, DisplayType.PAttribute);
pstmt.setInt(10, DisplayType.Assignment);
pstmt.setInt(11, DisplayType.RadiogroupList);
rs = pstmt.executeQuery();

MColumn column = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static Set<String> getForeignTableNames(String indexColumnName, String tr
String sql = "SELECT AD_COLUMN_ID FROM AD_COLUMN" +
" WHERE AD_COLUMN." + indexColumnName +
" = 'Y' AND AD_COLUMN.IsActive='Y' AND ColumnSQL IS NULL" +
" AND AD_REFERENCE_ID IN (?,?,?,?,?,?,?,?,?,?)";
" AND AD_REFERENCE_ID IN (?,?,?,?,?,?,?,?,?,?,?)";

//Bring the column ids from the FK
PreparedStatement pstmt = null;
Expand All @@ -134,6 +134,7 @@ public static Set<String> getForeignTableNames(String indexColumnName, String tr
pstmt.setInt(8, DisplayType.Locator);
pstmt.setInt(9, DisplayType.PAttribute);
pstmt.setInt(10, DisplayType.Assignment);
pstmt.setInt(11, DisplayType.RadiogroupList);
rs = pstmt.executeQuery();

MColumn column = null;
Expand Down

0 comments on commit 61d3dba

Please sign in to comment.