Revert revision 11432 - comments in tracker

Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2904144
This commit is contained in:
Carlos Ruiz 2010-03-08 22:26:22 +00:00
parent 8e2dc1b771
commit fd63d9af1e
2 changed files with 1 additions and 8 deletions

View File

@ -1434,7 +1434,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
* @param C_Order_ID id
* @return int Array with [printWhat, ID]
*/
public static int[] getDocumentWhat (int C_Order_ID)
private static int[] getDocumentWhat (int C_Order_ID)
{
int[] what = new int[2];
what[0] = ORDER;

View File

@ -28,7 +28,6 @@ import javax.swing.JPopupMenu;
import org.compiere.apps.form.ArchiveViewer;
import org.compiere.apps.form.FormFrame;
import org.compiere.model.MBPartner;
import org.compiere.print.ReportEngine;
import org.compiere.swing.CMenuItem;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
@ -84,12 +83,6 @@ public class AArchive implements ActionListener
{
int reportCount = 0;
int documentCount = 0;
int[] add = ReportEngine.getDocumentWhat(m_Record_ID);
if (add[0]==2)
{
m_AD_Table_ID=318;
m_Record_ID = add[1];
}
m_where = new StringBuffer();
m_where.append("(AD_Table_ID=").append(m_AD_Table_ID)