IDEMPIERE-5515 Processes Generate "Unknown Parameter: ..." logs (#1646)
* IDEMPIERE-5515 Processes Generate "Unknown Parameter: ..." logs * - Fix for the new PrintFormatItemSync
This commit is contained in:
parent
0bd2b5811e
commit
29f59e645f
|
@ -5,10 +5,10 @@ package org.adempiere.base.process;
|
|||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.I_AD_CtxHelpMsg;
|
||||
import org.compiere.model.MCtxHelpMsg;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.Query;
|
||||
import org.compiere.model.X_AD_CtxHelpSuggestion;
|
||||
import org.compiere.process.ProcessInfoParameter;
|
||||
|
@ -45,7 +45,7 @@ public class AcceptCtxHelpSuggestion extends SvrProcess {
|
|||
else if (name.equals("IsSaveAsTenantCustomization"))
|
||||
p_isSaveAsTenantCustomization = para.getParameterAsBoolean();
|
||||
else
|
||||
log.log(Level.WARNING, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -5,9 +5,9 @@ package org.adempiere.base.process;
|
|||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MField;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.M_Element;
|
||||
import org.compiere.model.X_AD_FieldSuggestion;
|
||||
import org.compiere.process.ProcessInfoParameter;
|
||||
|
@ -47,7 +47,7 @@ public class AcceptFieldSuggestion extends SvrProcess {
|
|||
else if (name.equals("FieldSuggestionTarget"))
|
||||
p_fieldSuggestionTarget = para.getParameterAsString();
|
||||
else
|
||||
log.log(Level.WARNING, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ public class ASPGenerateFields extends SvrProcess
|
|||
else if (name.equals("ASP_Status"))
|
||||
p_ASP_Status = (String) para.getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para);
|
||||
}
|
||||
p_ASP_Tab_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -98,7 +98,7 @@ public class ASPGenerateLevel extends SvrProcess
|
|||
else if (name.equals("IsGenerateFields"))
|
||||
p_IsGenerateFields = para.getParameter().equals("Y");
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para);
|
||||
}
|
||||
p_ASP_Level_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -42,6 +42,7 @@ import org.compiere.acct.DocManager;
|
|||
import org.compiere.model.MAcctSchema;
|
||||
import org.compiere.model.MClient;
|
||||
import org.compiere.model.MCost;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.process.ProcessInfoParameter;
|
||||
import org.compiere.process.SvrProcess;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
|
@ -86,7 +87,7 @@ public class ClientAcctProcessor extends SvrProcess
|
|||
else if (name.equals("AD_Table_ID"))
|
||||
p_AD_Table_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.TreeMap;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.I_C_ElementValue;
|
||||
import org.compiere.model.I_C_ValidCombination;
|
||||
|
@ -42,6 +41,7 @@ import org.compiere.model.MAccount;
|
|||
import org.compiere.model.MElementValue;
|
||||
import org.compiere.model.MPriceList;
|
||||
import org.compiere.model.MPriceListVersion;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.model.MProductPrice;
|
||||
import org.compiere.model.Query;
|
||||
|
@ -103,7 +103,7 @@ public class ExpenseTypesFromAccounts extends SvrProcess {
|
|||
} else if (name.equals("EndElement")) {
|
||||
m_endElement = para[i].getParameter().toString();
|
||||
} else {
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@ import org.compiere.model.MClient;
|
|||
import org.compiere.model.MColumn;
|
||||
import org.compiere.model.MEXPFormat;
|
||||
import org.compiere.model.MEXPFormatLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MTable;
|
||||
import org.compiere.model.PO;
|
||||
import org.compiere.model.X_EXP_FormatLine;
|
||||
|
@ -115,7 +116,7 @@ public class Export extends SvrProcess
|
|||
else if (name.equals("AD_Table_ID"))
|
||||
p_AD_Table_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
|
||||
// TODO - we can get Language from Business Partner
|
||||
|
|
|
@ -37,10 +37,10 @@ import java.sql.ResultSet;
|
|||
import java.sql.Timestamp;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.adempiere.model.GenericPO;
|
||||
import org.compiere.model.MHouseKeeping;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MTable;
|
||||
import org.compiere.process.ProcessInfoParameter;
|
||||
import org.compiere.process.SvrProcess;
|
||||
|
@ -67,7 +67,7 @@ public class HouseKeeping extends SvrProcess{
|
|||
else if (name.equals("AD_HouseKeeping_ID"))
|
||||
p_AD_HouseKeeping_ID = parameter[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), parameter[i]);
|
||||
}
|
||||
if (p_AD_HouseKeeping_ID == 0)
|
||||
p_AD_HouseKeeping_ID = getRecord_ID();
|
||||
|
|
|
@ -39,6 +39,7 @@ import org.compiere.model.MBankAccount;
|
|||
import org.compiere.model.MCash;
|
||||
import org.compiere.model.MCashBook;
|
||||
import org.compiere.model.MCashLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.process.DocAction;
|
||||
import org.compiere.process.ProcessInfoParameter;
|
||||
import org.compiere.process.SvrProcess;
|
||||
|
@ -104,7 +105,7 @@ public class ImmediateBankTransfer extends SvrProcess
|
|||
else if (name.equals("DateAcct"))
|
||||
p_DateAcct = (Timestamp)para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@ import java.util.logging.Level;
|
|||
|
||||
import org.compiere.model.MPriceList;
|
||||
import org.compiere.model.MPriceListVersion;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProductPrice;
|
||||
import org.compiere.model.X_I_PriceList;
|
||||
import org.compiere.model.X_M_ProductPriceVendorBreak;
|
||||
|
@ -77,7 +78,7 @@ public class ImportPriceList extends SvrProcess
|
|||
else if (name.equals("IsImportPriceLimit"))
|
||||
p_importPriceLimit = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ import org.compiere.model.I_C_InvoiceLine;
|
|||
import org.compiere.model.MInOut;
|
||||
import org.compiere.model.MInOutLine;
|
||||
import org.compiere.model.MInvoiceLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MRMA;
|
||||
import org.compiere.model.MRMALine;
|
||||
import org.compiere.model.Query;
|
||||
|
@ -78,7 +79,7 @@ public class InOutGenerateRMA extends SvrProcess
|
|||
else if (name.equals("MovementDate"))
|
||||
p_movementDate = para[i].getParameterAsTimestamp();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
if (p_movementDate == null) {
|
||||
p_movementDate = Env.getContextAsDate(getCtx(), Env.DATE);
|
||||
|
|
|
@ -36,6 +36,7 @@ import org.adempiere.exceptions.AdempiereException;
|
|||
import org.compiere.Adempiere;
|
||||
import org.compiere.model.MCity;
|
||||
import org.compiere.model.MCurrency;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MSetup;
|
||||
import org.compiere.model.MSysConfig;
|
||||
import org.compiere.print.PrintUtil;
|
||||
|
@ -162,7 +163,7 @@ public class InitialClientSetup extends SvrProcess
|
|||
else if (name.equals("NormalUserEmail"))
|
||||
p_NormalUserEmail = (String) para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ import java.util.logging.Level;
|
|||
import org.adempiere.exceptions.AdempiereException;
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MInvoiceLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MRMA;
|
||||
import org.compiere.model.MRMALine;
|
||||
import org.compiere.process.DocAction;
|
||||
|
@ -71,7 +72,7 @@ public class InvoiceGenerateRMA extends SvrProcess
|
|||
else if (name.equals("DocAction"))
|
||||
p_docAction = (String)para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
|
||||
m_dateinvoiced = Env.getContextAsDate(getCtx(), Env.DATE);
|
||||
|
|
|
@ -40,6 +40,7 @@ import java.util.Scanner;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.Adempiere;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.process.ProcessInfoParameter;
|
||||
import org.compiere.process.SvrProcess;
|
||||
import org.compiere.util.DB;
|
||||
|
@ -271,7 +272,7 @@ public class PrepareMigrationScripts extends SvrProcess {
|
|||
else if (name.equals("ScriptsPath"))
|
||||
path = (String) para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -3,8 +3,8 @@ package org.adempiere.process;
|
|||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MRoleMenu;
|
||||
import org.compiere.process.ProcessInfoParameter;
|
||||
import org.compiere.process.SvrProcess;
|
||||
|
@ -31,7 +31,7 @@ public class UpdateRoleMenu extends SvrProcess
|
|||
}
|
||||
else
|
||||
{
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.compiere.install;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MLanguage;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.process.ProcessInfoParameter;
|
||||
import org.compiere.process.SvrProcess;
|
||||
|
||||
|
@ -61,7 +62,7 @@ public class LanguageMaintenance extends SvrProcess
|
|||
else if (name.equals("MaintenanceMode"))
|
||||
p_MaintenanceMode = (String)para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_AD_Language_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.compiere.process;
|
|||
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.DB;
|
||||
|
||||
/**
|
||||
|
@ -50,7 +51,7 @@ public class AD_PrintPaper_Default extends SvrProcess
|
|||
else if (name.equals("AD_Client_ID"))
|
||||
p_AD_Client_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_Record_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -24,6 +24,7 @@ import org.compiere.model.MAcctSchema;
|
|||
import org.compiere.model.MAcctSchemaDefault;
|
||||
import org.compiere.model.MAcctSchemaElement;
|
||||
import org.compiere.model.MAcctSchemaGL;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.AdempiereSystemError;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
@ -54,7 +55,7 @@ public class AcctSchemaCopyAcct extends SvrProcess
|
|||
else if (name.equals("C_AcctSchema_ID"))
|
||||
p_SourceAcctSchema_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_TargetAcctSchema_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -23,6 +23,7 @@ import org.adempiere.process.UUIDGenerator;
|
|||
import org.compiere.model.MAcctSchema;
|
||||
import org.compiere.model.MAcctSchemaDefault;
|
||||
import org.compiere.model.MColumn;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProductCategoryAcct;
|
||||
import org.compiere.model.PO;
|
||||
import org.compiere.model.X_C_BP_Customer_Acct;
|
||||
|
@ -69,7 +70,7 @@ public class AcctSchemaDefaultCopy extends SvrProcess
|
|||
else if (name.equals("CopyOverwriteAcct"))
|
||||
p_CopyOverwriteAcct = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ import java.util.logging.Level;
|
|||
|
||||
import org.adempiere.exceptions.DBException;
|
||||
import org.compiere.model.MAging;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MRole;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.TimeUtil;
|
||||
|
@ -85,7 +86,7 @@ public class Aging extends SvrProcess
|
|||
else if (name.equals("IsListInvoices"))
|
||||
p_IsListInvoices = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
if (p_StatementDate == null)
|
||||
p_StatementDate = new Timestamp (System.currentTimeMillis());
|
||||
|
|
|
@ -30,6 +30,7 @@ import org.compiere.model.MInvoice;
|
|||
import org.compiere.model.MPaySelectionCheck;
|
||||
import org.compiere.model.MPaySelectionLine;
|
||||
import org.compiere.model.MPayment;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.Query;
|
||||
import org.compiere.util.AdempiereSystemError;
|
||||
import org.compiere.util.Env;
|
||||
|
@ -84,7 +85,7 @@ public class AllocationAuto extends SvrProcess
|
|||
else if (name.equals("APAR"))
|
||||
p_APAR = (String)para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import java.util.logging.Level;
|
|||
|
||||
import org.adempiere.exceptions.AdempiereException;
|
||||
import org.compiere.model.MAllocationHdr;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.Env;
|
||||
|
@ -79,7 +80,7 @@ public class AllocationReset extends SvrProcess
|
|||
else if (name.equals("AllAllocations"))
|
||||
p_AllAllocations = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
|
||||
if ( !p_AllAllocations && getTable_ID() == MAllocationHdr.Table_ID && getRecord_ID() > 0 )
|
||||
|
|
|
@ -26,6 +26,7 @@ import org.compiere.model.MAsset;
|
|||
import org.compiere.model.MAssetDelivery;
|
||||
import org.compiere.model.MClient;
|
||||
import org.compiere.model.MMailText;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProductDownload;
|
||||
import org.compiere.model.MUser;
|
||||
import org.compiere.model.MUserMail;
|
||||
|
@ -81,7 +82,7 @@ public class AssetDelivery extends SvrProcess
|
|||
else if (name.equals("AttachAsset"))
|
||||
m_AttachAsset = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
if (m_GuaranteeDate == null)
|
||||
m_GuaranteeDate = new Timestamp (System.currentTimeMillis());
|
||||
|
|
|
@ -3,8 +3,8 @@ package org.compiere.process;
|
|||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.Env;
|
||||
|
@ -27,7 +27,7 @@ public class BOMFlagValidate extends SvrProcess {
|
|||
else if (name.equals("M_Product_Category_ID"))
|
||||
p_M_Product_Category_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import java.util.logging.Level;
|
|||
|
||||
import org.compiere.model.MBOM;
|
||||
import org.compiere.model.MBOMProduct;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.model.MProductBOM;
|
||||
import org.compiere.util.DB;
|
||||
|
@ -67,7 +68,7 @@ public class BOMValidate extends SvrProcess
|
|||
else if (name.equals("IsReValidate"))
|
||||
p_IsReValidate = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_M_Product_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -67,7 +67,7 @@ public class BOMVerify extends SvrProcess
|
|||
else if (name.equals("IsReValidate"))
|
||||
p_IsReValidate = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
if ( p_M_Product_ID == 0 )
|
||||
p_M_Product_ID = getRecord_ID();
|
||||
|
|
|
@ -20,6 +20,7 @@ import java.math.BigDecimal;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MAcctSchema;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.AdempiereSystemError;
|
||||
import org.compiere.util.DB;
|
||||
|
||||
|
@ -54,7 +55,7 @@ public class BPGroupAcctCopy extends SvrProcess
|
|||
else if (name.equals("C_AcctSchema_ID"))
|
||||
p_C_AcctSchema_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import org.compiere.model.MBPartnerLocation;
|
|||
import org.compiere.model.MLocator;
|
||||
import org.compiere.model.MOrg;
|
||||
import org.compiere.model.MOrgInfo;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MRole;
|
||||
import org.compiere.model.MRoleOrgAccess;
|
||||
import org.compiere.model.MWarehouse;
|
||||
|
@ -67,7 +68,7 @@ public class BPartnerOrgLink extends SvrProcess
|
|||
else if (name.equals("AD_Role_ID"))
|
||||
p_AD_Role_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_C_BPartner_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -20,6 +20,7 @@ import java.math.BigDecimal;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MBPartner;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
import org.compiere.util.Msg;
|
||||
|
||||
|
@ -49,7 +50,7 @@ public class BPartnerOrgUnLink extends SvrProcess
|
|||
else if (name.equals("C_BPartner_ID"))
|
||||
p_C_BPartner_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ import org.compiere.model.I_C_BPartner;
|
|||
import org.compiere.model.MBPartner;
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MPayment;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.Query;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
import org.compiere.util.Msg;
|
||||
|
@ -62,7 +63,7 @@ public class BPartnerValidate extends SvrProcess
|
|||
else if (name.equals("C_BP_Group_ID"))
|
||||
p_C_BP_Group_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import org.compiere.impexp.BankStatementMatchInfo;
|
|||
import org.compiere.model.MBankStatement;
|
||||
import org.compiere.model.MBankStatementLine;
|
||||
import org.compiere.model.MBankStatementMatcher;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.X_I_BankStatement;
|
||||
|
||||
/**
|
||||
|
@ -45,11 +46,10 @@ public class BankStatementMatcher extends SvrProcess
|
|||
ProcessInfoParameter[] para = getParameter();
|
||||
for (int i = 0; i < para.length; i++)
|
||||
{
|
||||
String name = para[i].getParameterName();
|
||||
if (para[i].getParameter() == null)
|
||||
;
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
m_matchers = MBankStatementMatcher.getMatchers(getCtx(), get_TrxName());
|
||||
} // prepare
|
||||
|
|
|
@ -24,6 +24,7 @@ import org.compiere.model.MBankStatement;
|
|||
import org.compiere.model.MBankStatementLine;
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MPayment;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.X_I_BankStatement;
|
||||
import org.compiere.util.AdempiereSystemError;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
|
@ -47,11 +48,10 @@ public class BankStatementPayment extends SvrProcess
|
|||
ProcessInfoParameter[] para = getParameter();
|
||||
for (int i = 0; i < para.length; i++)
|
||||
{
|
||||
String name = para[i].getParameterName();
|
||||
if (para[i].getParameter() == null)
|
||||
;
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@ import java.util.logging.Level;
|
|||
|
||||
import org.compiere.model.MChangeLog;
|
||||
import org.compiere.model.MColumn;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MTable;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.DisplayType;
|
||||
|
@ -98,7 +99,7 @@ public class ChangeLogProcess extends SvrProcess
|
|||
else if (name.equals("SetCustomization"))
|
||||
p_SetCustomization = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_AD_ChangeLog_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -33,6 +33,7 @@ import java.util.logging.Level;
|
|||
|
||||
import org.compiere.db.AdempiereDatabase;
|
||||
import org.compiere.model.MColumn;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MTable;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
import org.compiere.util.CacheMgt;
|
||||
|
@ -96,7 +97,7 @@ public class ColumnEncryption extends SvrProcess {
|
|||
else if (name.equals("TestValue"))
|
||||
p_TestValue = (String) para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_AD_Column_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -27,6 +27,7 @@ import java.util.List;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MColumn;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MTable;
|
||||
import org.compiere.model.Query;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
|
@ -63,8 +64,7 @@ public class ColumnSync extends SvrProcess
|
|||
switch (name) {
|
||||
case "DateFrom": p_DateFrom = para.getParameterAsTimestamp(); break;
|
||||
default:
|
||||
if (log.isLoggable(Level.INFO))
|
||||
log.log(Level.INFO, "Custom Parameter: " + name + "=" + para.getInfo());
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,6 +25,7 @@ import org.compiere.model.MCommissionRun;
|
|||
import org.compiere.model.MDocType;
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MInvoiceLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.Env;
|
||||
import org.compiere.util.Msg;
|
||||
|
||||
|
@ -45,11 +46,10 @@ public class CommissionAPInvoice extends SvrProcess
|
|||
ProcessInfoParameter[] para = getParameter();
|
||||
for (int i = 0; i < para.length; i++)
|
||||
{
|
||||
String name = para[i].getParameterName();
|
||||
if (para[i].getParameter() == null)
|
||||
;
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ import org.compiere.model.MCommissionDetail;
|
|||
import org.compiere.model.MCommissionLine;
|
||||
import org.compiere.model.MCommissionRun;
|
||||
import org.compiere.model.MCurrency;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MUser;
|
||||
import org.compiere.util.AdempiereSystemError;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
|
@ -66,7 +67,7 @@ public class CommissionCalc extends SvrProcess
|
|||
else if (name.equals("StartDate"))
|
||||
p_StartDate = (Timestamp)para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.compiere.process;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MCommission;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
|
||||
|
||||
|
@ -50,7 +51,7 @@ public class CommissionCopy extends SvrProcess
|
|||
else if (name.equals("C_Commission_ID"))
|
||||
p_C_Commission_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_C_CommissionTo_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -20,7 +20,6 @@ package org.compiere.process;
|
|||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.adempiere.exceptions.FillMandatoryException;
|
||||
import org.compiere.model.I_C_ContactActivity;
|
||||
|
@ -28,6 +27,7 @@ import org.compiere.model.MBPartner;
|
|||
import org.compiere.model.MBPartnerLocation;
|
||||
import org.compiere.model.MLocation;
|
||||
import org.compiere.model.MOpportunity;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MUser;
|
||||
import org.compiere.model.PO;
|
||||
import org.compiere.model.Query;
|
||||
|
@ -196,7 +196,7 @@ public class ConvertLead extends SvrProcess {
|
|||
p_C_Currency_ID = para.getParameterAsInt();
|
||||
else
|
||||
{
|
||||
log.log(Level.WARNING, "Unknown parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para);
|
||||
}
|
||||
|
||||
if ( MUser.Table_ID == getTable_ID() )
|
||||
|
|
|
@ -18,6 +18,7 @@ package org.compiere.process;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MColumn;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MTable;
|
||||
import org.compiere.model.M_Element;
|
||||
import org.compiere.model.PO;
|
||||
|
@ -57,7 +58,7 @@ public class CopyColumnsFromTable extends SvrProcess
|
|||
else if (name.equals("AD_Table_ID"))
|
||||
p_source_AD_Table_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_target_AD_Table_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -26,6 +26,7 @@ package org.compiere.process;
|
|||
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MTable;
|
||||
import org.compiere.model.MViewColumn;
|
||||
import org.compiere.model.MViewComponent;
|
||||
|
@ -65,7 +66,7 @@ public class CopyComponentsFromView extends SvrProcess {
|
|||
else if (name.equals("AD_Table_ID"))
|
||||
p_source_AD_Table_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_target_AD_Table_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -22,6 +22,7 @@ import java.util.logging.Level;
|
|||
import org.compiere.model.MBankStatement;
|
||||
import org.compiere.model.MBankStatementLine;
|
||||
import org.compiere.model.MPayment;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.DB;
|
||||
|
||||
/**
|
||||
|
@ -50,7 +51,7 @@ public class CopyFromBankStmt extends SvrProcess
|
|||
else if (name.equals("C_BankStatement_ID"))
|
||||
m_C_BankStatement_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ import java.math.BigDecimal;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MProcessPara;
|
||||
|
||||
/**
|
||||
* Copy Invoice Lines
|
||||
|
@ -46,7 +47,7 @@ public class CopyFromInvoice extends SvrProcess
|
|||
else if (name.equals("C_Invoice_ID"))
|
||||
m_C_Invoice_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ import java.math.BigDecimal;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MJournalBatch;
|
||||
import org.compiere.model.MProcessPara;
|
||||
|
||||
/**
|
||||
* Copy GL Batch Journal/Lines
|
||||
|
@ -47,7 +48,7 @@ public class CopyFromJournal extends SvrProcess
|
|||
else if (name.equals("GL_JournalBatch_ID"))
|
||||
m_GL_JournalBatch_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@ import java.math.BigDecimal;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MJournal;
|
||||
import org.compiere.model.MProcessPara;
|
||||
|
||||
/**
|
||||
* Copy GL Journal/Lines
|
||||
|
@ -43,7 +44,7 @@ public class CopyFromJournalDoc extends SvrProcess
|
|||
else if (name.equals("GL_Journal_ID"))
|
||||
m_GL_Journal_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ import java.math.BigDecimal;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MOrder;
|
||||
import org.compiere.model.MProcessPara;
|
||||
|
||||
/**
|
||||
* Copy Order Lines
|
||||
|
@ -47,7 +48,7 @@ public class CopyFromOrder extends SvrProcess
|
|||
else if (name.equals("C_Order_ID"))
|
||||
p_C_Order_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ package org.compiere.process;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MPackageExp;
|
||||
import org.compiere.model.MProcessPara;
|
||||
|
||||
/**
|
||||
* Copy Package Details from another Pack Out
|
||||
|
@ -49,8 +50,7 @@ public class CopyFromPackOut extends SvrProcess {
|
|||
p_AD_Package_Exp_ID = para.getParameterAsInt();
|
||||
break;
|
||||
default:
|
||||
if (log.isLoggable(Level.INFO))
|
||||
log.log(Level.INFO, "Custom Parameter: " + name + "=" + para.getInfo());
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.compiere.process;
|
|||
import java.math.BigDecimal;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProject;
|
||||
|
||||
/**
|
||||
|
@ -46,7 +47,7 @@ public class CopyFromProject extends SvrProcess
|
|||
else if (name.equals("C_Project_ID"))
|
||||
m_C_Project_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ import java.util.logging.Level;
|
|||
|
||||
import org.compiere.model.MInfoColumn;
|
||||
import org.compiere.model.MInfoWindow;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.PO;
|
||||
import org.compiere.util.AdempiereSystemError;
|
||||
|
||||
|
@ -64,7 +65,7 @@ public class CopyInfoWindowColumns extends SvrProcess
|
|||
else if (name.equals("AD_InfoWindow_ID"))
|
||||
p_source_AD_InfoWindow_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_target_AD_InfoWindow_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -22,6 +22,7 @@ import java.util.logging.Level;
|
|||
|
||||
import org.compiere.model.MDocType;
|
||||
import org.compiere.model.MOrder;
|
||||
import org.compiere.model.MProcessPara;
|
||||
|
||||
/**
|
||||
* Copy Order and optionally close
|
||||
|
@ -61,7 +62,7 @@ public class CopyOrder extends SvrProcess
|
|||
else if (name.equals("IsCloseDocument"))
|
||||
p_IsCloseDocument = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ import java.util.List;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MBPartnerProduct;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProductDownload;
|
||||
import org.compiere.model.MProductPrice;
|
||||
import org.compiere.model.Query;
|
||||
|
@ -39,7 +40,7 @@ public class CopyProduct extends SvrProcess {
|
|||
else if (name.equals("M_Product_ID"))
|
||||
m_copyFromId = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -15,10 +15,9 @@
|
|||
*****************************************************************************/
|
||||
package org.compiere.process;
|
||||
|
||||
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;
|
||||
|
||||
/**
|
||||
|
@ -62,7 +61,7 @@ public class CopyReportProcess extends SvrProcess {
|
|||
else if ( para.equals("AD_Process_To_ID"))
|
||||
targetId = parameter.getParameterAsInt();
|
||||
else
|
||||
log.log(Level.WARNING, "Unknown paramter: " + para);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), parameter);
|
||||
}
|
||||
|
||||
if ( targetId == 0 )
|
||||
|
|
|
@ -23,6 +23,7 @@ import java.math.BigDecimal;
|
|||
|
||||
import org.adempiere.exceptions.AdempiereException;
|
||||
import org.compiere.model.I_AD_Role_Included;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MRole;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.Env;
|
||||
|
@ -65,6 +66,8 @@ public class CopyRole extends SvrProcess
|
|||
m_AD_Client_ID = para[i].getParameterAsInt();
|
||||
else if (name.equals("AD_Org_ID"))
|
||||
m_AD_Org_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.compiere.process;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MCostDetail;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
|
||||
|
@ -49,7 +50,7 @@ public class CostCreate extends SvrProcess
|
|||
else if (name.equals("M_Product_ID"))
|
||||
p_M_Product_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ import org.compiere.model.MCostElement;
|
|||
import org.compiere.model.MDocType;
|
||||
import org.compiere.model.MInventory;
|
||||
import org.compiere.model.MInventoryLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.util.AdempiereSystemError;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
|
@ -105,7 +106,7 @@ public class CostUpdate extends SvrProcess
|
|||
else if (name.equals("C_DocType_ID"))
|
||||
p_C_DocType_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ import org.adempiere.exceptions.AdempiereException;
|
|||
import org.compiere.model.MInOut;
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MOrder;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.model.MRMA;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
|
@ -69,7 +70,7 @@ public class CreateFromInOut extends SvrProcess
|
|||
else if (name.equals("M_InOut_ID"))
|
||||
p_M_InOut_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ import java.util.logging.Level;
|
|||
import org.adempiere.exceptions.AdempiereException;
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MOrder;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.model.MRMA;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
|
@ -67,7 +68,7 @@ public class CreateFromInvoice extends SvrProcess
|
|||
else if (name.equals("C_Invoice_ID"))
|
||||
p_C_Invoice_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@ import java.util.HashMap;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.adempiere.exceptions.AdempiereException;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MRMA;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
import org.compiere.util.DB;
|
||||
|
@ -63,7 +64,7 @@ public class CreateFromRMA extends SvrProcess
|
|||
else if (name.equals("M_RMA_ID"))
|
||||
p_M_RMA_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@ import org.adempiere.exceptions.AdempiereException;
|
|||
import org.compiere.model.MColumn;
|
||||
import org.compiere.model.MMenu;
|
||||
import org.compiere.model.MPInstance;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MTab;
|
||||
import org.compiere.model.MTable;
|
||||
import org.compiere.model.MWindow;
|
||||
|
@ -93,7 +94,7 @@ public class CreateWindowFromTable extends SvrProcess
|
|||
else if (name.equals("IsCreateMenu"))
|
||||
p_isCreateMenu = para[i].getParameterAsBoolean();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_AD_Table_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -25,6 +25,7 @@ import org.compiere.model.MDistributionList;
|
|||
import org.compiere.model.MDistributionListLine;
|
||||
import org.compiere.model.MOrder;
|
||||
import org.compiere.model.MOrderLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
|
@ -86,7 +87,7 @@ public class DistributionCreate extends SvrProcess
|
|||
else if (name.equals("IsTest"))
|
||||
p_IsTest = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_M_DistributionList_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -36,6 +36,7 @@ import org.compiere.model.MOrder;
|
|||
import org.compiere.model.MOrderLine;
|
||||
import org.compiere.model.MOrg;
|
||||
import org.compiere.model.MOrgInfo;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.model.MTable;
|
||||
import org.compiere.model.MWarehouse;
|
||||
|
@ -122,7 +123,7 @@ public class DistributionRun extends SvrProcess
|
|||
else if (m_docType.getDocBaseType().equals(MDocType.DOCBASETYPE_DistributionOrder) && name.equals("IsRequiredDRP"))
|
||||
p_BasedInDamnd = "Y".equals((String)para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_M_DistributionRun_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -25,6 +25,7 @@ import org.compiere.model.MDunningLevel;
|
|||
import org.compiere.model.MDunningRun;
|
||||
import org.compiere.model.MDunningRunEntry;
|
||||
import org.compiere.model.MMailText;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MQuery;
|
||||
import org.compiere.model.MUser;
|
||||
import org.compiere.model.MUserMail;
|
||||
|
@ -79,7 +80,7 @@ public class DunningPrint extends SvrProcess
|
|||
else if (name.equals("PrintUnprocessedOnly"))
|
||||
p_PrintUnprocessedOnly = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ import org.compiere.model.MDunningRunEntry;
|
|||
import org.compiere.model.MDunningRunLine;
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MPayment;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
|
@ -84,7 +85,7 @@ public class DunningRunCreate extends SvrProcess
|
|||
else if (name.equals("AD_Org_ID"))
|
||||
p_AD_Org_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_C_DunningRun_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -26,6 +26,7 @@ import org.compiere.model.MDocType;
|
|||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MInvoiceLine;
|
||||
import org.compiere.model.MPriceList;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MTimeExpense;
|
||||
import org.compiere.model.MTimeExpenseLine;
|
||||
import org.compiere.util.DB;
|
||||
|
@ -66,7 +67,7 @@ public class ExpenseAPInvoice extends SvrProcess
|
|||
m_DateTo = (Timestamp)para[i].getParameter_To();
|
||||
}
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ import org.compiere.model.MBPartner;
|
|||
import org.compiere.model.MConversionRate;
|
||||
import org.compiere.model.MOrder;
|
||||
import org.compiere.model.MOrderLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProject;
|
||||
import org.compiere.model.MTimeExpense;
|
||||
import org.compiere.model.MTimeExpenseLine;
|
||||
|
@ -73,7 +74,7 @@ public class ExpenseSOrder extends SvrProcess
|
|||
m_DateTo = (Timestamp)para[i].getParameter_To();
|
||||
}
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@ import org.compiere.model.MMovement;
|
|||
import org.compiere.model.MOrder;
|
||||
import org.compiere.model.MPayment;
|
||||
import org.compiere.model.MPeriodControl;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduction;
|
||||
import org.compiere.model.MProjectIssue;
|
||||
import org.compiere.model.MRequisition;
|
||||
|
@ -100,7 +101,7 @@ public class FactAcctReset extends SvrProcess
|
|||
else if (name.equals("AlsoWithoutPostings"))
|
||||
p_AlsoWithoutPostings = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
package org.compiere.process;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MReportCube;
|
||||
import org.compiere.model.Query;
|
||||
|
||||
|
@ -49,7 +49,7 @@ public class FactAcctSummary extends SvrProcess {
|
|||
else if ( p.getParameterName().equals("Force"))
|
||||
p_force = p.getParameterAsBoolean();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + p.getParameterName());
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), p);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ import org.compiere.model.MAccount;
|
|||
import org.compiere.model.MAcctSchema;
|
||||
import org.compiere.model.MColumn;
|
||||
import org.compiere.model.MElementValue;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.X_I_ElementValue;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.Env;
|
||||
|
@ -77,7 +78,7 @@ public class ImportAccount extends SvrProcess
|
|||
else if (name.equals("DeleteOldImported"))
|
||||
m_deleteOldImported = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
if (m_DateValue == null)
|
||||
m_DateValue = new Timestamp (System.currentTimeMillis());
|
||||
|
|
|
@ -31,6 +31,7 @@ import org.compiere.model.MBPartner;
|
|||
import org.compiere.model.MBPartnerLocation;
|
||||
import org.compiere.model.MContactInterest;
|
||||
import org.compiere.model.MLocation;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MUser;
|
||||
import org.compiere.model.ModelValidationEngine;
|
||||
import org.compiere.model.X_I_BPartner;
|
||||
|
@ -78,7 +79,7 @@ implements ImportProcess
|
|||
else if (name.equals("IsValidateOnly"))
|
||||
p_IsValidateOnly = para[i].getParameterAsBoolean();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
if (m_DateValue == null)
|
||||
m_DateValue = new Timestamp (System.currentTimeMillis());
|
||||
|
|
|
@ -25,6 +25,7 @@ import java.util.logging.Level;
|
|||
import org.compiere.model.MBankAccount;
|
||||
import org.compiere.model.MBankStatement;
|
||||
import org.compiere.model.MBankStatementLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.X_I_BankStatement;
|
||||
import org.compiere.util.CLogger;
|
||||
import org.compiere.util.DB;
|
||||
|
@ -71,7 +72,7 @@ public class ImportBankStatement extends SvrProcess
|
|||
else if (name.equals("DeleteOldImported"))
|
||||
p_deleteOldImported = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
m_ctx = Env.getCtx();
|
||||
} // prepare
|
||||
|
|
|
@ -23,6 +23,7 @@ import java.sql.Timestamp;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MConversionRate;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.X_I_Conversion_Rate;
|
||||
import org.compiere.util.DB;
|
||||
|
||||
|
@ -73,7 +74,7 @@ public class ImportConversionRate extends SvrProcess
|
|||
else if (name.equals("DeleteOldImported"))
|
||||
p_DeleteOldImported = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.compiere.process;
|
|||
import java.math.BigDecimal;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MTable;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.Msg;
|
||||
|
@ -47,7 +48,7 @@ public class ImportDelete extends SvrProcess
|
|||
if (name.equals("AD_Table_ID"))
|
||||
p_AD_Table_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ import org.compiere.model.MAccount;
|
|||
import org.compiere.model.MJournal;
|
||||
import org.compiere.model.MJournalBatch;
|
||||
import org.compiere.model.MJournalLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.X_I_GLJournal;
|
||||
import org.compiere.util.CLogger;
|
||||
import org.compiere.util.DB;
|
||||
|
@ -84,7 +85,7 @@ public class ImportGLJournal extends SvrProcess
|
|||
else if (name.equals("DeleteOldImported"))
|
||||
m_DeleteOldImported = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ import java.sql.ResultSet;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MInOutLineConfirm;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.X_I_InOutLineConfirm;
|
||||
import org.compiere.util.DB;
|
||||
|
||||
|
@ -58,7 +59,7 @@ public class ImportInOutConfirm extends SvrProcess
|
|||
else if (name.equals("DeleteOldImported"))
|
||||
p_DeleteOldImported = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_I_InOutLineConfirm_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -32,6 +32,7 @@ import org.compiere.model.MAttributeSetInstance;
|
|||
import org.compiere.model.MCost;
|
||||
import org.compiere.model.MInventory;
|
||||
import org.compiere.model.MInventoryLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.model.MProductCategoryAcct;
|
||||
import org.compiere.model.ModelValidationEngine;
|
||||
|
@ -122,7 +123,7 @@ public class ImportInventory extends SvrProcess implements ImportProcess
|
|||
else if (name.equals("C_DocType_ID"))
|
||||
p_C_DocType_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else
|
||||
log.log(Level.WARNING, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ import org.compiere.model.MBPartnerLocation;
|
|||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MInvoiceLine;
|
||||
import org.compiere.model.MLocation;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MUser;
|
||||
import org.compiere.model.X_I_Invoice;
|
||||
import org.compiere.util.DB;
|
||||
|
@ -73,7 +74,7 @@ public class ImportInvoice extends SvrProcess
|
|||
else if (name.equals("DocAction"))
|
||||
m_docAction = (String)para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
if (m_DateValue == null)
|
||||
m_DateValue = new Timestamp (System.currentTimeMillis());
|
||||
|
|
|
@ -28,6 +28,7 @@ import org.compiere.model.MBPartnerLocation;
|
|||
import org.compiere.model.MLocation;
|
||||
import org.compiere.model.MOrder;
|
||||
import org.compiere.model.MOrderLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MUser;
|
||||
import org.compiere.model.X_I_Order;
|
||||
import org.compiere.util.DB;
|
||||
|
@ -75,7 +76,7 @@ public class ImportOrder extends SvrProcess
|
|||
else if (name.equals("DocAction"))
|
||||
m_docAction = (String)para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
if (m_DateValue == null)
|
||||
m_DateValue = new Timestamp (System.currentTimeMillis());
|
||||
|
|
|
@ -24,6 +24,7 @@ import java.util.logging.Level;
|
|||
|
||||
import org.compiere.model.MBankAccount;
|
||||
import org.compiere.model.MPayment;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.X_I_Payment;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
import org.compiere.util.DB;
|
||||
|
@ -71,7 +72,7 @@ public class ImportPayment extends SvrProcess
|
|||
else if (name.equals("DocAction"))
|
||||
m_docAction = (String)para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
m_ctx = Env.getCtx();
|
||||
} // prepare
|
||||
|
|
|
@ -27,6 +27,7 @@ import org.adempiere.model.ImportValidator;
|
|||
import org.adempiere.process.ImportProcess;
|
||||
import org.adempiere.process.UUIDGenerator;
|
||||
import org.compiere.model.MColumn;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.model.MProductPO;
|
||||
import org.compiere.model.MProductPrice;
|
||||
|
@ -74,7 +75,7 @@ public class ImportProduct extends SvrProcess implements ImportProcess
|
|||
else if (name.equals("M_PriceList_Version_ID"))
|
||||
p_M_PriceList_Version_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
if (m_DateValue == null)
|
||||
m_DateValue = new Timestamp (System.currentTimeMillis());
|
||||
|
|
|
@ -24,6 +24,7 @@ import java.sql.Timestamp;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.adempiere.exceptions.DBException;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.DB;
|
||||
|
||||
/**
|
||||
|
@ -63,7 +64,7 @@ public class ImportReportLine extends SvrProcess
|
|||
else if (name.equals("DeleteOldImported"))
|
||||
m_deleteOldImported = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
if (m_DateValue == null)
|
||||
m_DateValue = new Timestamp (System.currentTimeMillis());
|
||||
|
|
|
@ -20,6 +20,7 @@ import java.util.logging.Level;
|
|||
|
||||
import org.compiere.model.MInOut;
|
||||
import org.compiere.model.MInOutConfirm;
|
||||
import org.compiere.model.MProcessPara;
|
||||
|
||||
/**
|
||||
* Create Confirmation From Shipment
|
||||
|
@ -50,7 +51,7 @@ public class InOutCreateConfirm extends SvrProcess
|
|||
else if (name.equals("ConfirmType"))
|
||||
p_ConfirmType = (String)para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_M_InOut_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -28,6 +28,7 @@ import org.compiere.model.MInvoiceLine;
|
|||
import org.compiere.model.MInvoicePaySchedule;
|
||||
import org.compiere.model.MOrder;
|
||||
import org.compiere.model.MOrderPaySchedule;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.PO;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
|
@ -63,7 +64,7 @@ public class InOutCreateInvoice extends SvrProcess
|
|||
else if (name.equals("InvoiceDocumentNo"))
|
||||
p_InvoiceDocumentNo = (String)para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_M_InOut_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -34,6 +34,7 @@ import org.compiere.model.MLocator;
|
|||
import org.compiere.model.MLocatorType;
|
||||
import org.compiere.model.MOrder;
|
||||
import org.compiere.model.MOrderLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.model.MStorageOnHand;
|
||||
import org.compiere.model.Query;
|
||||
|
@ -124,7 +125,7 @@ public class InOutGenerate extends SvrProcess
|
|||
else if (name.equals("MovementDate"))
|
||||
p_DateShipped = (Timestamp)para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
// juddm - added ability to specify a shipment date from Generate Shipments
|
||||
if (p_DateShipped == null) {
|
||||
|
|
|
@ -22,6 +22,7 @@ import java.util.logging.Level;
|
|||
import org.adempiere.exceptions.FillMandatoryException;
|
||||
import org.compiere.model.MAcctSchema;
|
||||
import org.compiere.model.MCost;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.model.X_T_BOM_Indented;
|
||||
import org.compiere.util.Env;
|
||||
|
@ -68,7 +69,7 @@ public class IndentedBOM extends SvrProcess
|
|||
else if (name.equals(MCost.COLUMNNAME_M_Product_ID))
|
||||
p_M_Product_ID = para.getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ import java.util.logging.Level;
|
|||
import org.compiere.model.MInventory;
|
||||
import org.compiere.model.MInventoryLine;
|
||||
import org.compiere.model.MInventoryLineMA;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.AdempiereSystemError;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.Env;
|
||||
|
@ -93,7 +94,7 @@ public class InventoryCountCreate extends SvrProcess
|
|||
else if (name.equals("DeleteOld"))
|
||||
p_DeleteOld = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_M_Inventory_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -20,6 +20,7 @@ import java.util.logging.Level;
|
|||
|
||||
import org.compiere.model.MInventory;
|
||||
import org.compiere.model.MInventoryLineMA;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.AdempiereSystemError;
|
||||
import org.compiere.util.DB;
|
||||
|
||||
|
@ -51,7 +52,7 @@ public class InventoryCountUpdate extends SvrProcess
|
|||
else if (name.equals("InventoryCountSet"))
|
||||
p_InventoryCountSetZero = "Z".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_M_Inventory_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -21,6 +21,7 @@ import java.util.logging.Level;
|
|||
|
||||
import org.compiere.model.MAcctSchema;
|
||||
import org.compiere.model.MClient;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MWarehouse;
|
||||
import org.compiere.util.DB;
|
||||
|
||||
|
@ -69,6 +70,8 @@ public class InventoryValue extends SvrProcess
|
|||
p_C_Currency_ID = para[i].getParameterAsInt();
|
||||
else if (name.equals("M_CostElement_ID"))
|
||||
p_M_CostElement_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
if (p_DateValue == null)
|
||||
p_DateValue = new Timestamp (System.currentTimeMillis());
|
||||
|
|
|
@ -22,6 +22,7 @@ import org.compiere.model.MInvoice;
|
|||
import org.compiere.model.MInvoiceBatch;
|
||||
import org.compiere.model.MInvoiceBatchLine;
|
||||
import org.compiere.model.MInvoiceLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
import org.compiere.util.Msg;
|
||||
|
||||
|
@ -65,6 +66,8 @@ public class InvoiceBatchProcess extends SvrProcess
|
|||
;
|
||||
else if (name.equals("DocAction"))
|
||||
p_DocAction = (String)para[i].getParameter();
|
||||
else
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_C_InvoiceBatch_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -26,6 +26,7 @@ import org.compiere.model.MInOut;
|
|||
import org.compiere.model.MInOutLine;
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MInvoiceLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
/**
|
||||
|
@ -62,7 +63,7 @@ public class InvoiceCreateInOut extends SvrProcess
|
|||
else if (name.equals(PARAM_M_Warehouse_ID))
|
||||
p_M_Warehouse_ID = para.getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para);
|
||||
}
|
||||
p_C_Invoice_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
|
|
@ -41,6 +41,7 @@ import org.compiere.model.MLocation;
|
|||
import org.compiere.model.MOrder;
|
||||
import org.compiere.model.MOrderLine;
|
||||
import org.compiere.model.MOrderPaySchedule;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.PO;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.DisplayType;
|
||||
|
@ -124,7 +125,7 @@ public class InvoiceGenerate extends SvrProcess
|
|||
else if (name.equals("MinimumAmt"))
|
||||
p_MinimumAmt = para[i].getParameterAsBigDecimal();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
|
||||
// Login Date
|
||||
|
|
|
@ -31,6 +31,7 @@ import org.compiere.model.MInvoice;
|
|||
import org.compiere.model.MJournal;
|
||||
import org.compiere.model.MJournalLine;
|
||||
import org.compiere.model.MOrg;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.Query;
|
||||
import org.compiere.model.X_T_InvoiceGL;
|
||||
import org.compiere.util.DB;
|
||||
|
@ -90,7 +91,7 @@ public class InvoiceNGL extends SvrProcess
|
|||
else if (name.equals("C_DocTypeReval_ID"))
|
||||
p_C_DocTypeReval_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ import java.util.logging.Level;
|
|||
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MInvoicePaySchedule;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.Env;
|
||||
import org.compiere.util.Msg;
|
||||
|
||||
|
@ -41,11 +42,10 @@ public class InvoicePayScheduleValidate extends SvrProcess
|
|||
ProcessInfoParameter[] para = getParameter();
|
||||
for (int i = 0; i < para.length; i++)
|
||||
{
|
||||
String name = para[i].getParameterName();
|
||||
if (para[i].getParameter() == null)
|
||||
;
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ import java.util.logging.Level;
|
|||
import org.compiere.model.MClient;
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MMailText;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MQuery;
|
||||
import org.compiere.model.MUser;
|
||||
import org.compiere.model.MUserMail;
|
||||
|
@ -91,7 +92,7 @@ public class InvoicePrint extends SvrProcess
|
|||
m_DocumentNo_To = (String)para[i].getParameter_To();
|
||||
}
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
if (m_DocumentNo_From != null && m_DocumentNo_From.length() == 0)
|
||||
m_DocumentNo_From = null;
|
||||
|
|
|
@ -26,6 +26,7 @@ import org.compiere.model.MAllocationHdr;
|
|||
import org.compiere.model.MAllocationLine;
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MPayment;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.Env;
|
||||
|
@ -110,7 +111,7 @@ public class InvoiceWriteOff extends SvrProcess
|
|||
else if (name.equals("IsSimulation"))
|
||||
p_IsSimulation = "Y".equals(para[i].getParameter());
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ import java.util.Properties;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MBankStatementLoader;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.Env;
|
||||
import org.compiere.util.Msg;
|
||||
|
||||
|
@ -75,7 +76,7 @@ public class LoadBankStatement extends SvrProcess
|
|||
else if (name.equals("FileName"))
|
||||
fileName = (String)para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
m_AD_Client_ID = Env.getAD_Client_ID(m_ctx);
|
||||
if (log.isLoggable(Level.INFO)) log.info("AD_Client_ID=" + m_AD_Client_ID);
|
||||
|
|
|
@ -35,6 +35,7 @@ import org.compiere.model.MDiscountSchema;
|
|||
import org.compiere.model.MDiscountSchemaLine;
|
||||
import org.compiere.model.MPriceList;
|
||||
import org.compiere.model.MPriceListVersion;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.model.MProductPO;
|
||||
import org.compiere.model.MProductPrice;
|
||||
|
@ -79,7 +80,7 @@ public class M_PriceList_Create extends SvrProcess {
|
|||
else if (name.equals("DeleteOld"))
|
||||
p_DeleteOld = para.getParameterAsBoolean();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para);
|
||||
}
|
||||
p_PriceList_Version_ID = getRecord_ID();
|
||||
m_AD_PInstance_ID = getAD_PInstance_ID();
|
||||
|
|
|
@ -19,10 +19,10 @@ package org.compiere.process;
|
|||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MClient;
|
||||
import org.compiere.model.MLocator;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.model.MStorageOnHand;
|
||||
import org.compiere.model.MStorageReservation;
|
||||
|
@ -69,7 +69,7 @@ public class M_Production_Run extends SvrProcess {
|
|||
else if (name.equals("MustBeStocked"))
|
||||
mustBeStocked = ((String) para[i].getParameter()).equals("Y");
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
p_Record_ID = getRecord_ID();
|
||||
} //prepare
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.compiere.process;
|
|||
import java.math.BigDecimal;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.DB;
|
||||
|
||||
/**
|
||||
|
@ -54,7 +55,7 @@ public class NoteDelete extends SvrProcess
|
|||
else if (name.equals("KeepLogDays"))
|
||||
p_KeepLogDays = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import java.sql.Timestamp;
|
|||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MOrder;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
import org.compiere.util.DB;
|
||||
|
||||
|
@ -78,7 +79,7 @@ public class OrderBatchProcess extends SvrProcess
|
|||
p_IsInvoiced = (String)para[i].getParameter();
|
||||
}
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import org.compiere.model.MInOut;
|
|||
import org.compiere.model.MInOutLine;
|
||||
import org.compiere.model.MOrder;
|
||||
import org.compiere.model.MOrderLine;
|
||||
import org.compiere.model.MProcessPara;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.Env;
|
||||
import org.compiere.util.Msg;
|
||||
|
@ -54,7 +55,7 @@ public class OrderLineCreateShipment extends SvrProcess
|
|||
if (name.equals("MovementDate"))
|
||||
p_MovementDate = (Timestamp) para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
MProcessPara.validateUnknownParameter(getProcessInfo().getAD_Process_ID(), para[i]);
|
||||
}
|
||||
|
||||
if (p_MovementDate == null)
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue