BF [ 2865527 ] 2pack is exporting printformats from other clients
https://sourceforge.net/tracker/?func=detail&aid=2865527&group_id=176962&atid=879332
This commit is contained in:
parent
9276db4193
commit
eef558327a
|
@ -53,7 +53,7 @@ public class ReportViewElementHandler extends AbstractElementHandler {
|
|||
String Object_Status = null;
|
||||
Attributes atts = element.attributes;
|
||||
log.info(elementValue + " " + atts.getValue("ADReportviewnameID"));
|
||||
String entitytype = atts.getValue("EntityType");
|
||||
//String entitytype = atts.getValue("EntityType");
|
||||
String name = atts.getValue("ADReportviewnameID");
|
||||
|
||||
int id = get_ID(ctx, "AD_ReportView", name);
|
||||
|
@ -137,9 +137,9 @@ public class ReportViewElementHandler extends AbstractElementHandler {
|
|||
atts = createReportViewBinding(atts, m_Reportview);
|
||||
document.startElement("", "", "reportview", atts);
|
||||
document.endElement("", "", "reportview");
|
||||
|
||||
String sql1 = "SELECT * FROM AD_Printformat WHERE AD_Reportview_ID= "
|
||||
+ AD_ReportView_ID;
|
||||
|
||||
String sql1 = "SELECT * FROM AD_Printformat WHERE AD_Reportview_ID="+AD_ReportView_ID
|
||||
+" AND AD_Client_ID="+Env.getAD_Client_ID(ctx);
|
||||
PreparedStatement pstmt1 = null;
|
||||
pstmt1 = DB.prepareStatement(sql1, getTrxName(ctx));
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue