Fix [ 1989152 ] DataEngine.getPrintDataInfo getting more columns than needed
This commit is contained in:
parent
81690fe578
commit
69112bea2f
|
@ -220,6 +220,7 @@ public class DataEngine
|
|||
+ " LEFT OUTER JOIN AD_ReportView_Col rvc ON (pf.AD_ReportView_ID=rvc.AD_ReportView_ID AND c.AD_Column_ID=rvc.AD_Column_ID) "
|
||||
+ "WHERE pf.AD_PrintFormat_ID=?" // #1
|
||||
+ " AND pfi.IsActive='Y' AND (pfi.IsPrinted='Y' OR c.IsKey='Y' OR pfi.SortNo > 0) "
|
||||
+ " AND pfi.PrintFormatType IN ('" + MPrintFormatItem.PRINTFORMATTYPE_Field + "','" + MPrintFormatItem.PRINTFORMATTYPE_PrintFormat + "') "
|
||||
+ "ORDER BY pfi.IsPrinted DESC, pfi.SeqNo"; // Functions are put in first column
|
||||
PreparedStatement pstmt = null;
|
||||
ResultSet rs = null;
|
||||
|
|
Loading…
Reference in New Issue