Fixed bug dealing with outputing a printformat for a process when AD_PrintFormat_ID was 0.

This commit is contained in:
wght 2007-06-04 20:27:55 +00:00
parent 5320ff73a8
commit 412aadbb28
1 changed files with 37 additions and 34 deletions

View File

@ -997,6 +997,7 @@ public class PackOut extends SvrProcess
{}
pstmtP = null;
}
if(m_Process.getAD_PrintFormat_ID() != 0) {
m_Printformat = new X_AD_PrintFormat (getCtx(), m_Process.getAD_PrintFormat_ID(), null);
atts = createPrintformatBinding(atts,m_Printformat);
@ -1035,6 +1036,8 @@ public class PackOut extends SvrProcess
pstmt2 = null;
}
}
hd_menu.endElement("","","process");
}
rs1.close();