Merge 355b9d231d1d

This commit is contained in:
Heng Sin Low 2012-12-07 07:05:19 +08:00
commit 514e2a8f38
188 changed files with 300 additions and 278 deletions

View File

@ -368,7 +368,6 @@ public class CalloutInvoiceBatch extends CalloutEngine
LineNetAmt = LineNetAmt.setScale(StdPrecision, BigDecimal.ROUND_HALF_UP);
// Calculate Tax Amount
boolean IsSOTrx = "Y".equals(Env.getContext(Env.getCtx(), WindowNo, "IsSOTrx"));
boolean IsTaxIncluded = "Y".equals(Env.getContext(Env.getCtx(), WindowNo, "IsTaxIncluded"));
BigDecimal TaxAmt = null;

View File

@ -20,7 +20,6 @@ package org.compiere.model;
import java.math.BigDecimal;
import java.util.Properties;
import org.compiere.util.DB;
import org.compiere.util.Env;
/**

View File

@ -28,7 +28,6 @@ import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.DisplayType;
import org.compiere.util.Env;
import org.compiere.util.Ini;
import org.compiere.util.Msg;
/**

View File

@ -247,6 +247,7 @@ public class ImmediateBankTransfer extends SvrProcess
// Create Cash & CashLines
MCash cash = createCash();
@SuppressWarnings("unused")
MCashLine cashLines[]= createCashLines(cash);
StringBuilder processMsg = new StringBuilder().append(cash.getDocumentNo());

View File

@ -193,15 +193,15 @@ public class Aging extends SvrProcess
int C_Currency_ID = rs.getInt(5);
boolean IsSOTrx = "Y".equals(rs.getString(6));
//
Timestamp DateInvoiced = rs.getTimestamp(7);
int NetDays = rs.getInt(8);
//Timestamp DateInvoiced = rs.getTimestamp(7);
//int NetDays = rs.getInt(8);
Timestamp DueDate = rs.getTimestamp(9);
// Days Due
int DaysDue = rs.getInt(10) // based on today
+ m_statementOffset;
//
BigDecimal GrandTotal = rs.getBigDecimal(11);
BigDecimal PaidAmt = rs.getBigDecimal(12);
//BigDecimal PaidAmt = rs.getBigDecimal(12);
BigDecimal OpenAmt = rs.getBigDecimal(13);
//
int C_Activity_ID = p_IsListInvoices ? rs.getInt(14) : 0;

View File

@ -197,9 +197,9 @@ public class AllocationReset extends SvrProcess
/**
* Set BPartner (may not be required
*/
private void setBPartner()
/*private void setBPartner()
{
/**
UPDATE C_AllocationLine al
SET C_BPartner_ID=(SELECT C_BPartner_ID FROM C_Payment p WHERE al.C_Payment_ID=p.C_Payment_ID)
WHERE C_BPartner_ID IS NULL AND C_Payment_ID IS NOT NULL;
@ -210,7 +210,6 @@ public class AllocationReset extends SvrProcess
SET C_BPartner_ID=(SELECT C_BPartner_ID FROM C_Order o WHERE al.C_Order_ID=o.C_Order_ID)
WHERE C_BPartner_ID IS NULL AND C_Order_ID IS NOT NULL;
COMMIT
**/
} // setBPartner
} // setBPartner*/
} // AllocationReset

View File

@ -19,7 +19,6 @@ import java.util.logging.Level;
import org.adempiere.exceptions.AdempiereException;
import org.compiere.model.MProcess;
import org.compiere.model.MProcessPara;
import org.compiere.util.Msg;
/**

View File

@ -152,7 +152,6 @@ public class CostUpdate extends SvrProcess
if (p_SetFutureCostTo.length() == 0)
return true;
String toTarget = to;
if (to.equals(TO_AverageInvoiceHistory))
to = TO_AverageInvoice;
if (to.equals(TO_AveragePOHistory))

View File

@ -71,6 +71,7 @@ public class DistributionRun extends SvrProcess
/** Consolidate Document **/
private boolean p_ConsolidateDocument = false;
/** Distribution List **/
@SuppressWarnings("unused")
private int p_M_DistributionList_ID = 0;
/** Distribute Based in DRP Demand **/
private boolean p_BasedInDamnd = false;

View File

@ -260,6 +260,7 @@ public class InvoiceGenerate extends SvrProcess
BigDecimal toInvoice = oLine.getQtyOrdered().subtract(oLine.getQtyInvoiced());
if (toInvoice.compareTo(Env.ZERO) == 0 && oLine.getM_Product_ID() != 0)
continue;
@SuppressWarnings("unused")
BigDecimal notInvoicedShipment = oLine.getQtyDelivered().subtract(oLine.getQtyInvoiced());
//
boolean fullyDelivered = oLine.getQtyOrdered().compareTo(oLine.getQtyDelivered()) == 0;

View File

@ -350,6 +350,7 @@ public class InvoicePrint extends SvrProcess
StringBuilder sb = new StringBuilder ("UPDATE C_Invoice ")
.append("SET DatePrinted=SysDate, IsPrinted='Y' WHERE C_Invoice_ID=")
.append (C_Invoice_ID);
@SuppressWarnings("unused")
int no = DB.executeUpdate(sb.toString(), get_TrxName());
}
} // for all entries

View File

@ -86,8 +86,11 @@ public class M_PriceList_Create extends SvrProcess {
int cntu = 0;
int cntd = 0;
int cnti = 0;
@SuppressWarnings("unused")
int totu = 0;
@SuppressWarnings("unused")
int toti = 0;
@SuppressWarnings("unused")
int totd = 0;
int V_temp;
int v_NextNo = 0;

View File

@ -34,7 +34,6 @@ import org.compiere.model.X_M_ProductionPlan;
import org.compiere.util.AdempiereUserError;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.Env;
import org.compiere.util.ValueNamePair;
import org.eevolution.model.MPPProductBOM;
import org.eevolution.model.MPPProductBOMLine;
@ -194,7 +193,8 @@ public class M_Production_Run extends SvrProcess {
/* Immediate accounting */
if (MClient.isClientAccountingImmediate()) {
String ignoreError = DocumentEngine.postImmediate(getCtx(), getAD_Client_ID(), production.get_Table_ID(), production.get_ID(), true, get_TrxName());
@SuppressWarnings("unused")
String ignoreError = DocumentEngine.postImmediate(getCtx(), getAD_Client_ID(), production.get_Table_ID(), production.get_ID(), true, get_TrxName());
}
}

View File

@ -506,6 +506,7 @@ public class ReplicationLocal extends SvrProcess
private void exit()
{
log.info ("exit");
@SuppressWarnings("unused")
Object result = doIt(START, "exit", null);
ProcessInfo pi = new ProcessInfo("Exit", 0);
pi.setClassName (REMOTE);

View File

@ -108,7 +108,7 @@ public class ReplicationRemote extends SvrProcess
// Update Tables ****
while (rs.next ())
{
int AD_Table_ID = rs.getInt(1);
//int AD_Table_ID = rs.getInt(1);
String ReplicationType = rs.getString(2);
String TableName = rs.getString(3);
log.fine("setupRemote - " + TableName + " - " + ReplicationType);
@ -306,7 +306,9 @@ public class ReplicationRemote extends SvrProcess
private String exit() throws Exception
{
log.info ("exit");
@SuppressWarnings("unused")
ProcessInfo pi = getProcessInfo();
@SuppressWarnings("unused")
Object result = doIt(ReplicationLocal.START, "exit", null);
return "exit";
} // exit

View File

@ -280,6 +280,7 @@ public class RequestEMailProcessor extends SvrProcess
log.info("message info: Sent -> " + msg.getSentDate() + " From -> " + msg.getFrom()[0].toString());
// Delete in InBox
msg.setFlag(Flags.Flag.DELETED, true);
@SuppressWarnings("unused")
Message[] deleted = inbox.expunge();
noRequest++;

View File

@ -22,7 +22,6 @@ import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.logging.Level;
import org.compiere.model.MLocator;
import org.compiere.model.MMovement;
import org.compiere.model.MMovementLine;
import org.compiere.model.MRefList;

View File

@ -120,6 +120,7 @@ public class GraphColumn
/** Column Data Value */
private double m_value = 0;
/** Column Label Value */
@SuppressWarnings("unused")
private String m_labelValue = "";
/** Column Data Target Value */
private double m_targetValue = 0;
@ -129,6 +130,7 @@ public class GraphColumn
private double m_height = 0;
/** Logger */
@SuppressWarnings("unused")
private static CLogger log = CLogger.getCLogger (GraphColumn.class);
/** Integer Number Format */
private static DecimalFormat s_format = DisplayType.getNumberFormat(DisplayType.Integer);

View File

@ -902,7 +902,6 @@ public class ModelClassGenerator
sql.append(" ORDER BY TableName");
//
int count = 0;
PreparedStatement pstmt = null;
ResultSet rs = null;
try
@ -912,7 +911,6 @@ public class ModelClassGenerator
while (rs.next())
{
new ModelClassGenerator(rs.getInt(1), directory.toString(), packageName);
count++;
}
}
catch (SQLException e)

View File

@ -825,7 +825,6 @@ public class ModelInterfaceGenerator
sql.append(" ORDER BY TableName");
//
int count = 0;
PreparedStatement pstmt = null;
ResultSet rs = null;
try
@ -835,7 +834,6 @@ public class ModelInterfaceGenerator
while (rs.next())
{
new ModelInterfaceGenerator(rs.getInt(1), directory.toString(), packageName);
count++;
}
}
catch (SQLException e)

View File

@ -24,7 +24,6 @@ import java.io.InputStream;
import java.net.URL;
import java.util.Properties;
import java.util.concurrent.ScheduledThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import javax.jnlp.BasicService;

View File

@ -28,7 +28,6 @@ import org.compiere.model.MAcctSchemaElement;
import org.compiere.model.MAllocationHdr;
import org.compiere.model.MAllocationLine;
import org.compiere.model.MCashLine;
import org.compiere.model.MCharge; // adaxa-pb
import org.compiere.model.MConversionRate;
import org.compiere.model.MFactAcct;
import org.compiere.model.MInvoice;
@ -200,6 +199,7 @@ public class Doc_AllocationHdr extends Doc
.add(line.getWriteOffAmt());
BigDecimal allocationSourceForRGL = allocationSource; // for realized gain & loss purposes
BigDecimal allocationAccounted = Env.ZERO; // AR/AP balance corrected
@SuppressWarnings("unused")
BigDecimal allocationAccountedForRGL = Env.ZERO; // for realized gain & loss purposes
FactLine fl = null;
@ -817,6 +817,7 @@ public class Doc_AllocationHdr extends Doc
{
fact.createLine (line, acct,
as.getC_Currency_ID(), acctDifference);
@SuppressWarnings("unused")
FactLine fl = fact.createLine (line, loss, gain,
as.getC_Currency_ID(), acctDifference.negate());
}

View File

@ -149,6 +149,7 @@ public class Doc_GLJournal extends Doc
{
if (p_lines[i].getC_AcctSchema_ID () == as.getC_AcctSchema_ID ())
{
@SuppressWarnings("unused")
FactLine line = fact.createLine (p_lines[i],
p_lines[i].getAccount (),
getC_Currency_ID(),

View File

@ -60,6 +60,7 @@ public class Doc_InOut extends Doc
} // DocInOut
private int m_Reversal_ID = 0;
@SuppressWarnings("unused")
private String m_DocStatus = "";
/**

View File

@ -44,6 +44,7 @@ import org.compiere.util.Env;
public class Doc_Inventory extends Doc
{
private int m_Reversal_ID = 0;
@SuppressWarnings("unused")
private String m_DocStatus = "";
/**

View File

@ -41,6 +41,7 @@ import org.compiere.util.Env;
public class Doc_Movement extends Doc
{
private int m_Reversal_ID = 0;
@SuppressWarnings("unused")
private String m_DocStatus = "";
/**

View File

@ -103,7 +103,6 @@ public class Doc_Order extends Doc
BigDecimal Qty = line.getQtyOrdered();
docLine.setQty(Qty, order.isSOTrx());
//
BigDecimal PriceActual = line.getPriceActual();
BigDecimal PriceCost = null;
if (getDocumentType().equals(DOCTYPE_POrder)) // PO
PriceCost = line.getPriceCost();
@ -344,9 +343,10 @@ public class Doc_Order extends Doc
{
updateProductPO(as);
BigDecimal grossAmt = getAmount(Doc.AMTTYPE_Gross);
//BigDecimal grossAmt = getAmount(Doc.AMTTYPE_Gross);
// Commitment
@SuppressWarnings("unused")
FactLine fl = null;
if (as.isCreatePOCommitment())
{
@ -416,6 +416,7 @@ public class Doc_Order extends Doc
else if (getDocumentType().equals(DOCTYPE_SOrder))
{
// Commitment
@SuppressWarnings("unused")
FactLine fl = null;
if (as.isCreateSOCommitment())
{
@ -600,6 +601,7 @@ public class Doc_Order extends Doc
C_InvoiceLine_ID);
BigDecimal total = Env.ZERO;
@SuppressWarnings("unused")
FactLine fl = null;
int C_Currency_ID = -1;
for (int i = 0; i < commitments.length; i++)
@ -740,6 +742,7 @@ public class Doc_Order extends Doc
M_InOutLine_ID);
BigDecimal total = Env.ZERO;
@SuppressWarnings("unused")
FactLine fl = null;
int C_Currency_ID = -1;
for (int i = 0; i < commitments.length; i++)

View File

@ -19,7 +19,6 @@ package org.compiere.acct;
import java.math.BigDecimal;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.logging.Level;
@ -30,7 +29,6 @@ import org.compiere.model.MCostDetail;
import org.compiere.model.ProductCost;
import org.compiere.model.X_M_Production;
import org.compiere.model.X_M_ProductionLine;
import org.compiere.model.X_M_ProductionPlan;
import org.compiere.util.DB;
import org.compiere.util.Env;

View File

@ -86,7 +86,7 @@ public class Doc_Requisition extends Doc
DocLine docLine = new DocLine (line, this);
BigDecimal Qty = line.getQty();
docLine.setQty (Qty, false);
BigDecimal PriceActual = line.getPriceActual();
//BigDecimal PriceActual = line.getPriceActual();
BigDecimal LineNetAmt = line.getLineNetAmt();
docLine.setAmount (LineNetAmt); // DR
list.add (docLine);
@ -125,6 +125,7 @@ public class Doc_Requisition extends Doc
Fact fact = new Fact (this, as, Fact.POST_Reservation);
setC_Currency_ID(as.getC_Currency_ID());
//
@SuppressWarnings("unused")
BigDecimal grossAmt = getAmount (Doc.AMTTYPE_Gross);
// Commitment
if (as.isCreateReservation ())

View File

@ -22,8 +22,6 @@ import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.logging.Level;
import org.compiere.model.MAcctSchema;
import org.compiere.model.MConversionRate;
import org.compiere.model.MProduct;
import org.compiere.model.MUOMConversion;
import org.compiere.util.CLogger;
@ -52,10 +50,13 @@ public class ProductInfo
/** The Product Key */
private int m_M_Product_ID = 0;
/** Transaction */
@SuppressWarnings("unused")
private String m_trxName = null;
// Product Info
@SuppressWarnings("unused")
private int m_AD_Client_ID = 0;
@SuppressWarnings("unused")
private int m_AD_Org_ID = 0;
private String m_productType = null;
@ -234,7 +235,7 @@ public class ProductInfo
* @param onlyPOPriceList use only PO price list
* @return po price
*/
private BigDecimal getPriceList (MAcctSchema as, boolean onlyPOPriceList)
/*private BigDecimal getPriceList (MAcctSchema as, boolean onlyPOPriceList)
{
StringBuilder sql = new StringBuilder (
"SELECT pl.C_Currency_ID, pp.PriceList, pp.PriceStd, pp.PriceLimit ")
@ -287,14 +288,14 @@ public class ProductInfo
price, C_Currency_ID, as.getC_Currency_ID(),
as.getAD_Client_ID(), 0);
return price;
} // getPOPrice
} // getPOPrice*/
/**
* Get PO Cost from Purchase Info - and convert it to AcctSchema Currency
* @param as accounting schema
* @return po cost
*/
private BigDecimal getPOCost (MAcctSchema as)
/*private BigDecimal getPOCost (MAcctSchema as)
{
String sql = "SELECT C_Currency_ID, PriceList,PricePO,PriceLastPO "
+ "FROM M_Product_PO WHERE M_Product_ID=? "
@ -341,6 +342,6 @@ public class ProductInfo
cost = MConversionRate.convert (as.getCtx(),
cost, C_Currency_ID, as.getC_Currency_ID(), m_AD_Client_ID, m_AD_Org_ID);
return cost;
} // getPOCost
} // getPOCost*/
} // ProductInfo

View File

@ -1295,14 +1295,14 @@ public class CConnection implements Serializable, Cloneable
// if (!Ini.isClient() // Server
// && trxLevel != Connection.TRANSACTION_READ_COMMITTED) // PO_LOB.save()
// {
Exception ee = null;
//Exception ee = null;
try
{
conn = m_db.getCachedConnection(this, autoCommit, transactionIsolation);
}
catch (Exception e)
{
ee = e;
//ee = e;
}
// Verify Connection
if (conn != null)

View File

@ -377,9 +377,10 @@ public class CreateAdempiere
}
sb.append(columnName).append(" ");
// Data Type & Precision
int sqlType = sourceColumns.getInt ("DATA_TYPE"); // sql.Types
//int sqlType = sourceColumns.getInt ("DATA_TYPE"); // sql.Types
String typeName = sourceColumns.getString ("TYPE_NAME"); // DB Dependent
int size = sourceColumns.getInt ("COLUMN_SIZE");
@SuppressWarnings("unused")
int decDigits = sourceColumns.getInt("DECIMAL_DIGITS");
if (sourceColumns.wasNull())
decDigits = -1;
@ -494,6 +495,7 @@ public class CreateAdempiere
String table = tableName.toUpperCase();
try
{
@SuppressWarnings("unused")
ResultSet sourceIndex = md.getIndexInfo(catalog, schema, table, false, false);
}

View File

@ -323,7 +323,6 @@ public abstract class Convert
* @return string
*/
protected String recoverQuotedStrings(String retValue, Vector<String>retVars) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < retVars.size(); i++) {
//hengsin, special character in replacement can cause exception
String replacement = (String) retVars.get(i);

View File

@ -1411,7 +1411,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
* Get Tree ID of this tab
* @return ID
*/
private int getTreeID()
/*private int getTreeID()
{
log.fine(m_vo.TableName);
String SQL = "SELECT * FROM AD_ClientInfo WHERE AD_Client="
@ -1431,7 +1431,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
else if (m_vo.TableName.equals("C_Project"))
return 60; // PJ
return 0;
} // getTreeID
} // getTreeID*/
/**
* Returns true if this is a detail record

View File

@ -393,7 +393,7 @@ public class GridTable extends AbstractTableModel
m_SQL_Count += where.toString();
if (m_withAccessControl)
{
boolean ro = MRole.SQL_RO;
// boolean ro = MRole.SQL_RO;
// if (!m_readOnly)
// ro = MRole.SQL_RW;
m_SQL = MRole.getDefault(m_ctx, false).addAccessSQL(m_SQL,

View File

@ -450,7 +450,7 @@ public class GridWorkbench implements Serializable
{
if (index < 0 || index > m_windows.size())
throw new IllegalArgumentException ("Index invalid: " + index);
WBWindow win = (WBWindow)m_windows.get(index);
//WBWindow win = (WBWindow)m_windows.get(index);
int retValue = -1;
// if (win.mWindow != null && win.Type == TYPE_WINDOW)
// return win.mWindow.getAD_Color_ID();

View File

@ -68,6 +68,7 @@ public class MAchievement extends X_PA_Achievement
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MAchievement.class);
/**************************************************************************

View File

@ -56,6 +56,7 @@ public class MAlertProcessor extends X_AD_AlertProcessor
} // getActive
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MAlertProcessor.class);

View File

@ -103,6 +103,7 @@ public class MAllocationLine extends X_C_AllocationLine
} // MAllocationLine
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MAllocationLine.class);
/** Invoice info */
private MInvoice m_invoice = null;

View File

@ -207,6 +207,7 @@ implements DocAction
assetAcct.setValidFrom(getDateAcct());
assetAcct.saveEx();
@SuppressWarnings("unused")
MDepreciationWorkfile wk = MDepreciationWorkfile.get(getCtx(), getA_Asset_ID(), getPostingType(), get_TrxName());
/* commented out by @win, deprecating existing design
wk.buildDepreciation();

View File

@ -66,6 +66,7 @@ public class MAttachment extends X_AD_Attachment
} // get
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MAttachment.class);
private MStorageProvider provider;

View File

@ -83,6 +83,7 @@ public class MBOM extends X_M_BOM
private static CCache<Integer,MBOM> s_cache
= new CCache<Integer,MBOM>(Table_Name, 20);
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MBOM.class);

View File

@ -58,6 +58,7 @@ public class MBOMProduct extends X_M_BOMProduct
} // getOfProduct
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MBOMProduct.class);
/**************************************************************************

View File

@ -56,6 +56,7 @@ public class MBPBankAccount extends X_C_BP_BankAccount
} // getOfBPartner
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger(MBPBankAccount.class);
/**************************************************************************

View File

@ -52,6 +52,7 @@ public class MBankStatementMatcher extends X_C_BankStatementMatcher
String sql = MRole.getDefault(ctx, false).addAccessSQL(
"SELECT * FROM C_BankStatementMatcher ORDER BY SeqNo",
"C_BankStatementMatcher", MRole.SQL_NOTQUALIFIED, MRole.SQL_RO);
@SuppressWarnings("unused")
int AD_Client_ID = Env.getAD_Client_ID(ctx);
PreparedStatement pstmt = null;
try

View File

@ -104,6 +104,7 @@ public class MCashBook extends X_C_CashBook
private static CCache<Integer,MCashBook> s_cache
= new CCache<Integer,MCashBook>(Table_Name, 20);
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MCashBook.class);
/**************************************************************************

View File

@ -38,6 +38,7 @@ public class MCashPlan extends X_C_CashPlan
private static final long serialVersionUID = -3068952163785661012L;
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger(MCashPlan.class);
/**************************************************************************

View File

@ -35,6 +35,7 @@ public class MCashPlanLine extends X_C_CashPlanLine
private static final long serialVersionUID = 3897658515979106674L;
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger(MCashPlanLine.class);
/**************************************************************************

View File

@ -61,6 +61,7 @@ public final class MCity extends X_C_City
/** City Cache */
private static CCache<Integer,MCity> s_Cities = new CCache<Integer,MCity>(Table_Name, 20);;
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MCity.class);
/** Region Cache */

View File

@ -885,7 +885,7 @@ public class MClient extends X_AD_Client
*
* @return boolean representing if client accounting is enabled and it's on a client
*/
private static final String CLIENT_ACCOUNTING_DISABLED = "D";
//private static final String CLIENT_ACCOUNTING_DISABLED = "D";
private static final String CLIENT_ACCOUNTING_QUEUE = "Q";
private static final String CLIENT_ACCOUNTING_IMMEDIATE = "I";

View File

@ -256,7 +256,7 @@ public class MClientShare extends X_AD_ClientShare
ResultSet rs = pstmt.executeQuery ();
while (rs.next ())
{
int AD_Table_ID = rs.getInt(1);
//int AD_Table_ID = rs.getInt(1);
String TableName = rs.getString(2);
if (info.length() != 0)
info.append(", ");

View File

@ -144,6 +144,7 @@ public class MContainer extends X_CM_Container
} // getContainers
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MContainer.class);

View File

@ -35,6 +35,7 @@ public class MContainerElement extends X_CM_Container_Element
private static final long serialVersionUID = 8487403111353473486L;
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MContainerElement.class);
/**

View File

@ -266,6 +266,7 @@ public class MCostQueue extends X_M_CostQueue
// Negative Qty i.e. add
if (remainingQty.signum() <= 0)
{
@SuppressWarnings("unused")
BigDecimal oldQty = queue.getCurrentQty();
lastPrice = queue.getCurrentCostPrice();
BigDecimal costBatch = lastPrice.multiply(remainingQty);
@ -281,6 +282,7 @@ public class MCostQueue extends X_M_CostQueue
BigDecimal reduction = remainingQty;
if (reduction.compareTo(queue.getCurrentQty()) > 0)
reduction = queue.getCurrentQty();
@SuppressWarnings("unused")
BigDecimal oldQty = queue.getCurrentQty();
lastPrice = queue.getCurrentCostPrice();
BigDecimal costBatch = lastPrice.multiply(reduction);

View File

@ -165,6 +165,7 @@ public final class MCountry extends X_C_Country
} // setDisplayLanguage
/** Display Language */
@SuppressWarnings("unused")
private static String s_AD_Language = null;
/** Country Cache */

View File

@ -34,6 +34,7 @@ public class MCurrencyAcct extends X_C_Currency_Acct
*/
private static final long serialVersionUID = 2256532431388781618L;
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger(MCurrencyAcct.class);
/**

View File

@ -412,7 +412,7 @@ public class MDepreciation extends X_A_Depreciation
* @return coeficient K degressive method for
* @see #apply_ARH_AD1(int, int, String, int, BigDecimal)
*/
private static BigDecimal get_AD_K(int A_Life_Year)
/*private static BigDecimal get_AD_K(int A_Life_Year)
{
if (A_Life_Year < 2) {
throw new IllegalArgumentException("@A_Life_Year@ = " + A_Life_Year + " < 2");
@ -429,7 +429,7 @@ public class MDepreciation extends X_A_Depreciation
else {
return new BigDecimal(2.5);
}
}
}*/
/** Calculate the value of depreciation over a month (period). In the last month of the year we add errors from the adjustment calculation
* @param A_Current_Period current month's index

View File

@ -1,10 +1,14 @@
package org.compiere.model;
import java.sql.*;
import java.math.*;
import java.util.*;
import java.util.logging.*;
import org.compiere.model.*;
import org.compiere.util.*;
import java.math.BigDecimal;
import java.sql.CallableStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.util.CCache;
import org.compiere.util.CLogMgt;
import org.compiere.util.DB;
/** Convention for the first year of depreciation (ex. FMCON, FYCON ...)
* @author Teo Sarca, SC Arhipac SRL

View File

@ -2,7 +2,6 @@ package org.compiere.model;
import java.io.File;
import java.math.BigDecimal;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.ArrayList;
@ -12,16 +11,9 @@ import java.util.Properties;
import java.util.logging.Level;
import org.adempiere.exceptions.AdempiereException;
import org.compiere.model.MAcctSchema;
import org.compiere.model.MClient;
import org.compiere.model.MPeriod;
import org.compiere.model.ModelValidationEngine;
import org.compiere.model.ModelValidator;
import org.compiere.model.Query;
import org.compiere.process.DocAction;
import org.compiere.process.DocumentEngine;
import org.compiere.util.DB;
import org.compiere.util.Env;
import org.compiere.util.TimeUtil;
import org.compiere.util.Trx;
import org.compiere.util.TrxRunnable;

View File

@ -3,13 +3,10 @@ package org.compiere.model;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Calendar;
import java.util.Collection;
import java.util.Properties;
import org.adempiere.exceptions.AdempiereException;
import org.apache.commons.collections.keyvalue.MultiKey;
import org.compiere.model.Query;
import org.compiere.util.CCache;
import org.compiere.util.CLogMgt;
import org.compiere.util.CLogger;

View File

@ -254,7 +254,6 @@ public class MDiscountSchema extends X_M_DiscountSchema
// Price Breaks
getBreaks(false);
boolean found = false;
BigDecimal Amt = Price.multiply(Qty);
if (isQuantityBased())
log.finer("Qty=" + Qty + ",M_Product_ID=" + M_Product_ID + ",M_Product_Category_ID=" + M_Product_Category_ID);

View File

@ -169,6 +169,7 @@ public class MDistribution extends X_GL_Distribution
} // get
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MDistribution.class);
/** Distributions by Account */
private static CCache<Integer,MDistribution[]> s_accounts

View File

@ -94,6 +94,7 @@ public class MDunningRunEntry extends X_C_DunningRunEntry
} // MDunningRunEntry
/** Parent */
@SuppressWarnings("unused")
private MDunningRun m_parent = null;
/**
@ -279,12 +280,12 @@ public class MDunningRunEntry extends X_C_DunningRunEntry
* Get Parent
* @return Dunning Run
*/
private MDunningRun getParent()
/*private MDunningRun getParent()
{
if (m_parent == null)
m_parent = new MDunningRun(getCtx(), getC_DunningRun_ID (), get_TrxName());
return m_parent;
} // getParent
} // getParent*/
@Override
protected boolean beforeSave (boolean newRecord)

View File

@ -57,6 +57,7 @@ public class MEXPFormat extends X_EXP_Format {
private static final long serialVersionUID = -5011042965945626099L;
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MEXPFormat.class);
private static CCache<String,MEXPFormat> s_cache = new CCache<String,MEXPFormat>(MEXPFormat.Table_Name, 50 );

View File

@ -43,6 +43,7 @@ public class MEXPProcessorParameter extends X_EXP_ProcessorParameter {
*/
private static final long serialVersionUID = 2633307385854436092L;
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MEXPProcessorParameter.class);

View File

@ -43,6 +43,7 @@ public class MEXPProcessorType extends X_EXP_Processor_Type {
*/
private static final long serialVersionUID = -4987531346397814095L;
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MEXPProcessorType.class);

View File

@ -1392,6 +1392,7 @@ public class MInOut extends X_M_InOut implements DocAction
}
if (!sameWarehouse) {
//correct qtyOrdered in warehouse of order
@SuppressWarnings("unused")
MWarehouse wh = MWarehouse.get(getCtx(), oLine.getM_Warehouse_ID());
if (reservedDiff.signum() != 0) {
if (!MStorageReservation.add(getCtx(), oLine.getM_Warehouse_ID(),
@ -1467,6 +1468,7 @@ public class MInOut extends X_M_InOut implements DocAction
}
if (!sameWarehouse) {
//correct qtyOrdered in warehouse of order
@SuppressWarnings("unused")
MWarehouse wh = MWarehouse.get(getCtx(), oLine.getM_Warehouse_ID());
if (QtySO.signum() != 0) {
if (!MStorageReservation.add(getCtx(), oLine.getM_Warehouse_ID(),

View File

@ -348,7 +348,7 @@ public class MInventoryLine extends X_M_InventoryLine
/**
* Create Material Allocations for new Instances
*/
private void createMA()
/*private void createMA()
{
MStorageOnHand[] storages = MStorageOnHand.getAll(getCtx(), getM_Product_ID(),
getM_Locator_ID(), get_TrxName());
@ -386,7 +386,7 @@ public class MInventoryLine extends X_M_InventoryLine
log.warning("QtyBook=" + getQtyBook() + " corrected to Sum of MA=" + sum);
setQtyBook(sum);
}
} // createMA
} // createMA*/
/**
* Is Internal Use Inventory

View File

@ -128,13 +128,13 @@ public class MIssueProject extends X_R_IssueProject
public void setA_Asset_ID (MIssue issue)
{
int A_Asset_ID = 0;
String sql = "SELECT * FROM A_Asset a "
/*String sql = "SELECT * FROM A_Asset a "
+ "WHERE EXISTS (SELECT * FROM A_Asset_Group ag " // Tracking Assets
+ "WHERE a.A_Asset_Group_ID=ag.A_Asset_Group_ID AND ag.IsTrackIssues='Y')"
+ " AND EXISTS (SELECT * FROM AD_User u "
+ "WHERE (a.C_BPartner_ID=u.C_BPartner_ID OR a.C_BPartnerSR_ID=u.C_BPartner_ID)"
+ " AND u.EMail=?)" // #1 EMail
+ " AND (SerNo IS NULL OR SerNo=?)"; // #2 Name
+ " AND (SerNo IS NULL OR SerNo=?)"; // #2 Name*/

View File

@ -43,6 +43,7 @@ public class MJournalGenerator extends X_GL_JournalGenerator
private static final long serialVersionUID = -8044550395699815424L;
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger(MJournalGenerator.class);
/**************************************************************************

View File

@ -43,6 +43,7 @@ public class MJournalGeneratorLine extends X_GL_JournalGeneratorLine
private static final long serialVersionUID = -8151648371117046820L;
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger(MJournalGeneratorLine.class);
/**************************************************************************

View File

@ -42,6 +42,7 @@ public class MJournalGeneratorSource extends X_GL_JournalGeneratorSource
private static final long serialVersionUID = 7489445330989092988L;
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger(MJournalGeneratorSource.class);
/**************************************************************************

View File

@ -348,7 +348,6 @@ public final class MLocatorLookup extends Lookup implements Serializable
// Reset
m_lookup.clear();
int rows = 0;
PreparedStatement pstmt = null;
ResultSet rs = null;
try

View File

@ -107,6 +107,7 @@ public class MMeasureCalc extends X_PA_MeasureCalc
{
if (reportDate == null)
reportDate = new Timestamp(System.currentTimeMillis());
@SuppressWarnings("unused")
String dateString = DB.TO_DATE(reportDate);
// http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10759/functions207.htm#i1002084
String trunc = "DD";

View File

@ -57,6 +57,7 @@ public class MMediaServer extends X_CM_Media_Server
} // getMediaServer
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MMediaServer.class);

View File

@ -314,12 +314,10 @@ public class MMovementConfirm extends X_M_MovementConfirm implements DocAction
m_processMsg = "@NoLines@";
return DocAction.STATUS_Invalid;
}
boolean difference = false;
for (int i = 0; i < lines.length; i++)
{
if (!lines[i].isFullyConfirmed())
{
difference = true;
break;
}
}

View File

@ -19,7 +19,6 @@ package org.compiere.model;
import java.math.BigDecimal;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;

View File

@ -73,6 +73,7 @@ public class MProductBOM extends X_M_Product_BOM
} // getBOMLines
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger(MProductBOM.class);

View File

@ -55,6 +55,7 @@ public class MProductPrice extends X_M_ProductPrice
} // get
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MProductPrice.class);
/**

View File

@ -23,6 +23,7 @@ public class MProduction extends X_M_Production {
*
*/
/** Log */
@SuppressWarnings("unused")
private static CLogger m_log = CLogger.getCLogger (MProduction.class);
private int lineno;
private int count;

View File

@ -173,6 +173,7 @@ public class MProjectType extends X_C_ProjectType
{
if (reportDate == null)
reportDate = new Timestamp(System.currentTimeMillis());
@SuppressWarnings("unused")
String dateString = DB.TO_DATE(reportDate);
String trunc = "D";
if (MGoal.MEASUREDISPLAY_Year.equals(MeasureScope))

View File

@ -41,6 +41,7 @@ public class MRecentItem extends X_AD_RecentItem
/** Recent Item Cache */
private static CCache<Integer,MRecentItem> s_cache = new CCache<Integer,MRecentItem>(Table_Name, 10);
/** Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger(MRecentItem.class);
/**************************************************************************

View File

@ -43,6 +43,7 @@ public class MReplicationStrategy extends X_AD_ReplicationStrategy {
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MReplicationStrategy.class);

View File

@ -63,6 +63,7 @@ public class MRequestType extends X_R_RequestType
} // get
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger(MRequestType.class);
/** Cache */
static private CCache<Integer,MRequestType> s_cache = new CCache<Integer,MRequestType>(Table_Name, 10);
@ -367,6 +368,7 @@ public class MRequestType extends X_R_RequestType
{
if (reportDate == null)
reportDate = new Timestamp(System.currentTimeMillis());
@SuppressWarnings("unused")
String dateString = DB.TO_DATE(reportDate);
String trunc = "D";
if (MGoal.MEASUREDISPLAY_Year.equals(MeasureScope))

View File

@ -144,6 +144,7 @@ public class MRfQResponse extends X_C_RfQResponse
if (get_ID() == 0) // save Response
saveEx();
@SuppressWarnings("unused")
MRfQResponseLine line = new MRfQResponseLine (this, lines[i]);
// line is not saved (dumped) if there are no Qtys
}

View File

@ -126,6 +126,7 @@ public class MRule extends X_AD_Rule
private static CCache<Integer,MRule> s_cache = new CCache<Integer,MRule>(Table_Name, 20);
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MRule.class);
/* Engine Manager */

View File

@ -1196,6 +1196,7 @@ public class MSequence extends X_AD_Sequence
{
m_i = i;
}
@SuppressWarnings("unused")
private int m_i;
/**

View File

@ -428,6 +428,7 @@ public class MSystem extends X_AD_System
// log.fine(os.getName() + " " + os.getVersion() + " " + os.getArch()
// + " Processors=" + os.getAvailableProcessors());
// Runtime
@SuppressWarnings("unused")
RuntimeMXBean rt = ManagementFactory.getRuntimeMXBean();
// log.fine(rt.getName() + " (" + rt.getVmVersion() + ") Up=" + TimeUtil.formatElapsed(rt.getUptime()));
// Memory
@ -437,6 +438,7 @@ public class MSystem extends X_AD_System
Iterator<MemoryPoolMXBean> it = list.iterator();
while (it.hasNext())
{
@SuppressWarnings("unused")
MemoryPoolMXBean pool = (MemoryPoolMXBean)it.next();
/*
log.finer(pool.getName() + " " + pool.getType()
@ -446,11 +448,13 @@ public class MSystem extends X_AD_System
}
else
{
@SuppressWarnings("unused")
MemoryMXBean memory = ManagementFactory.getMemoryMXBean();
// log.fine("VM: " + new CMemoryUsage(memory.getNonHeapMemoryUsage()));
// log.fine("Heap: " + new CMemoryUsage(memory.getHeapMemoryUsage()));
}
// Thread
@SuppressWarnings("unused")
ThreadMXBean th = ManagementFactory.getThreadMXBean();
/*
log.fine("Threads=" + th.getThreadCount()

View File

@ -302,6 +302,7 @@ public class MTimeExpenseLine extends X_S_TimeExpenseLine
+ "(SELECT SUM(Qty*ConvertedAmt) FROM S_TimeExpenseLine tel "
+ "WHERE te.S_TimeExpense_ID=tel.S_TimeExpense_ID) "
+ "WHERE S_TimeExpense_ID=" + getS_TimeExpense_ID();
@SuppressWarnings("unused")
int no = DB.executeUpdate(sql, get_TrxName());
} // updateHeader

View File

@ -520,7 +520,7 @@ public class MTree extends MTree_Base
int AD_Form_ID = m_nodeRowSet.getInt(index++);
int AD_Workflow_ID = m_nodeRowSet.getInt(index++);
int AD_Task_ID = m_nodeRowSet.getInt(index++);
int AD_Workbench_ID = m_nodeRowSet.getInt(index++);
//int AD_Workbench_ID = m_nodeRowSet.getInt(index++);
//
MRole role = MRole.getDefault(getCtx(), false);
Boolean access = null;
@ -609,7 +609,7 @@ public class MTree extends MTree_Base
/**
* Diagnostics: Print tree
*/
private void dumpTree()
/*private void dumpTree()
{
Enumeration<?> en = m_root.preorderEnumeration();
int count = 0;
@ -626,7 +626,7 @@ public class MTree extends MTree_Base
count++;
}
System.out.println("Count=" + count);
} // diagPrintTree
} // diagPrintTree*/
/**
* Get Root node

View File

@ -71,6 +71,7 @@ public class MUserRoles extends X_AD_User_Roles
} // getOfUser
/** Static Logger */
@SuppressWarnings("unused")
private static CLogger s_log = CLogger.getCLogger (MUserRoles.class);

View File

@ -1,10 +1,10 @@
package org.compiere.model;
import java.util.*;
import java.sql.*;
import java.math.*;
import org.compiere.model.*;
import org.compiere.util.*;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.util.Properties;
import org.compiere.util.Env;
/** Generated Model for A_Asset
** @version $Id: X_A_Asset.java,v 1.88 2004/08/27 21:26:37 jjanke Exp $ */
public class MXIFAJournal extends X_I_FAJournal

View File

@ -53,6 +53,7 @@ public abstract class PaymentProcessor
/** Logger */
protected CLogger log = CLogger.getCLogger (getClass());
/** Payment Processor Logger */
@SuppressWarnings("unused")
static private CLogger s_log = CLogger.getCLogger (PaymentProcessor.class);
/** Encoding (ISO-8859-1 - UTF-8) */
public static final String ENCODING = "UTF-8";

View File

@ -307,7 +307,7 @@ public class ProductCost
* @param onlyPOPriceList use only PO price list
* @return po price
*/
private BigDecimal getPriceList (MAcctSchema as, boolean onlyPOPriceList)
/*private BigDecimal getPriceList (MAcctSchema as, boolean onlyPOPriceList)
{
StringBuilder sql = new StringBuilder (
"SELECT pl.C_Currency_ID, pp.PriceList, pp.PriceStd, pp.PriceLimit "
@ -360,14 +360,14 @@ public class ProductCost
price, C_Currency_ID, as.getC_Currency_ID(),
as.getAD_Client_ID(), 0);
return price;
} // getPOPrice
} // getPOPrice*/
/**
* Get PO Cost from Purchase Info - and convert it to AcctSchema Currency
* @param as accounting schema
* @return po cost
*/
private BigDecimal getPOCost (MAcctSchema as)
/*private BigDecimal getPOCost (MAcctSchema as)
{
String sql = "SELECT C_Currency_ID, PriceList,PricePO,PriceLastPO "
+ "FROM M_Product_PO WHERE M_Product_ID=? "
@ -414,7 +414,7 @@ public class ProductCost
cost = MConversionRate.convert (as.getCtx(),
cost, C_Currency_ID, as.getC_Currency_ID(), as.getAD_Client_ID(), as.getAD_Org_ID());
return cost;
} // getPOCost
} // getPOCost*/
/**
* String Representation

View File

@ -55,6 +55,7 @@ public class ScheduleUtil
private Properties m_ctx;
private int m_S_Resource_ID;
private boolean m_isAvailable = true;
@SuppressWarnings("unused")
private boolean m_isSingleAssignment = true;
private int m_S_ResourceType_ID = 0;
private int m_C_UOM_ID = 0;
@ -776,6 +777,7 @@ public class ScheduleUtil
throw new IllegalStateException("ResourceTypeName not set");
ArrayList<MAssignmentSlot> list = new ArrayList<MAssignmentSlot>();
@SuppressWarnings("unused")
MUOM uom = MUOM.get (m_ctx, m_C_UOM_ID);
int minutes = MUOMConversion.convertToMinutes (m_ctx, m_C_UOM_ID, Env.ONE);
log.config("Minutes=" + minutes);

View File

@ -26,6 +26,7 @@ public class StateChangeEvent extends EventObject {
*
*/
private static final long serialVersionUID = 8536782772491762290L;
@SuppressWarnings("unused")
private int eventType;
/**

View File

@ -253,6 +253,7 @@ public class CPaper extends Paper
{
PrintRequestAttributeSet prats = getPrintRequestAttributeSet();
// Page Dialog
@SuppressWarnings("unused")
PageFormat pf = job.pageDialog(prats);
setPrintRequestAttributeSet(prats);
return true;

View File

@ -103,6 +103,7 @@ public class DataEngine
/** Running Total after .. lines */
private int m_runningTotalLines = -1;
/** Print String */
@SuppressWarnings("unused")
private String m_runningTotalString = null;
/** TrxName String */
private String m_trxName = null;
@ -290,7 +291,7 @@ public class DataEngine
int FieldLength = rs.getInt(5);
boolean IsMandatory = "Y".equals(rs.getString(6));
boolean IsKey = "Y".equals(rs.getString(7));
boolean IsParent = "Y".equals(rs.getString(8));
//boolean IsParent = "Y".equals(rs.getString(8));
// SQL GroupBy
boolean IsGroupFunction = "Y".equals(rs.getString(9));
if (IsGroupFunction)
@ -321,7 +322,7 @@ public class DataEngine
// General Info
boolean IsPrinted = "Y".equals(rs.getString(15));
int SortNo = rs.getInt(16);
//int SortNo = rs.getInt(16);
boolean isPageBreak = "Y".equals(rs.getString(17));
String formatPattern = rs.getString(25);
@ -1175,6 +1176,7 @@ public class DataEngine
org.compiere.Adempiere.startup(true);
// DataEngine de = new DataEngine(null);
@SuppressWarnings("unused")
DataEngine de = new DataEngine(Language.getLanguage("de_DE"));
MQuery query = new MQuery();
query.addRestriction("AD_Table_ID", MQuery.LESS, 105);

View File

@ -492,7 +492,7 @@ public class PrintUtil
/**
* Test Stream Print Services
*/
private static void testSPS()
/*private static void testSPS()
{
// dump (DocFlavor.INPUT_STREAM.GIF, DocFlavor.BYTE_ARRAY.POSTSCRIPT.getMimeType());
// dump (DocFlavor.SERVICE_FORMATTED.PAGEABLE, DocFlavor.BYTE_ARRAY.POSTSCRIPT.getMimeType());
@ -529,7 +529,7 @@ public class PrintUtil
// dump (null, DocFlavor.BYTE_ARRAY.POSTSCRIPT.getMediaType()); // lists PS output
// dump(null, null);
} // testSPS
} // testSPS*/
/**************************************************************************
@ -593,6 +593,7 @@ public class PrintUtil
.append(Line_ID)
.append(" WHERE AD_PrintFormatChild_ID IS NOT NULL AND AD_PrintFormat_ID=")
.append(Header_ID);
@SuppressWarnings("unused")
int no = DB.executeUpdate(sb.toString(), null);
} // updatePrintFormatHeader

View File

@ -234,6 +234,7 @@ public class ServerReportCtl {
*/
static public boolean startFinReport (ProcessInfo pi)
{
@SuppressWarnings("unused")
int AD_Client_ID = Env.getAD_Client_ID(Env.getCtx());
// Create Query from Parameters

Some files were not shown because too many files have changed in this diff Show More