Fixed 9317: Define the public java classes and hide all non-public classes from users outside of their package.
authorStefan Hühner <stefan.huehner@openbravo.com>
Wed, 03 Jun 2009 21:16:56 +0200
changeset 3960 e12074afb2a1
parent 3959 140e6c4cca19
child 3961 fd7a976fa11a
Fixed 9317: Define the public java classes and hide all non-public classes from users outside of their package.
src-core/src/org/openbravo/base/CategoryData.java
src-core/src/org/openbravo/base/HttpBaseServlet.java
src-core/src/org/openbravo/checksum/.keep
src-core/src/org/openbravo/data/SetFieldProvider.java
src-core/src/org/openbravo/data/Sqlc.java
src-core/src/org/openbravo/data/UtilSql.java
src-core/src/org/openbravo/database/ConnectionPool.java
src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java
src-core/src/org/openbravo/database/StandAloneConnection.java
src-core/src/org/openbravo/uiTranslation/FieldGroupLabelsData.java
src-core/src/org/openbravo/uiTranslation/FieldLabelsData.java
src-core/src/org/openbravo/uiTranslation/InterfaceInfo.java
src-core/src/org/openbravo/uiTranslation/InterfaceModuleInfoData.java
src-core/src/org/openbravo/uiTranslation/InterfaceTrlInfoData.java
src-core/src/org/openbravo/uiTranslation/ProcessLabelsData.java
src-core/src/org/openbravo/uiTranslation/TextInterfacesData.java
src-core/src/org/openbravo/uiTranslation/TranslationUtils.java
src-core/src/org/openbravo/uiTranslation/WindowLabel.java
src-core/src/org/openbravo/utils/FileToDataLoader.java
src-core/src/org/openbravo/xmlEngine/ErrorManagement.java
src-core/src/org/openbravo/xmlEngine/FormatRead.java
src-core/src/org/openbravo/xmlEngine/HashtableMultiple.java
src-core/src/org/openbravo/xmlEngine/Report.java
src-core/src/org/openbravo/xmlEngine/XmlComponentTemplate.java
src-core/src/org/openbravo/xmlEngine/XmlComponentValue.java
src-core/src/org/openbravo/xmlEngine/XmlEngine.java
src-core/src/org/openbravo/xmlEngine/XmlTemplate.java
src-core/src/org/openbravo/xmlEngine/XmlVectorTemplate.java
src-core/src/org/openbravo/xmlEngine/XmlVectorValue.java
src-wad/src/org/openbravo/wad/javasource.javaxml
src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java
src/org/openbravo/authentication/lam/LamAuthenticationManager.java
src/org/openbravo/base/secureApp/DefaultValuesData.java
src/org/openbravo/base/secureApp/ErrorConnection.java
src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
src/org/openbravo/base/secureApp/LoginHandler.java
src/org/openbravo/base/secureApp/OrgTree.java
src/org/openbravo/base/secureApp/OrgTreeNode.java
src/org/openbravo/base/secureApp/ServletGoBack.java
src/org/openbravo/base/secureApp/VariablesHistory.java
src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.java
src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder.java
src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.java
src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.java
src/org/openbravo/erpCommon/ad_actionButton/CreateFile.java
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple.java
src/org/openbravo/erpCommon/ad_actionButton/CreateRegFactAcct.java
src/org/openbravo/erpCommon/ad_actionButton/CreateVatRegisters.java
src/org/openbravo/erpCommon/ad_actionButton/DropRegFactAcct.java
src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues.java
src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.java
src/org/openbravo/erpCommon/ad_actionButton/ExportReferenceData.java
src/org/openbravo/erpCommon/ad_actionButton/InsertAcces.java
src/org/openbravo/erpCommon/ad_actionButton/Posted.java
src/org/openbravo/erpCommon/ad_actionButton/ProjectClose.java
src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom.java
src/org/openbravo/erpCommon/ad_actionButton/ProjectSetType.java
src/org/openbravo/erpCommon/ad_actionButton/RequestAction.java
src/org/openbravo/erpCommon/ad_actionButton/UpdateMaintenanceScheduled.java
src/org/openbravo/erpCommon/ad_callouts/Activation_Message.java
src/org/openbravo/erpCommon/ad_callouts/CalloutHelper.java
src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Amount.java
src/org/openbravo/erpCommon/ad_callouts/SE_Expense_BP_Project.java
src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java
src/org/openbravo/erpCommon/ad_callouts/SE_InOut_DocType.java
src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_BPartner.java
src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_Project.java
src/org/openbravo/erpCommon/ad_callouts/SE_Order_BPartner.java
src/org/openbravo/erpCommon/ad_callouts/SE_Order_Project.java
src/org/openbravo/erpCommon/ad_callouts/SE_PeriodNo.java
src/org/openbravo/erpCommon/ad_callouts/SE_Period_Control.java
src/org/openbravo/erpCommon/ad_callouts/SE_Pricelist_Active.java
src/org/openbravo/erpCommon/ad_callouts/SE_ProjectLine_Value.java
src/org/openbravo/erpCommon/ad_callouts/SE_Project_BPartner.java
src/org/openbravo/erpCommon/ad_callouts/SE_Proposal_BPartner.java
src/org/openbravo/erpCommon/ad_callouts/SE_Request_CopyText.java
src/org/openbravo/erpCommon/ad_callouts/SE_Supplier_BPartner.java
src/org/openbravo/erpCommon/ad_callouts/SE_Taxes_Active.java
src/org/openbravo/erpCommon/ad_callouts/SE_Wh_SchedulePeriod.java
src/org/openbravo/erpCommon/ad_callouts/SL_AlertRule_SQL.java
src/org/openbravo/erpCommon/ad_callouts/SL_Assets.java
src/org/openbravo/erpCommon/ad_callouts/SL_BankDebt_Amount.java
src/org/openbravo/erpCommon/ad_callouts/SL_BankStmt_Amount.java
src/org/openbravo/erpCommon/ad_callouts/SL_Budget_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_CCPMeasure_Group.java
src/org/openbravo/erpCommon/ad_callouts/SL_CashJournal_Amounts.java
src/org/openbravo/erpCommon/ad_callouts/SL_Charge.java
src/org/openbravo/erpCommon/ad_callouts/SL_Command_ArgNumber.java
src/org/openbravo/erpCommon/ad_callouts/SL_Conversion_Rate.java
src/org/openbravo/erpCommon/ad_callouts/SL_CostcenterEmployee_SalaryCategory.java
src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Warehouse.java
src/org/openbravo/erpCommon/ad_callouts/SL_CreateLines_Conversion_UOM.java
src/org/openbravo/erpCommon/ad_callouts/SL_GlobalUse_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_GlobalUse_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Locator.java
src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_InOut_BPartner.java
src/org/openbravo/erpCommon/ad_callouts/SL_InOut_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_Internal_Consumption_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_Internal_Consumption_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Locator.java
src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_InvoiceTax_Amt.java
src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Amt.java
src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Charge_Tax.java
src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_DocType.java
src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_PriceList.java
src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Tax.java
src/org/openbravo/erpCommon/ad_callouts/SL_IsDefault.java
src/org/openbravo/erpCommon/ad_callouts/SL_JournalLineAmt.java
src/org/openbravo/erpCommon/ad_callouts/SL_Journal_Period.java
src/org/openbravo/erpCommon/ad_callouts/SL_LegalEntity_Acct.java
src/org/openbravo/erpCommon/ad_callouts/SL_MInOutTraceReports.java
src/org/openbravo/erpCommon/ad_callouts/SL_MachineCost.java
src/org/openbravo/erpCommon/ad_callouts/SL_MovementAll_Locator.java
src/org/openbravo/erpCommon/ad_callouts/SL_Movement_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_Movement_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java
src/org/openbravo/erpCommon/ad_callouts/SL_Order_Charge_Tax.java
src/org/openbravo/erpCommon/ad_callouts/SL_Order_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_Order_DocType.java
src/org/openbravo/erpCommon/ad_callouts/SL_Order_PriceList.java
src/org/openbravo/erpCommon/ad_callouts/SL_Order_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_Order_Tax.java
src/org/openbravo/erpCommon/ad_callouts/SL_Payment_Amounts.java
src/org/openbravo/erpCommon/ad_callouts/SL_Payment_DocType.java
src/org/openbravo/erpCommon/ad_callouts/SL_Payment_No_Verify.java
src/org/openbravo/erpCommon/ad_callouts/SL_ProductionPlan_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_ProductionPlan_WRPhase.java
src/org/openbravo/erpCommon/ad_callouts/SL_Production_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_Production_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_Project_Margin.java
src/org/openbravo/erpCommon/ad_callouts/SL_Project_Planned.java
src/org/openbravo/erpCommon/ad_callouts/SL_Project_PriceList.java
src/org/openbravo/erpCommon/ad_callouts/SL_Proposal_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_Request_Action.java
src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Amt.java
src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionOrder_Order.java
src/org/openbravo/erpCommon/ad_callouts/SL_Requisition_BPartner.java
src/org/openbravo/erpCommon/ad_callouts/SL_ScheduledMaintenance_Maintenance.java
src/org/openbravo/erpCommon/ad_callouts/SL_SequenceProduct_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_SequenceProduct_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_User_Name.java
src/org/openbravo/erpCommon/ad_callouts/SL_WRPhaseProduct_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_WRPhase_Sequence.java
src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_ProcessPlan.java
src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_Sequence.java
src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_StartDate.java
src/org/openbravo/erpCommon/ad_callouts/SL_Year_Validation.java
src/org/openbravo/erpCommon/ad_forms/About.java
src/org/openbravo/erpCommon/ad_forms/AccountingValueData.java
src/org/openbravo/erpCommon/ad_forms/AcctServer.java
src/org/openbravo/erpCommon/ad_forms/AcctServer_data.xsql
src/org/openbravo/erpCommon/ad_forms/AlertManagement.java
src/org/openbravo/erpCommon/ad_forms/CallAcctServer.java
src/org/openbravo/erpCommon/ad_forms/DebtPaymentUnapply.java
src/org/openbravo/erpCommon/ad_forms/EdiFileImport.java
src/org/openbravo/erpCommon/ad_forms/FileImport.java
src/org/openbravo/erpCommon/ad_forms/FileLoadData.java
src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.java
src/org/openbravo/erpCommon/ad_forms/GenerateShipmentsmanual.java
src/org/openbravo/erpCommon/ad_forms/Heartbeat.java
src/org/openbravo/erpCommon/ad_forms/HeartbeatConfirm.java
src/org/openbravo/erpCommon/ad_forms/InformeInOut.java
src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java
src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup.java
src/org/openbravo/erpCommon/ad_forms/InvoiceVendorMultiline.java
src/org/openbravo/erpCommon/ad_forms/InvoiceVendorMultiline_Lines.java
src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending.java
src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
src/org/openbravo/erpCommon/ad_forms/Registration.java
src/org/openbravo/erpCommon/ad_forms/RegistrationConfirm.java
src/org/openbravo/erpCommon/ad_forms/RemittanceCancel.java
src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder.java
src/org/openbravo/erpCommon/ad_forms/RespuestaCS.java
src/org/openbravo/erpCommon/ad_forms/RespuestaCS_AcctServer.java
src/org/openbravo/erpCommon/ad_forms/Role.java
src/org/openbravo/erpCommon/ad_forms/SQLExecutor_Query.java
src/org/openbravo/erpCommon/ad_forms/ShowSessionPreferences.java
src/org/openbravo/erpCommon/ad_forms/ShowSessionVariables.java
src/org/openbravo/erpCommon/ad_forms/Translation.java
src/org/openbravo/erpCommon/ad_forms/TranslationHandler.java
src/org/openbravo/erpCommon/ad_forms/UpdateReferenceData.java
src/org/openbravo/erpCommon/ad_help/DisplayHelp.java
src/org/openbravo/erpCommon/ad_help/HelpWindow.java
src/org/openbravo/erpCommon/ad_process/AcctServerProcess.java
src/org/openbravo/erpCommon/ad_process/AlertProcess.java
src/org/openbravo/erpCommon/ad_process/ApplyModules.java
src/org/openbravo/erpCommon/ad_process/CashBankOperations.java
src/org/openbravo/erpCommon/ad_process/ChangeOrderOrg.java
src/org/openbravo/erpCommon/ad_process/CopyFromGLJournal.java
src/org/openbravo/erpCommon/ad_process/CreateAccountingReport.java
src/org/openbravo/erpCommon/ad_process/CreateCashFlowStatement.java
src/org/openbravo/erpCommon/ad_process/CreateTaxReport.java
src/org/openbravo/erpCommon/ad_process/DeleteClient.java
src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.java
src/org/openbravo/erpCommon/ad_process/GenerateHelp.java
src/org/openbravo/erpCommon/ad_process/HeartbeatProcess.java
src/org/openbravo/erpCommon/ad_process/ImportAccount.java
src/org/openbravo/erpCommon/ad_process/ImportAccountServlet.java
src/org/openbravo/erpCommon/ad_process/ImportBPartnerServlet.java
src/org/openbravo/erpCommon/ad_process/ImportBudgetServlet.java
src/org/openbravo/erpCommon/ad_process/ImportOrderServlet.java
src/org/openbravo/erpCommon/ad_process/ImportProductServlet.java
src/org/openbravo/erpCommon/ad_process/ImportTaxServlet.java
src/org/openbravo/erpCommon/ad_process/PriceListCreateAll.java
src/org/openbravo/erpCommon/ad_process/PrintInvoices.java
src/org/openbravo/erpCommon/ad_process/RequestReOpen.java
src/org/openbravo/erpCommon/ad_process/RescheduleProcess.java
src/org/openbravo/erpCommon/ad_process/RespuestaCS.java
src/org/openbravo/erpCommon/ad_process/ScheduleProcess.java
src/org/openbravo/erpCommon/ad_process/SendMailText.java
src/org/openbravo/erpCommon/ad_process/UnscheduleProcess.java
src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.java
src/org/openbravo/erpCommon/ad_reports/GenerateModel347.java
src/org/openbravo/erpCommon/ad_reports/MInOutTraceReports.java
src/org/openbravo/erpCommon/ad_reports/ReportAccountingCountDimensionalAnalyses.java
src/org/openbravo/erpCommon/ad_reports/ReportAgingBalance.java
src/org/openbravo/erpCommon/ad_reports/ReportAnnualCertification.java
src/org/openbravo/erpCommon/ad_reports/ReportBank.java
src/org/openbravo/erpCommon/ad_reports/ReportBankJR.java
src/org/openbravo/erpCommon/ad_reports/ReportBudgetExportExcel.java
src/org/openbravo/erpCommon/ad_reports/ReportBudgetGenerateExcel.java
src/org/openbravo/erpCommon/ad_reports/ReportCash.java
src/org/openbravo/erpCommon/ad_reports/ReportCashFlow.java
src/org/openbravo/erpCommon/ad_reports/ReportCashJR.java
src/org/openbravo/erpCommon/ad_reports/ReportCashflowForecast.java
src/org/openbravo/erpCommon/ad_reports/ReportDebtPayment.java
src/org/openbravo/erpCommon/ad_reports/ReportDebtPaymentTrack.java
src/org/openbravo/erpCommon/ad_reports/ReportDimensionalAnalysesPDF.java
src/org/openbravo/erpCommon/ad_reports/ReportExpense.java
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.java
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java
src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalDetail.java
src/org/openbravo/erpCommon/ad_reports/ReportGuaranteeDateJR.java
src/org/openbravo/erpCommon/ad_reports/ReportInventory.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalyses.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalPDF.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerEdition.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerJR.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscount.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscountJR.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesJR.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorJR.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoices.java
src/org/openbravo/erpCommon/ad_reports/ReportInvoicesJR.java
src/org/openbravo/erpCommon/ad_reports/ReportMaterialDimensionalAnalysesJR.java
src/org/openbravo/erpCommon/ad_reports/ReportMaterialTransactionEdition.java
src/org/openbravo/erpCommon/ad_reports/ReportMaterialTransactionEditionJR.java
src/org/openbravo/erpCommon/ad_reports/ReportNotPosted.java
src/org/openbravo/erpCommon/ad_reports/ReportOffer.java
src/org/openbravo/erpCommon/ad_reports/ReportOrderNotInvoiceJR.java
src/org/openbravo/erpCommon/ad_reports/ReportParetoProduct.java
src/org/openbravo/erpCommon/ad_reports/ReportPendingProductionJr.java
src/org/openbravo/erpCommon/ad_reports/ReportPricelist.java
src/org/openbravo/erpCommon/ad_reports/ReportProductMovement.java
src/org/openbravo/erpCommon/ad_reports/ReportProduction.java
src/org/openbravo/erpCommon/ad_reports/ReportProductionCost.java
src/org/openbravo/erpCommon/ad_reports/ReportProductionJR.java
src/org/openbravo/erpCommon/ad_reports/ReportProductionRunJR.java
src/org/openbravo/erpCommon/ad_reports/ReportProjectBuildingSite.java
src/org/openbravo/erpCommon/ad_reports/ReportProjectBuildingSiteJR.java
src/org/openbravo/erpCommon/ad_reports/ReportProjectProfitabilityJR.java
src/org/openbravo/erpCommon/ad_reports/ReportProjectProgress.java
src/org/openbravo/erpCommon/ad_reports/ReportPurchaseDimensionalAnalysesJR.java
src/org/openbravo/erpCommon/ad_reports/ReportRefundInvoiceCustomerDimensionalAnalyses.java
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses.java
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesPDF.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesDimensionalAnalyzeJR.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderDimensionalPDF.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderInvoicedJasper.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderJR.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderOpenItem.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderOpenItemJR.java
src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderProvidedJR.java
src/org/openbravo/erpCommon/ad_reports/ReportShipmentDimensionalAnalyzeJR.java
src/org/openbravo/erpCommon/ad_reports/ReportShipmentEditionJR.java
src/org/openbravo/erpCommon/ad_reports/ReportShipper.java
src/org/openbravo/erpCommon/ad_reports/ReportStandardCostJR.java
src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoice.java
src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceJR.java
src/org/openbravo/erpCommon/ad_reports/ReportToInvoiceConsignment.java
src/org/openbravo/erpCommon/ad_reports/ReportToInvoiceConsignmentJR.java
src/org/openbravo/erpCommon/ad_reports/ReportTotalProductTemplate.java
src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.java
src/org/openbravo/erpCommon/ad_reports/ReportTrialBalanceDataComparator.java
src/org/openbravo/erpCommon/ad_reports/ReportTrialBalanceDetail.java
src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.java
src/org/openbravo/erpCommon/ad_reports/ReportWarehouseControl.java
src/org/openbravo/erpCommon/ad_reports/ReportWarehouseDetailInventoryJR.java
src/org/openbravo/erpCommon/ad_reports/ReportWarehousePartnerJR.java
src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementDaily.java
src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementDailyEnv.java
src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementJR.java
src/org/openbravo/erpCommon/ad_tasks/.keep
src/org/openbravo/erpCommon/ad_workflow/WorkflowControl.java
src/org/openbravo/erpCommon/businessUtility/AccountTree.java
src/org/openbravo/erpCommon/businessUtility/Buscador.java
src/org/openbravo/erpCommon/businessUtility/ByteArrayDataSource.java
src/org/openbravo/erpCommon/businessUtility/PrinterReports.java
src/org/openbravo/erpCommon/businessUtility/TabAttachments.java
src/org/openbravo/erpCommon/businessUtility/TabFilter.java
src/org/openbravo/erpCommon/info/Account.java
src/org/openbravo/erpCommon/info/AccountElementValue.java
src/org/openbravo/erpCommon/info/AttributeSetInstance.java
src/org/openbravo/erpCommon/info/BusinessPartner.java
src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java
src/org/openbravo/erpCommon/info/DebtPayment.java
src/org/openbravo/erpCommon/info/ImageInfo.java
src/org/openbravo/erpCommon/info/Invoice.java
src/org/openbravo/erpCommon/info/InvoiceLine.java
src/org/openbravo/erpCommon/info/Location.java
src/org/openbravo/erpCommon/info/Locator.java
src/org/openbravo/erpCommon/info/Product.java
src/org/openbravo/erpCommon/info/ProductComplete.java
src/org/openbravo/erpCommon/info/ProductMultiple.java
src/org/openbravo/erpCommon/info/Project.java
src/org/openbravo/erpCommon/info/SalesOrder.java
src/org/openbravo/erpCommon/info/SalesOrderLine.java
src/org/openbravo/erpCommon/info/ShipmentReceipt.java
src/org/openbravo/erpCommon/info/ShipmentReceiptLine.java
src/org/openbravo/erpCommon/security/Login.java
src/org/openbravo/erpCommon/security/SessionLogin.java
src/org/openbravo/erpCommon/utility/Alert.java
src/org/openbravo/erpCommon/utility/BandStyleVO.java
src/org/openbravo/erpCommon/utility/ComboTableData.java
src/org/openbravo/erpCommon/utility/ErrorTextParser.java
src/org/openbravo/erpCommon/utility/ErrorTextParserORACLE.java
src/org/openbravo/erpCommon/utility/ErrorTextParserPOSTGRE.java
src/org/openbravo/erpCommon/utility/ExecuteQuery.java
src/org/openbravo/erpCommon/utility/ExecuteTask.java
src/org/openbravo/erpCommon/utility/ExportGrid.java
src/org/openbravo/erpCommon/utility/GenericTreeServlet.java
src/org/openbravo/erpCommon/utility/GridBO.java
src/org/openbravo/erpCommon/utility/GridColumnVO.java
src/org/openbravo/erpCommon/utility/GridReportVO.java
src/org/openbravo/erpCommon/utility/HTMLElement.java
src/org/openbravo/erpCommon/utility/Home.java
src/org/openbravo/erpCommon/utility/HttpsUtils.java
src/org/openbravo/erpCommon/utility/KeyMap.java
src/org/openbravo/erpCommon/utility/LeftTabsBar.java
src/org/openbravo/erpCommon/utility/Log.java
src/org/openbravo/erpCommon/utility/ModelSQLGeneration.java
src/org/openbravo/erpCommon/utility/NavigationBar.java
src/org/openbravo/erpCommon/utility/OBPrintStream.java
src/org/openbravo/erpCommon/utility/OpenPentaho.java
src/org/openbravo/erpCommon/utility/PoolStatus.java
src/org/openbravo/erpCommon/utility/PopupLoading.java
src/org/openbravo/erpCommon/utility/PrintJR.java
src/org/openbravo/erpCommon/utility/QueryFieldStructure.java
src/org/openbravo/erpCommon/utility/QueryParameterStructure.java
src/org/openbravo/erpCommon/utility/ReferencedTables.java
src/org/openbravo/erpCommon/utility/ReportDesignBO.java
src/org/openbravo/erpCommon/utility/ServletSetPriority.java
src/org/openbravo/erpCommon/utility/SetPriorityCategoryData.java
src/org/openbravo/erpCommon/utility/SystemInfo.java
src/org/openbravo/erpCommon/utility/TableSQLData.java
src/org/openbravo/erpCommon/utility/Task.java
src/org/openbravo/erpCommon/utility/ToolBar.java
src/org/openbravo/erpCommon/utility/ToolBar_Button.java
src/org/openbravo/erpCommon/utility/ToolBar_HR.java
src/org/openbravo/erpCommon/utility/ToolBar_Image.java
src/org/openbravo/erpCommon/utility/ToolBar_Link.java
src/org/openbravo/erpCommon/utility/ToolBar_Space.java
src/org/openbravo/erpCommon/utility/UsedByLink.java
src/org/openbravo/erpCommon/utility/Utility.java
src/org/openbravo/erpCommon/utility/VerticalMenu.java
src/org/openbravo/erpCommon/utility/WindowTree.java
src/org/openbravo/erpCommon/utility/WindowTreeChecks.java
src/org/openbravo/erpCommon/utility/WindowTreeChecksClient.java
src/org/openbravo/erpCommon/utility/WindowTreeUtility.java
src/org/openbravo/erpCommon/utility/WindowTreeUtilityClient.java
src/org/openbravo/erpCommon/utility/Zip.java
src/org/openbravo/erpCommon/utility/reporting/ReportManager.java
src/org/openbravo/erpCommon/utility/reporting/TemplateInfo.java
src/org/openbravo/erpCommon/utility/reporting/printing/AttachContent.java
src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java
src/org/openbravo/erpCommon/utility/reporting/printing/PrintInvoices.java
src/org/openbravo/erpCommon/utility/reporting/printing/PrintOrders.java
src/org/openbravo/erpCommon/utility/reporting/printing/PrintQuotations.java
src/org/openbravo/erpCommon/utility/reporting/printing/PrintShipments.java
src/org/openbravo/erpReports/ReportTaxPaymentJR.java
src/org/openbravo/erpReports/ReportVatRegisterJR.java
src/org/openbravo/erpReports/RptC_Bpartner.java
src/org/openbravo/erpReports/RptC_Invoice.java
src/org/openbravo/erpReports/RptC_Order.java
src/org/openbravo/erpReports/RptC_OrderPO.java
src/org/openbravo/erpReports/RptC_Proposal.java
src/org/openbravo/erpReports/RptC_ProposalJr.java
src/org/openbravo/erpReports/RptC_Remittance.java
src/org/openbravo/erpReports/RptC_RemittanceJR.java
src/org/openbravo/erpReports/RptC_Settlement.java
src/org/openbravo/erpReports/RptMA_CCP_Group.java
src/org/openbravo/erpReports/RptMA_CCP_Measures.java
src/org/openbravo/erpReports/RptMA_ProcessPlan.java
src/org/openbravo/erpReports/RptM_Inout.java
src/org/openbravo/erpReports/RptM_Movement.java
src/org/openbravo/erpReports/RptM_Requisition.java
src/org/openbravo/erpReports/RptPromissoryNote.java
src/org/openbravo/scheduling/ProcessMonitor.java
--- a/src-core/src/org/openbravo/base/CategoryData.java	Wed Jun 03 18:25:31 2009 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-/*
- ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
- * Licensed under the Apache Software License version 2.0
- * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to  in writing,  software  distributed
- * under the License is distributed  on  an  "AS IS"  BASIS,  WITHOUT  WARRANTIES  OR
- * CONDITIONS OF ANY KIND, either  express  or  implied.  See  the  License  for  the
- * specific language governing permissions and limitations under the License.
- ************************************************************************************
- */
-package org.openbravo.base;
-
-import java.util.Enumeration;
-import java.util.Vector;
-
-import org.apache.log4j.LogManager;
-import org.apache.log4j.Logger;
-import org.openbravo.data.FieldProvider;
-
-public class CategoryData implements FieldProvider {
-
-  static Logger log4j = Logger.getLogger(CategoryData.class);
-  public String category;
-  public String priority;
-
-  public String getField(String fieldName) {
-    if (fieldName.equals("category"))
-      return category;
-    else if (fieldName.equals("priority"))
-      return priority;
-    else {
-      if (log4j.isDebugEnabled())
-        log4j.debug("Field does not exist: " + fieldName);
-      return null;
-    }
-  }
-
-  public static CategoryData[] getCategories() {
-    Vector<CategoryData> vector = new Vector<CategoryData>(0);
-
-    for (Enumeration<?> e = LogManager.getCurrentLoggers(); e.hasMoreElements();) {
-      Logger categoryItem = (Logger) e.nextElement();
-      CategoryData categoryData = new CategoryData();
-      categoryData.category = categoryItem.getName();
-      if (categoryItem.getLevel() != null) {
-        categoryData.priority = categoryItem.getLevel().toString();
-      }
-      if (vector.isEmpty())
-        vector.addElement(categoryData);
-      else {
-        int index = 0;
-        while (index < vector.size()) {
-          CategoryData cd = vector.get(index);
-          if (categoryData.category.compareTo(cd.category) < 0) {
-            vector.add(index, categoryData);
-            break;
-          }
-          index++;
-        }
-        if (index == vector.size())
-          vector.addElement(categoryData);
-      }
-
-    }
-
-    CategoryData categoryData[] = new CategoryData[vector.size()];
-    vector.copyInto(categoryData);
-    return (categoryData);
-  }
-}
--- a/src-core/src/org/openbravo/base/HttpBaseServlet.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/base/HttpBaseServlet.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2008 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -38,13 +38,11 @@
 import org.apache.fop.apps.Driver;
 import org.apache.log4j.Logger;
 import org.apache.log4j.PropertyConfigurator;
-import org.openbravo.data.FieldProvider;
 import org.openbravo.database.ConnectionProvider;
 import org.openbravo.database.ConnectionProviderImpl;
 import org.openbravo.database.JNDIConnectionProvider;
 import org.openbravo.exception.NoConnectionAvailableException;
 import org.openbravo.exception.PoolNotFoundException;
-import org.openbravo.utils.FormatUtilities;
 import org.openbravo.xmlEngine.XmlEngine;
 import org.xml.sax.InputSource;
 import org.xml.sax.XMLReader;
@@ -60,17 +58,17 @@
   private static final long serialVersionUID = 1L;
   protected ConnectionProvider myPool;
   public String strDireccion;
-  public String strReplaceWith;
-  public String strReplaceWithFull;
+  protected String strReplaceWith;
+  protected String strReplaceWithFull;
   protected String strDefaultServlet;
   public XmlEngine xmlEngine = null;
-  public String strBaseConfigPath;
-  protected static String strContext = null;
-  protected static String prefix = null;
-  protected static String stcFileProperties = null;
-  protected boolean isJNDIModeOn;
-  public Logger log4j = Logger.getLogger(this.getClass());
-  protected String PoolFileName;
+  private String strBaseConfigPath;
+  private static String strContext = null;
+  private static String prefix = null;
+  private static String stcFileProperties = null;
+  private boolean isJNDIModeOn;
+  protected Logger log4j = Logger.getLogger(this.getClass());
+  private String PoolFileName;
 
   protected ConfigParameters globalParameters;
 
@@ -537,7 +535,7 @@
    * 
    * @return String with "Status unavailable" or "Not implemented yet"
    */
-  public String getPoolStatus() {
+  protected String getPoolStatus() {
     if (myPool instanceof ConnectionProviderImpl) {
       return ((ConnectionProviderImpl) myPool).getStatus();
     } else {
@@ -556,7 +554,7 @@
    *          HttpServletResponse object to which the PDF will be rendered to.
    * @throws ServletException
    */
-  public void renderFO(String strFo, HttpServletResponse response) throws ServletException {
+  protected void renderFO(String strFo, HttpServletResponse response) throws ServletException {
     // Check validity of the certificate
     // Create a trust manager that does not validate certificate chains
     TrustManager[] trustAllCerts = new TrustManager[] { new X509TrustManager() {
@@ -696,66 +694,7 @@
     }
   }
 
-  /**
-   * Constructs and returns a two dimensional array of the data passed. Array definition is
-   * constructed according to Javascript syntax. Used to generate data storage of lists or trees
-   * within some manual windows/reports.
-   * 
-   * @param strArrayName
-   *          String with the name of the array to be defined.
-   * @param data
-   *          FieldProvider object with the data to be included in the array with the following
-   *          three columns mandatory: padre | id | name.
-   * @return String containing array definition according to Javascript syntax.
-   */
-  public String arrayDobleEntrada(String strArrayName, FieldProvider[] data) {
-    String strArray = "var " + strArrayName + " = ";
-    if (data.length == 0) {
-      strArray = strArray + "null";
-      return strArray;
-    }
-    strArray = strArray + "new Array(";
-    for (int i = 0; i < data.length; i++) {
-      strArray = strArray + "\nnew Array(\"" + data[i].getField("padre") + "\", \""
-          + data[i].getField("id") + "\", \"" + FormatUtilities.replaceJS(data[i].getField("name"))
-          + "\")";
-      if (i < data.length - 1)
-        strArray = strArray + ", ";
-    }
-    strArray = strArray + ");";
-    return strArray;
-  }
-
-  /**
-   * Constructs and returns a two dimensional array of the data passed. Array definition is
-   * constructed according to Javascript syntax. Used to generate data storage of lists or trees
-   * within some manual windows/reports.
-   * 
-   * @param strArrayName
-   *          String with the name of the array to be defined.
-   * @param data
-   *          FieldProvider object with the data to be included in the array with the following two
-   *          columns mandatory: id | name.
-   * @return String containing array definition according to Javascript syntax.
-   */
-  public String arrayEntradaSimple(String strArrayName, FieldProvider[] data) {
-    String strArray = "var " + strArrayName + " = ";
-    if (data.length == 0) {
-      strArray = strArray + "null";
-      return strArray;
-    }
-    strArray = strArray + "new Array(";
-    for (int i = 0; i < data.length; i++) {
-      strArray = strArray + "\nnew Array(\"" + data[i].getField("id") + "\", \""
-          + FormatUtilities.replaceJS(data[i].getField("name")) + "\")";
-      if (i < data.length - 1)
-        strArray = strArray + ", ";
-    }
-    strArray = strArray + ");";
-    return strArray;
-  }
-
-  public void makeConnection(ServletConfig config) throws PoolNotFoundException {
+  private void makeConnection(ServletConfig config) throws PoolNotFoundException {
     if (myPool != null) {
       try {
         myPool.destroy();
--- a/src-core/src/org/openbravo/data/SetFieldProvider.java	Wed Jun 03 18:25:31 2009 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-/*
- ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
- * Licensed under the Apache Software License version 2.0
- * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to  in writing,  software  distributed
- * under the License is distributed  on  an  "AS IS"  BASIS,  WITHOUT  WARRANTIES  OR
- * CONDITIONS OF ANY KIND, either  express  or  implied.  See  the  License  for  the
- * specific language governing permissions and limitations under the License.
- ************************************************************************************
- */
-package org.openbravo.data;
-
-public interface SetFieldProvider {
-  public FieldProvider setFieldProvider(String line);
-}
--- a/src-core/src/org/openbravo/data/Sqlc.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/data/Sqlc.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2008 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -47,7 +47,7 @@
  * 
  **/
 public class Sqlc extends DefaultHandler {
-  public static final String VERSION = "V1.O00-1";
+  private static final String VERSION = "V1.O00-1";
   String sqlcName;
   String sqlcPackage = null;
   String sqlcAccessModifier = ""; // i.e. "" or public
@@ -82,11 +82,11 @@
 
   static Logger log4j = Logger.getLogger(Sqlc.class); // log4j
 
-  public Sqlc() {
+  private Sqlc() {
     init();
   }
 
-  public void init() {
+  private void init() {
     sql = new Sql();
     stcElement = new Stack<String>();
     first = true;
@@ -193,7 +193,7 @@
   }
 
   // list of files and directories related to a File
-  public static void listDir(File file, boolean boolFilter, DirFilter dirFilter, Sqlc sqlc,
+  private static void listDir(File file, boolean boolFilter, DirFilter dirFilter, Sqlc sqlc,
       XMLReader parser, String strFilter, File fileFin, boolean parse, String parent, int level) {
 
     File[] list;
@@ -533,7 +533,7 @@
     buffer.append(ch, start, lengthc);
   }
 
-  public void readBuffer() {
+  private void readBuffer() {
     if (buffer != null) {
       final String strBuffer = buffer.toString();
       if (log4j.isDebugEnabled())
@@ -551,7 +551,7 @@
     }
   }
 
-  public void connect(String file) throws ClassNotFoundException, SQLException {
+  private void connect(String file) throws ClassNotFoundException, SQLException {
     final Properties properties = new Properties();
     try {
       properties.load(new FileInputStream(file));
@@ -575,7 +575,7 @@
     log4j.info("connect made");
   }
 
-  public void closeConnection() {
+  private void closeConnection() {
     try {
       connection.close();
     } catch (final SQLException e) {
@@ -583,7 +583,7 @@
     }
   }
 
-  public void query() {
+  private void query() {
     try {
       if (preparedStatement != null)
         preparedStatement.close();
@@ -650,7 +650,7 @@
     }
   }
 
-  public void printInitClass() throws IOException {
+  private void printInitClass() throws IOException {
     if (this.writeTxtFiles)
       printTxtFile();
     out1.append("//Sqlc generated " + VERSION + "\n"); // v0.011");
@@ -755,7 +755,7 @@
     out2.append(" }\n");
   }
 
-  void printTxtFile() {
+  private void printTxtFile() {
     try {
       // Display column headings
       if (log4j.isDebugEnabled())
@@ -796,7 +796,7 @@
     }
   }
 
-  public void printFunctionConstant() throws IOException {
+  private void printFunctionConstant() throws IOException {
     printHeadFunctionSql(false, false, false);
     out2.append("    " + sqlcName + " object" + sqlcName + "[] = new " + sqlcName + "[1];\n");
     out2.append("    object" + sqlcName + "[0] = new " + sqlcName + "();\n");
@@ -823,7 +823,7 @@
     out2.append("  }\n");
   }
 
-  public void printSQLBody() throws IOException {
+  private void printSQLBody() throws IOException {
     // codigo para imprimir trozos de Sql opcionales
     int posSQL = 0;
     out2.append("    String strSql = \"\";\n");
@@ -923,7 +923,7 @@
     out2.append("\n");
   }
 
-  public void printSQLParameters() throws IOException {
+  private void printSQLParameters() throws IOException {
     final StringBuffer aux = new StringBuffer();
     boolean declareiParameter = false;
 
@@ -994,7 +994,7 @@
     out2.append(aux.toString());
   }
 
-  public void printFunctionSql() throws IOException {
+  private void printFunctionSql() throws IOException {
     boolean boolSequence = false;
     // *** Call to the argument-less creation header, who calls the header
     // with them
@@ -1269,7 +1269,7 @@
     out2.append("  }\n");
   }
 
-  public void printHeadFunctionSql(boolean printProviderConnection, boolean boolPagin,
+  private void printHeadFunctionSql(boolean printProviderConnection, boolean boolPagin,
       boolean boolSequence) throws IOException {
     out2.append("\n");
     final String[] strSqlCommentsVector = stringToVector(sql.strSqlComments, false);
@@ -1354,7 +1354,7 @@
     out2.append("    throws ServletException {\n");
   }
 
-  public void printCallFunctionSql(boolean printProviderConnection) throws IOException {
+  private void printCallFunctionSql(boolean printProviderConnection) throws IOException {
     out2.append(sql.sqlName + "(");
     boolean firstParameter = true;
     if (sql.sqlConnection.equals("true")) {
@@ -1393,18 +1393,18 @@
     out2.append(")");
   }
 
-  public void printEndClass() throws IOException {
+  private void printEndClass() throws IOException {
     out2.append("}\n");
   }
 
-  public int posFinal(String strSQL, String strPattern) {
+  private int posFinal(String strSQL, String strPattern) {
     int index = sql.strSQL.indexOf(strPattern);
     if (index != -1)
       index = index + strPattern.length();
     return index;
   }
 
-  public void imprimirSubstring(String strSQL, int posIni, int posFin, OutputStreamWriter out)
+  private void imprimirSubstring(String strSQL, int posIni, int posFin, OutputStreamWriter out)
       throws IOException {
     final String[] strSqlVector = stringToVector(strSQL.substring(posIni, posFin), true);
     for (int i = 0; i < strSqlVector.length; i++) {
@@ -1423,7 +1423,7 @@
    * Convert a string with the character 0A (10 decimal) in an array of the text separated by this
    * character
    **/
-  public String[] stringToVector(String strSQL, boolean suppressBlankLines) {
+  private String[] stringToVector(String strSQL, boolean suppressBlankLines) {
     final byte tab[] = { 10 };
     final String strTab = new String(tab);
     final Vector<String> vector = new Vector<String>();
@@ -1483,7 +1483,7 @@
     return result.toString();
   }
 
-  public void readProperties(String strFileProperties) {
+  private void readProperties(String strFileProperties) {
     // Read properties file.
     final Properties properties = new Properties();
     try {
--- a/src-core/src/org/openbravo/data/UtilSql.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/data/UtilSql.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -11,105 +11,15 @@
  */
 package org.openbravo.data;
 
-import java.lang.reflect.Field;
 import java.sql.Blob;
 import java.sql.CallableStatement;
 import java.sql.PreparedStatement;
 import java.sql.ResultSet;
-import java.sql.ResultSetMetaData;
 import java.text.SimpleDateFormat;
 import java.util.Date;
 
 public class UtilSql {
 
-  public boolean GetStringResultSet(ResultSet result, Object sqlObject) {
-    Field f = null;
-    try {
-      ResultSetMetaData rmeta = result.getMetaData();
-      int numColumns = rmeta.getColumnCount();
-
-      for (int i = 1; i <= numColumns; ++i) {
-        String strNombreColumna = rmeta.getColumnName(i);
-        String strFieldName = TransformaNombreColumna(strNombreColumna);
-        f = sqlObject.getClass().getField(strFieldName);
-        f.setAccessible(true);
-
-        switch (rmeta.getColumnType(i)) {
-        case 2:
-          f.set(sqlObject, Long.toString(result.getLong(strNombreColumna)));
-          break;
-        case 12:
-          f.set(sqlObject, result.getString(strNombreColumna));
-          break;
-        case 93:
-          f.set(sqlObject, result.getDate(strNombreColumna));
-          if (result.wasNull())
-            f.set(sqlObject, new java.sql.Date(System.currentTimeMillis()));
-          break;
-        }
-        if (result.wasNull() && rmeta.getColumnType(i) != 93)
-          f.set(sqlObject, "");
-
-        f.setAccessible(false);
-      }
-    } catch (Exception e) {
-      e.printStackTrace();
-      return (false);
-    }
-    return (true);
-  }
-
-  public String TransformaNombreColumna(String strColumn) {
-    String strNombreTransformado = "";
-    Character BarraBaja = new Character('_');
-    int intNumCaracteres = strColumn.length();
-    boolean blnFueBarraBaja = false;
-    for (int i = 0; i < intNumCaracteres; i++) {
-      if (i == 0)
-        strNombreTransformado = new Character(Character.toUpperCase(strColumn.charAt(i)))
-            .toString();
-      else {
-        if (new Character(strColumn.charAt(i)).compareTo(BarraBaja) == 0)
-          blnFueBarraBaja = true;
-        else {
-          if (blnFueBarraBaja) {
-            strNombreTransformado = strNombreTransformado
-                + new Character(Character.toUpperCase(strColumn.charAt(i))).toString();
-            blnFueBarraBaja = false;
-          } else
-            strNombreTransformado = strNombreTransformado
-                + new Character(Character.toLowerCase(strColumn.charAt(i))).toString();
-        }
-      }
-    }
-    return (strNombreTransformado);
-  }
-
-  public boolean AsignarValoresEntrada(PreparedStatement ps, int posicion, int tipo, String strValor) {
-    try {
-      if (strValor != null) {
-        if (strValor.compareTo("") == 0)
-          ps.setNull(posicion, tipo);
-        else {
-          switch (tipo) {
-          case 2:
-            ps.setLong(posicion, Long.valueOf(strValor).longValue());
-            break;
-          case 12:
-            ps.setString(posicion, strValor);
-            break;
-          }
-
-        }
-      } else
-        ps.setNull(posicion, tipo);
-    } catch (Exception e) {
-      e.printStackTrace();
-      return (false);
-    }
-    return (true);
-  }
-
   // setValue and getValue method to be used in sqlc
 
   public static boolean setValue(PreparedStatement ps, int posicion, int tipo, String strDefault,
--- a/src-core/src/org/openbravo/database/ConnectionPool.java	Wed Jun 03 18:25:31 2009 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,229 +0,0 @@
-/*
- ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
- * Licensed under the Apache Software License version 2.0
- * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to  in writing,  software  distributed
- * under the License is distributed  on  an  "AS IS"  BASIS,  WITHOUT  WARRANTIES  OR
- * CONDITIONS OF ANY KIND, either  express  or  implied.  See  the  License  for  the
- * specific language governing permissions and limitations under the License.
- ************************************************************************************
- */
-
-package org.openbravo.database;
-
-import java.sql.CallableStatement;
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.SQLException;
-import java.sql.Statement;
-
-import javax.naming.Context;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-import javax.servlet.ServletException;
-import javax.sql.DataSource;
-
-import org.apache.commons.dbcp.ConnectionFactory;
-import org.apache.commons.dbcp.PoolableConnectionFactory;
-import org.apache.commons.dbcp.PoolingDataSource;
-import org.apache.commons.pool.KeyedObjectPoolFactory;
-import org.apache.commons.pool.impl.GenericObjectPool;
-import org.apache.commons.pool.impl.StackKeyedObjectPoolFactory;
-import org.apache.log4j.Logger;
-
-/**
- * ConnectionPool Pool of database connections with internal pool of PreparedStatements. Creates and
- * manages a pool of database connections and a pool of PreparedStatements.
- * 
- * @version 1.0.1 26/01/2006
- * @author Openbravo S.L.
- */
-public class ConnectionPool {
-  static Logger log4j = Logger.getLogger(ConnectionPool.class);
-  private DataSource myPool;
-  private String rdbms = "";
-
-  public ConnectionPool(String namespace) throws ServletException {
-    try {
-      Context initContext = new InitialContext();
-      Context envContext = (Context) initContext.lookup("java:/comp/env");
-      myPool = (DataSource) envContext.lookup(namespace);
-    } catch (NamingException nex) {
-      nex.printStackTrace();
-      throw new ServletException(nex.toString());
-    }
-    if (log4j.isDebugEnabled())
-      log4j.debug("Starting ConnectionPool Version 1.0.1:");
-  }// End ConnectionPool()
-
-  public ConnectionPool(String _driver, String _server, String _login, String _password,
-      int _minConns, int _maxConns, double _maxConnTime, String _dbSessionConfig, String _rdbms)
-      throws ServletException {
-    rdbms = _rdbms;
-    if (log4j.isDebugEnabled())
-      log4j.debug("Loading underlying JDBC driver.");
-    try {
-      Class.forName(_driver);
-    } catch (ClassNotFoundException e) {
-      throw new ServletException(e.toString());
-    }
-    if (log4j.isDebugEnabled())
-      log4j.debug("Done.");
-
-    GenericObjectPool connectionPool = new GenericObjectPool(null);
-    connectionPool.setWhenExhaustedAction(GenericObjectPool.WHEN_EXHAUSTED_GROW);
-    connectionPool.setMaxActive(_maxConns);
-    connectionPool.setTestOnBorrow(false);
-    connectionPool.setTestOnReturn(false);
-    connectionPool.setTestWhileIdle(false);
-
-    KeyedObjectPoolFactory keyedObject = new StackKeyedObjectPoolFactory();
-    ConnectionFactory connectionFactory = new OpenbravoDriverManagerConnectionFactory(_server,
-        _login, _password, _dbSessionConfig);
-    @SuppressWarnings("unused")
-    // required by dbcp
-    PoolableConnectionFactory poolableConnectionFactory = new PoolableConnectionFactory(
-        connectionFactory, connectionPool, keyedObject, null, false, true);
-
-    PoolingDataSource dataSource = new PoolingDataSource(connectionPool);
-
-    myPool = dataSource;
-  }
-
-  /**
-   * getConnection Return the first free connection of the pool. Loop over the pool searching for
-   * the first free connection.
-   */
-  public Connection getConnection() {
-    Connection conn = null;
-    try {
-      conn = myPool.getConnection();
-    } catch (SQLException ex) {
-      ex.printStackTrace();
-    }
-    return conn;
-  }
-
-  public String getRDBMS() {
-    return rdbms;
-  }
-
-  /**
-   * releaseConnection Free a specific connection but get them alive (unclosed).
-   */
-  public boolean releaseConnection(Connection conn) {
-    try {
-      conn.setAutoCommit(true);
-      conn.close();
-    } catch (SQLException e) {
-      e.printStackTrace();
-    }
-    return true;
-  }
-
-  public PreparedStatement getPreparedStatement(String SQLPreparedStatement) {
-    if (log4j.isDebugEnabled())
-      log4j.debug("connection requested");
-    Connection conn = getConnection();
-    if (log4j.isDebugEnabled())
-      log4j.debug("connection established");
-    return getPreparedStatement(conn, SQLPreparedStatement);
-  }
-
-  public PreparedStatement getPreparedStatement(Connection conn, String SQLPreparedStatement) {
-    try {
-      PreparedStatement ps;
-      if (log4j.isDebugEnabled())
-        log4j.debug("preparedStatement requested");
-      ps = conn.prepareStatement(SQLPreparedStatement, ResultSet.TYPE_SCROLL_INSENSITIVE,
-          ResultSet.CONCUR_READ_ONLY);
-      if (log4j.isDebugEnabled())
-        log4j.debug("preparedStatement received");
-      return (ps);
-    } catch (SQLException e) {
-      log4j.error("getPreparedStatement: " + SQLPreparedStatement);
-      releaseConnection(conn);
-      e.printStackTrace();
-      return null;
-    }
-  }
-
-  public CallableStatement getCallableStatement(String SQLCallableStatement) {
-    Connection conn = getConnection();
-    return getCallableStatement(conn, SQLCallableStatement);
-  }
-
-  public CallableStatement getCallableStatement(Connection conn, String SQLCallableStatement) {
-    try {
-      CallableStatement cs;
-      cs = conn.prepareCall(SQLCallableStatement);
-      return (cs);
-    } catch (SQLException e) {
-      log4j.error("getCallableStatement: " + SQLCallableStatement);
-      releaseConnection(conn);
-      e.printStackTrace();
-      return null;
-    }
-  }
-
-  public Statement getStatement() {
-    Connection conn = getConnection();
-    return getStatement(conn);
-  }
-
-  public Statement getStatement(Connection conn) {
-    try {
-      return (conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY));
-    } catch (SQLException e) {
-      releaseConnection(conn);
-      e.printStackTrace();
-      return null;
-    }
-  }
-
-  public void releasePreparedStatement(PreparedStatement preparedStatement) {
-    try {
-      Connection conn = preparedStatement.getConnection();
-      releaseConnection(conn);
-    } catch (SQLException e) {
-      e.printStackTrace();
-    }
-  }
-
-  public void releaseCallableStatement(CallableStatement callableStatement) {
-    try {
-      Connection conn = callableStatement.getConnection();
-      releaseConnection(conn);
-    } catch (SQLException e) {
-      e.printStackTrace();
-    }
-  }
-
-  public void releaseStatement(Statement statement) {
-    try {
-      Connection conn = statement.getConnection();
-      statement.close();
-      releaseConnection(conn);
-    } catch (SQLException e) {
-      e.printStackTrace();
-    }
-  }
-
-  /**
-   * destroy Destroy de thread releasing every connections to the database
-   */
-  public void destroy() {
-    myPool = null;
-  }
-
-  /**
-   * Returns the actual status of the dynamic pool.
-   */
-  public String getStatus() {
-    StringBuffer strResultado = new StringBuffer();
-    strResultado.append("Not implemented yet");
-    return strResultado.toString();
-  }// End getStatus()
-}
--- a/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -20,7 +20,7 @@
 
 import org.apache.commons.dbcp.ConnectionFactory;
 
-public class OpenbravoDriverManagerConnectionFactory implements ConnectionFactory {
+class OpenbravoDriverManagerConnectionFactory implements ConnectionFactory {
   protected String _connectUri;
   protected String _uname;
   protected String _passwd;
--- a/src-core/src/org/openbravo/database/StandAloneConnection.java	Wed Jun 03 18:25:31 2009 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,347 +0,0 @@
-/*
- ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
- * Licensed under the Apache Software License version 2.0
- * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to  in writing,  software  distributed
- * under the License is distributed  on  an  "AS IS"  BASIS,  WITHOUT  WARRANTIES  OR
- * CONDITIONS OF ANY KIND, either  express  or  implied.  See  the  License  for  the
- * specific language governing permissions and limitations under the License.
- ************************************************************************************
- */
-package org.openbravo.database;
-
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.sql.CallableStatement;
-import java.sql.Connection;
-import java.sql.DriverManager;
-import java.sql.PreparedStatement;
-import java.sql.SQLException;
-import java.sql.Statement;
-import java.util.Hashtable;
-import java.util.Properties;
-
-import javax.servlet.ServletException;
-
-import org.apache.log4j.Logger;
-import org.openbravo.exception.PoolNotFoundException;
-
-public class StandAloneConnection implements ConnectionProvider {
-  public static ConnectionPool myPool;
-  protected static Hashtable<String, ConnectionPool> pools = new Hashtable<String, ConnectionPool>();
-  String strDriver;
-  String strURL;
-  Connection connection;
-  static Logger log4j = Logger.getLogger(StandAloneConnection.class);
-  static String sqlDateFormat;
-
-  public void createPool(String poolDir) {
-
-    Properties properties = new Properties();
-    try {
-      properties.load(new FileInputStream(poolDir + "/Openbravo.properties"));
-      String poolName = properties.getProperty("bbdd.poolName", "myPool");
-      String dbDriver = properties.getProperty("bbdd.driver");
-      String dbServer = properties.getProperty("bbdd.url");
-      String dbLogin = properties.getProperty("bbdd.user");
-      String dbPassword = properties.getProperty("bbdd.password");
-      int minConns = new Integer(properties.getProperty("bbdd.minConns", "1"));
-      int maxConns = new Integer(properties.getProperty("bbdd.maxConns", "10"));
-      double maxConnTime = new Double(properties.getProperty("maxConnTime", "0.5"));
-      String dbSessionConfig = properties.getProperty("bbdd.sessionConfig");
-      String rdbms = properties.getProperty("bbdd.rdbms");
-      sqlDateFormat = properties.getProperty("dateFormat.sql");
-
-      ConnectionPool myLocalPool = new ConnectionPool(dbDriver, dbServer, dbLogin, dbPassword,
-          minConns, maxConns, maxConnTime, dbSessionConfig, rdbms);
-
-      if (myLocalPool == null)
-        log4j.error("Initialization failed on pool: ");
-      pools.put(poolName, myLocalPool);
-      myPool = myLocalPool;
-    } catch (Exception e) {
-      e.printStackTrace();
-    }
-  }
-
-  // methods of Connection provider
-  private ConnectionPool getPool(String poolName) throws PoolNotFoundException {
-    ConnectionPool myPool = pools.get(poolName);
-    if (myPool == null)
-      throw new PoolNotFoundException(poolName + " not found");
-    else
-      return myPool;
-  }
-
-  private ConnectionPool getPool() throws PoolNotFoundException {
-    if (myPool == null)
-      throw new PoolNotFoundException("Default pool not found");
-    else
-      return myPool;
-  }
-
-  public Connection getConnection() {
-    try {
-      return (getPool().getConnection());
-    } catch (Exception ignored) {
-    }
-    return null;
-  }
-
-  public String getRDBMS() {
-    try {
-      return (getPool().getRDBMS());
-    } catch (Exception ignored) {
-    }
-    return null;
-  }
-
-  public Connection getTransactionConnection() {
-    try {
-      Connection conn = getPool().getConnection();
-      conn.setAutoCommit(false);
-      return conn;
-    } catch (PoolNotFoundException ignored) {
-    } catch (SQLException e) {
-      e.printStackTrace();
-    }
-    return null;
-  }
-
-  public void releaseCommitConnection(Connection conn) {
-    try {
-      conn.commit();
-      myPool.releaseConnection(conn);
-      return;
-    } catch (SQLException e) {
-      e.printStackTrace();
-    }
-    return;
-  }
-
-  public void releaseRollbackConnection(Connection conn) {
-    try {
-      conn.rollback();
-      myPool.releaseConnection(conn);
-      return;
-    } catch (SQLException e) {
-      e.printStackTrace();
-    }
-    return;
-  }
-
-  public PreparedStatement getPreparedStatement(String poolName, String strSql) {
-    try {
-      return (getPool(poolName).getPreparedStatement(strSql));
-    } catch (PoolNotFoundException ignored) {
-    }
-    return null;
-  }
-
-  public PreparedStatement getPreparedStatement(String strSql) {
-    try {
-      return (getPool().getPreparedStatement(strSql));
-    } catch (PoolNotFoundException ignored) {
-    }
-    return null;
-  }
-
-  public PreparedStatement getPreparedStatement(Connection conn, String strSql) {
-    try {
-      return (getPool().getPreparedStatement(conn, strSql));
-    } catch (PoolNotFoundException ignored) {
-    }
-    return null;
-  }
-
-  public void releasePreparedStatement(PreparedStatement preparedStatement) {
-    try {
-      Connection conn = preparedStatement.getConnection();
-      preparedStatement.close();
-      myPool.releaseConnection(conn);
-    } catch (SQLException e) {
-      e.printStackTrace();
-    }
-  }
-
-  public Statement getStatement(String poolName) {
-    try {
-      return (getPool(poolName).getStatement());
-    } catch (PoolNotFoundException ignored) {
-    }
-    return null;
-  }
-
-  public Statement getStatement() {
-    try {
-      return (getPool().getStatement());
-    } catch (PoolNotFoundException ignored) {
-    }
-    return null;
-  }
-
-  public Statement getStatement(Connection conn) {
-    try {
-      return (getPool().getStatement(conn));
-    } catch (PoolNotFoundException ignored) {
-    }
-    return null;
-  }
-
-  public void releaseStatement(Statement statement) {
-    try {
-      Connection conn = statement.getConnection();
-      statement.close();
-      myPool.releaseConnection(conn);
-    } catch (SQLException e) {
-      e.printStackTrace();
-    }
-  }
-
-  public void releaseTransactionalStatement(Statement statement) {
-    try {
-      statement.close();
-    } catch (SQLException e) {
-      e.printStackTrace();
-    }
-  }
-
-  public void releaseTransactionalPreparedStatement(PreparedStatement preparedStatement) {
-    try {
-      preparedStatement.close();
-    } catch (SQLException e) {
-      e.printStackTrace();
-    }
-  }
-
-  public CallableStatement getCallableStatement(String poolName, String strSql) {
-    try {
-      return (getPool(poolName).getCallableStatement(strSql));
-    } catch (PoolNotFoundException ignored) {
-    }
-    return null;
-  }
-
-  public CallableStatement getCallableStatement(String strSql) {
-    try {
-      return (getPool().getCallableStatement(strSql));
-    } catch (PoolNotFoundException ignored) {
-    }
-    return null;
-  }
-
-  public CallableStatement getCallableStatement(Connection conn, String strSql) {
-    try {
-      return (getPool().getCallableStatement(conn, strSql));
-    } catch (PoolNotFoundException ignored) {
-    }
-    return null;
-  }
-
-  public void releaseCallableStatement(CallableStatement callableStatement) {
-    try {
-      Connection conn = callableStatement.getConnection();
-      callableStatement.close();
-      myPool.releaseConnection(conn);
-    } catch (SQLException e) {
-      e.printStackTrace();
-    }
-  }
-
-  public void connect() throws ClassNotFoundException, SQLException {
-    if (log4j.isDebugEnabled())
-      log4j.debug("Driver loading: " + strDriver);
-    Class.forName(strDriver);
-    if (log4j.isDebugEnabled())
-      log4j.debug("Driver loaded");
-    if (log4j.isDebugEnabled())
-      log4j.debug("Connection with: " + strURL);
-    connection = DriverManager.getConnection(strURL);
-    if (log4j.isDebugEnabled())
-      log4j.debug("connect made");
-  }
-
-  public void closeConnection() {
-    try {
-      connection.close();
-    } catch (SQLException e) {
-      log4j.error("SQL error in closeConnection: " + e);
-    }
-  }
-
-  public static int dynamicQuery(ConnectionProvider conn, String strSql) throws ServletException {
-    Statement stmt = null;
-    int updateCount = 0;
-
-    try {
-      stmt = conn.getStatement();
-      updateCount = stmt.executeUpdate(strSql);
-    } catch (Exception e) {
-      log4j.error("SQL error in query: " + strSql + "\nException:" + e);
-      throw new ServletException(e.toString());
-    } finally {
-      try {
-        conn.releaseStatement(stmt);
-      } catch (Exception ignored) {
-      }
-    }
-    return (updateCount);
-  }
-
-  public static String preformatedColumn(String strValue, String type) {
-    StringBuffer script = new StringBuffer();
-    script.append("(CASE ").append(strValue).append(" WHEN NULL THEN 'NULL' ELSE ");
-    if (strValue == null || strValue.length() == 0)
-      return "NULL";
-    else if (type.equalsIgnoreCase("NUMBER"))
-      script.append("TO_CHAR(" + strValue + ")");
-    else if (type.equalsIgnoreCase("DATE"))
-      script.append("TO_CHAR(" + strValue + ", '" + sqlDateFormat + " HH24:MI:SS')");
-    else
-      script.append(strValue);
-    script.append(" END)");
-    return script.toString();
-  }
-
-  public static String formatedColumn(String strValue, String type) {
-    if (strValue == null || strValue.length() == 0)
-      return "NULL";
-    else if (strValue.equalsIgnoreCase("NULL") || type.equalsIgnoreCase("NUMBER"))
-      return strValue;
-    else if (type.equalsIgnoreCase("DATE"))
-      return "TO_DATE('" + strValue + "', '" + sqlDateFormat + " HH24:MI:SS')";
-    else {
-      strValue = strValue.replace("'", "''");
-      strValue = strValue.replace("\r", "' || chr(10) || '");
-      strValue = strValue.replace("\n", "' || chr(13) || '");
-      return "'" + strValue + "'";
-    }
-  }
-
-  public void readProperties(String strFileProperties) {
-    // Read properties file.
-    Properties properties = new Properties();
-    try {
-      if (log4j.isDebugEnabled())
-        log4j.debug("strFileProperties: " + strFileProperties);
-      properties.load(new FileInputStream(strFileProperties));
-      sqlDateFormat = properties.getProperty("dateFormat.sql");
-      if (log4j.isDebugEnabled())
-        log4j.debug("sqlDateFormat: " + sqlDateFormat);
-    } catch (IOException e) {
-      // catch possible io errors from readLine()
-      e.printStackTrace();
-    }
-  }
-
-  public void destroy() {
-    // TODO Auto-generated method stub
-
-  }
-
-  public String getStatus() {
-    // TODO Auto-generated method stub
-    return null;
-  }
-}
--- a/src-core/src/org/openbravo/uiTranslation/FieldGroupLabelsData.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/uiTranslation/FieldGroupLabelsData.java	Wed Jun 03 21:16:56 2009 +0200
@@ -13,7 +13,7 @@
 import org.openbravo.data.UtilSql;
 import org.openbravo.database.ConnectionProvider;
 
-public class FieldGroupLabelsData implements FieldProvider {
+class FieldGroupLabelsData implements FieldProvider {
   static Logger log4j = Logger.getLogger(FieldGroupLabelsData.class);
   private String InitRecordNumber = "0";
   public String tabname;
--- a/src-core/src/org/openbravo/uiTranslation/FieldLabelsData.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/uiTranslation/FieldLabelsData.java	Wed Jun 03 21:16:56 2009 +0200
@@ -13,7 +13,7 @@
 import org.openbravo.data.UtilSql;
 import org.openbravo.database.ConnectionProvider;
 
-public class FieldLabelsData implements FieldProvider {
+class FieldLabelsData implements FieldProvider {
   static Logger log4j = Logger.getLogger(FieldLabelsData.class);
   private String InitRecordNumber = "0";
   public String adColumnId;
--- a/src-core/src/org/openbravo/uiTranslation/InterfaceInfo.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/uiTranslation/InterfaceInfo.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 package org.openbravo.uiTranslation;
 
-public class InterfaceInfo {
+class InterfaceInfo {
 
   public static int TAB = 0, PROCESS = 1, FORM = 2;
 
--- a/src-core/src/org/openbravo/uiTranslation/InterfaceModuleInfoData.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/uiTranslation/InterfaceModuleInfoData.java	Wed Jun 03 21:16:56 2009 +0200
@@ -13,7 +13,7 @@
 import org.openbravo.data.UtilSql;
 import org.openbravo.database.ConnectionProvider;
 
-public class InterfaceModuleInfoData implements FieldProvider {
+class InterfaceModuleInfoData implements FieldProvider {
   static Logger log4j = Logger.getLogger(InterfaceModuleInfoData.class);
   private String InitRecordNumber = "0";
   public String moduleid;
--- a/src-core/src/org/openbravo/uiTranslation/InterfaceTrlInfoData.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/uiTranslation/InterfaceTrlInfoData.java	Wed Jun 03 21:16:56 2009 +0200
@@ -13,7 +13,7 @@
 import org.openbravo.data.UtilSql;
 import org.openbravo.database.ConnectionProvider;
 
-public class InterfaceTrlInfoData implements FieldProvider {
+class InterfaceTrlInfoData implements FieldProvider {
   static Logger log4j = Logger.getLogger(InterfaceTrlInfoData.class);
   private String InitRecordNumber = "0";
   public String name;
--- a/src-core/src/org/openbravo/uiTranslation/ProcessLabelsData.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/uiTranslation/ProcessLabelsData.java	Wed Jun 03 21:16:56 2009 +0200
@@ -13,7 +13,7 @@
 import org.openbravo.data.UtilSql;
 import org.openbravo.database.ConnectionProvider;
 
-public class ProcessLabelsData implements FieldProvider {
+class ProcessLabelsData implements FieldProvider {
   static Logger log4j = Logger.getLogger(ProcessLabelsData.class);
   private String InitRecordNumber = "0";
   public String adprocessid;
--- a/src-core/src/org/openbravo/uiTranslation/TextInterfacesData.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/uiTranslation/TextInterfacesData.java	Wed Jun 03 21:16:56 2009 +0200
@@ -13,7 +13,7 @@
 import org.openbravo.data.UtilSql;
 import org.openbravo.database.ConnectionProvider;
 
-public class TextInterfacesData implements FieldProvider {
+class TextInterfacesData implements FieldProvider {
   static Logger log4j = Logger.getLogger(TextInterfacesData.class);
   private String InitRecordNumber = "0";
   public String filename;
--- a/src-core/src/org/openbravo/uiTranslation/TranslationUtils.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/uiTranslation/TranslationUtils.java	Wed Jun 03 21:16:56 2009 +0200
@@ -10,7 +10,7 @@
 import org.apache.log4j.Logger;
 import org.openbravo.database.ConnectionProvider;
 
-public class TranslationUtils {
+class TranslationUtils {
 
   private static final Logger log4j = Logger.getLogger(TranslationUtils.class);
 
--- a/src-core/src/org/openbravo/uiTranslation/WindowLabel.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/uiTranslation/WindowLabel.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 package org.openbravo.uiTranslation;
 
-public class WindowLabel {
+class WindowLabel {
 
   public static int FIELD_LABEL = 0;
   public static int FIELD_GROUP_LABEL = 1;
--- a/src-core/src/org/openbravo/utils/FileToDataLoader.java	Wed Jun 03 18:25:31 2009 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-/*
- ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
- * Licensed under the Apache Software License version 2.0
- * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to  in writing,  software  distributed
- * under the License is distributed  on  an  "AS IS"  BASIS,  WITHOUT  WARRANTIES  OR
- * CONDITIONS OF ANY KIND, either  express  or  implied.  See  the  License  for  the
- * specific language governing permissions and limitations under the License.
- ************************************************************************************
- */
-package org.openbravo.utils;
-
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileReader;
-import java.util.Vector;
-
-import org.apache.log4j.Logger;
-import org.openbravo.data.FieldProvider;
-import org.openbravo.data.SetFieldProvider;
-import org.openbravo.database.StandAloneConnection;
-
-public class FileToDataLoader extends StandAloneConnection {
-
-  static Logger log4j = Logger.getLogger(FileToDataLoader.class);
-
-  public static FieldProvider[] getFileIntoData(File path, String FileName, SetFieldProvider data) {
-    if (log4j.isDebugEnabled())
-      log4j.debug("processing replace file: " + FileName);
-    Vector<FieldProvider> vector = new Vector<FieldProvider>();
-    FieldProvider[] newData = null;
-    try {
-      File file = new File(path, FileName);
-      if (!file.exists()) {
-        log4j.error("Unknown file: " + path + "\\" + FileName);
-        return null;
-      }
-      BufferedReader fileBuffer = new BufferedReader(new FileReader(file));
-
-      String nextLine = fileBuffer.readLine();
-      while (nextLine != null) {
-        FieldProvider fieldProvider = data.setFieldProvider(nextLine);
-        if (fieldProvider != null)
-          vector.addElement(fieldProvider);
-        nextLine = fileBuffer.readLine();
-      }
-      fileBuffer.close();
-      newData = new FieldProvider[vector.size()];
-      vector.copyInto(newData);
-    } catch (Exception e) {
-      e.printStackTrace();
-      return null;
-    }
-    return newData;
-  }
-}
--- a/src-core/src/org/openbravo/xmlEngine/ErrorManagement.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/xmlEngine/ErrorManagement.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -22,7 +22,7 @@
  */
 import org.apache.log4j.Logger;
 
-public class ErrorManagement {
+class ErrorManagement {
 
   static Logger log4jErrorManagement = Logger.getLogger(ErrorManagement.class);
 
--- a/src-core/src/org/openbravo/xmlEngine/FormatRead.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/xmlEngine/FormatRead.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -19,7 +19,7 @@
 import org.xml.sax.Attributes;
 import org.xml.sax.helpers.DefaultHandler;
 
-public class FormatRead extends DefaultHandler {
+class FormatRead extends DefaultHandler {
   Hashtable<String, FormatCouple> hasFormats;
 
   static Logger log4jFormatRead = Logger.getLogger(FormatRead.class);
--- a/src-core/src/org/openbravo/xmlEngine/HashtableMultiple.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/xmlEngine/HashtableMultiple.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -13,7 +13,7 @@
 
 import java.util.Vector;
 
-public class HashtableMultiple { // class to simulate a Hashtable but with
+class HashtableMultiple { // class to simulate a Hashtable but with
   // various keys of the same value
   // get returns the first key find but you can iterate to find all.
   Vector<String> vecKeys;
--- a/src-core/src/org/openbravo/xmlEngine/Report.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/xmlEngine/Report.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -13,7 +13,7 @@
 
 import org.openbravo.data.FieldProvider;
 
-public class Report {
+class Report {
   XmlDocument xmlDocument;
 
   public Report(String strReportFile, String[] discard, XmlEngine xmlEngine) {
--- a/src-core/src/org/openbravo/xmlEngine/XmlComponentTemplate.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/xmlEngine/XmlComponentTemplate.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -11,6 +11,6 @@
  */
 package org.openbravo.xmlEngine;
 
-public interface XmlComponentTemplate {
+interface XmlComponentTemplate {
   XmlComponentValue createXmlComponentValue(XmlDocument xmlDocument);
 }
--- a/src-core/src/org/openbravo/xmlEngine/XmlComponentValue.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/xmlEngine/XmlComponentValue.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -11,7 +11,7 @@
  */
 package org.openbravo.xmlEngine;
 
-public interface XmlComponentValue {
+interface XmlComponentValue {
   String print();
 
   String printPrevious();
--- a/src-core/src/org/openbravo/xmlEngine/XmlEngine.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/xmlEngine/XmlEngine.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -45,7 +45,7 @@
   Hashtable<String, Vector<ReplaceElement>> replaceHashtable;
   String strDriverDefault;
   String strUrlDefault;
-  public String strBaseLocation;
+  String strBaseLocation;
   String strFormatFile;
   public File fileXmlEngineFormat;
   public File fileBaseLocation;
@@ -53,7 +53,7 @@
   public String strReplaceWith;
   public boolean isResource = false;
 
-  public ServletConfig configXMLEngine;
+  ServletConfig configXMLEngine;
 
   static public String strTextDividedByZero;
 
@@ -103,7 +103,7 @@
     initialize();
   }
 
-  public void loadParams() {
+  private void loadParams() {
     /*
      * // decimal separator:. thousands separator: , DecimalFormatSymbols dfs = new
      * DecimalFormatSymbols(); log4jXmlEngine.info("InternationalCurrencySymbol: " +
@@ -272,7 +272,7 @@
    * @param discard
    *          A vector of Strings with the names of the discards in the template
    */
-  public XmlTemplate readAllXmlTemplates(String strXmlTemplateName, String strXmlTemplateFile,
+  XmlTemplate readAllXmlTemplates(String strXmlTemplateName, String strXmlTemplateFile,
       String[] discard) {
     XmlTemplate xmlTemplate = addXmlTemplate(strXmlTemplateName, strXmlTemplateFile, discard);
     while (!stcRead.empty()) {
@@ -319,7 +319,7 @@
    * @param xmlTemplate
    *          The XmlTemplate object
    */
-  public void readFile(XmlTemplate xmlTemplate) {
+  private void readFile(XmlTemplate xmlTemplate) {
     xmlParser = new SAXParser();
     htmlParser = new org.cyberneko.html.parsers.SAXParser();
 
@@ -516,7 +516,7 @@
 
   @SuppressWarnings("unchecked")
   // It's not possible to cast from xmlTemplate to Report
-  public void connect() {
+  void connect() {
     for (Enumeration e1 = hasXmlTemplate.elements(); e1.hasMoreElements();) {
       Report report = (Report) e1.nextElement(); // use XmlDocument
       for (Enumeration<DataValue> e2 = report.xmlDocument.hasDataValue.elements(); e2
@@ -529,7 +529,7 @@
 
   @SuppressWarnings("unchecked")
   // It's not possible to cast from xmlTemplate to Report
-  public void closeConnections() {
+  void closeConnections() {
     for (Enumeration e1 = hasXmlTemplate.elements(); e1.hasMoreElements();) {
       Report report = (Report) e1.nextElement();
       for (DataValue elementDataValue : report.xmlDocument.hasDataValue.values()) {
@@ -542,7 +542,7 @@
     closeConnections();
   }
 
-  public static void configureLog4j(String file) {
+  static void configureLog4j(String file) {
     if (file != null) {
       PropertyConfigurator.configure(file);
     } else {
@@ -616,11 +616,11 @@
   }
 
   // XmlEngineNP: classes for compatibilizing with the Rrports version
-  public Report readReportConfiguration(String strReportFile) {
+  Report readReportConfiguration(String strReportFile) {
     return readReportConfiguration(strReportFile, new String[0]);
   }
 
-  public Report readReportConfiguration(String strReportFile, String[] discard) {
+  Report readReportConfiguration(String strReportFile, String[] discard) {
     return new Report(strReportFile, discard, this);
   }
 
--- a/src-core/src/org/openbravo/xmlEngine/XmlTemplate.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/xmlEngine/XmlTemplate.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -77,11 +77,11 @@
     prefix = null;
   }
 
-  public String name() {
+  String name() {
     return strName;
   }
 
-  public String fileConfiguration() {
+  String fileConfiguration() {
     return fileConfiguration;
   }
 
@@ -92,7 +92,7 @@
   // XmlEngineNP: make sure this functions can be addede or deleted from the
   // constructor, because it is necessary to make clear, or also for the
   // subreports
-  public void clear() {
+  void clear() {
     /*
      * pass to XmlDocument for (Enumeration e = hasDataTemplate.elements() ; e.hasMoreElements();) {
      * DataTemplate elementDataTemplate = (DataTemplate)e.nextElement();
@@ -306,8 +306,8 @@
   }
 
   public void endElement(java.lang.String uri, java.lang.String name, java.lang.String qName) { // throws
-                                                                                                // SAXException
-                                                                                                // {
+    // SAXException
+    // {
     do {
       if (log4jXmlTemplate.isDebugEnabled())
         log4jXmlTemplate.debug("XmlTemplate: endElement is called: " + name + " strElement: "
@@ -380,7 +380,7 @@
     return createXmlDocument(null);
   }
 
-  public XmlDocument createXmlDocument(XmlDocument parentXmlDocument) {
+  XmlDocument createXmlDocument(XmlDocument parentXmlDocument) {
     XmlDocument subXmlDocument = new XmlDocument(this, parentXmlDocument);
     return subXmlDocument;
   }
--- a/src-core/src/org/openbravo/xmlEngine/XmlVectorTemplate.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/xmlEngine/XmlVectorTemplate.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -13,6 +13,6 @@
 
 import java.util.Vector;
 
-public class XmlVectorTemplate extends Vector<Object> {
+class XmlVectorTemplate extends Vector<Object> {
   private static final long serialVersionUID = 1L;
 }
--- a/src-core/src/org/openbravo/xmlEngine/XmlVectorValue.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-core/src/org/openbravo/xmlEngine/XmlVectorValue.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -19,7 +19,7 @@
 import org.apache.log4j.Logger;
 import org.openbravo.uiTranslation.TranslationHandler;
 
-public class XmlVectorValue extends Vector<Object> {
+class XmlVectorValue extends Vector<Object> {
 
   private static final long serialVersionUID = 1L;
   static Logger log4jXmlVectorValue = Logger.getLogger(XmlVectorValue.class);
--- a/src-wad/src/org/openbravo/wad/javasource.javaxml	Wed Jun 03 18:25:31 2009 +0200
+++ b/src-wad/src/org/openbravo/wad/javasource.javaxml	Wed Jun 03 21:16:56 2009 +0200
@@ -52,13 +52,13 @@
 public class <PARAMETER_TMP id="class">Almacen</PARAMETER_TMP> extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
   
-  static Logger log4j = Logger.getLogger(<PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>.class);
+  private static Logger log4j = Logger.getLogger(<PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>.class);
   
-  protected static final String windowId = "<PARAMETER_TMP id="windowId">Almacen</PARAMETER_TMP>";
-  protected static final String tabId = "<PARAMETER_TMP id="tabId">Almacen</PARAMETER_TMP>";
-  protected static final String defaultTabView = "<PARAMETER_TMP id="defaultView">RELATION</PARAMETER_TMP>";
-  protected static final int accesslevel = <PARAMETER_TMP id="accessLevel">xx</PARAMETER_TMP>;
-  protected static final double SUBTABS_COL_SIZE = 15;
+  private static final String windowId = "<PARAMETER_TMP id="windowId">Almacen</PARAMETER_TMP>";
+  private static final String tabId = "<PARAMETER_TMP id="tabId">Almacen</PARAMETER_TMP>";
+  private static final String defaultTabView = "<PARAMETER_TMP id="defaultView">RELATION</PARAMETER_TMP>";
+  private static final int accesslevel = <PARAMETER_TMP id="accessLevel">xx</PARAMETER_TMP>;
+  private static final double SUBTABS_COL_SIZE = 15;
 
   public void doPost (HttpServletRequest request, HttpServletResponse response) throws IOException,ServletException {
     TableSQLData tableSQL = null;
@@ -610,7 +610,7 @@
     return "";
   }
 */
-  <PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>Data getEditVariables(Connection con, VariablesSecureApp vars<PARAMETER_TMP id="parent">, String strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP></PARAMETER_TMP>) throws IOException,ServletException {
+  private <PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>Data getEditVariables(Connection con, VariablesSecureApp vars<PARAMETER_TMP id="parent">, String strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP></PARAMETER_TMP>) throws IOException,ServletException {
     <PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>Data data = new <PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>Data();
     try {
 <FIELDS_TMP id="sectionDetailgetEditVariables">    data.<FIELD_TMP id="fieldName">claveAlmacen</FIELD_TMP> = <FIELD_TMP id="fieldEncryption">FormatUtilities.encryptDecrypt(</FIELD_TMP>vars.get<FIELD_TMP id="fieldType">StringParameter</FIELD_TMP>("inp<FIELD_TMP id="fieldName1">claveAlmacen</FIELD_TMP>"<FIELD_TMP id="fieldDefault">, "D"</FIELD_TMP>)<FIELD_TMP id="fieldEndEncryption">, true)</FIELD_TMP>;</FIELDS_TMP>
@@ -635,14 +635,14 @@
     return data;
   }
 
-   <PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>Data[] getRelationData(<PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>Data[] data) {
+   private <PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>Data[] getRelationData(<PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>Data[] data) {
     if (data!=null) {
       for (int i=0;i&#60;data.length;i++) {<FIELDS_TMP id="sectionDetailgetRelationData">        data[i].<FIELD_TMP id="fieldRelationName">claveAlmacen</FIELD_TMP> = FormatUtilities.truncate(data[i].<FIELD_TMP id="fieldRelationName">claveAlmacen</FIELD_TMP>, <FIELD_TMP id="fieldMaxLength">35</FIELD_TMP>);</FIELDS_TMP>}
     }
     return data;
   }
 
-<PARAMETER_TMP id="parent">  void refreshParentSession(VariablesSecureApp vars, String strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP>) throws IOException,ServletException {
+<PARAMETER_TMP id="parent">  private void refreshParentSession(VariablesSecureApp vars, String strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP>) throws IOException,ServletException {
       <PARENT_TMP id="parentClass">Almacen</PARENT_TMP>Data[] data = <PARENT_TMP id="parentClass">Almacen</PARENT_TMP>Data.selectEdit(this, vars.getLanguage()<PARAMETER_TMP id="parentwhereclause"></PARAMETER_TMP><PARAMETER_TMP id="grandfather">, vars.getSessionValue(windowId + "|<PARAMETER_TMP id="grandfatherName">xx</PARAMETER_TMP>")</PARAMETER_TMP>, strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP>, Utility.getContext(this, vars, "#User_Client", windowId), Utility.getContext(this, vars, "#AccessibleOrgTree", windowId, accesslevel));
       if (data==null || data.length==0) return;
       <FIELDS_TMP id="sectionDetailParentSession">    vars.setSessionValue(windowId + "|<FIELD_TMP id="fieldRealName8">claveAlmacen</FIELD_TMP>", data[0].<FIELD_TMP id="fieldName8">claveAlmacen</FIELD_TMP>);</FIELDS_TMP>
@@ -651,7 +651,7 @@
       </LISTS_TMP>
   }
     
-  String getParentID(VariablesSecureApp vars, String str<KEY_TMP id="key">PosicionAlmacen</KEY_TMP>) throws ServletException {
+  private String getParentID(VariablesSecureApp vars, String str<KEY_TMP id="key">PosicionAlmacen</KEY_TMP>) throws ServletException {
     String strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP> = <PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>Data.selectParentID(this, str<KEY_TMP id="key">PosicionAlmacen</KEY_TMP>);
     if (strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP>.equals("")) {
       log4j.error("Parent record not found for id: " + str<KEY_TMP id="key">PosicionAlmacen</KEY_TMP>);
@@ -660,18 +660,18 @@
     return strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP>;
   }</PARAMETER_TMP>
 
-    void refreshSessionEdit(VariablesSecureApp vars, FieldProvider[] data) {
+    private void refreshSessionEdit(VariablesSecureApp vars, FieldProvider[] data) {
       if (data==null || data.length==0) return;
       <FIELDS_TMP id="sectionDetailSession">    vars.setSessionValue(windowId + "|<FIELD_TMP id="fieldRealName9">claveAlmacen</FIELD_TMP>", data[0].getField("<FIELD_TMP id="fieldName9">claveAlmacen</FIELD_TMP>"));</FIELDS_TMP>
     }
 
-    void refreshSessionNew(VariablesSecureApp vars<PARAMETER_TMP id="parent">, String strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP></PARAMETER_TMP>) throws IOException,ServletException {
+    private void refreshSessionNew(VariablesSecureApp vars<PARAMETER_TMP id="parent">, String strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP></PARAMETER_TMP>) throws IOException,ServletException {
       <PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>Data[] data = <PARAMETER_TMP id="class">Almacen</PARAMETER_TMP>Data.selectEdit(this, vars.getLanguage()<PARAMETER_TMP id="whereClauseParams"></PARAMETER_TMP><PARAMETER_TMP id="parent">, strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP></PARAMETER_TMP>, vars.getStringParameter("inp<KEY_TMP id="keyData">PosicionAlmacen</KEY_TMP>", "")<PARAMETER_TMP id="client">, Utility.getContext(this, vars, "#User_Client", windowId), Utility.getContext(this, vars, "#AccessibleOrgTree", windowId, accesslevel)</PARAMETER_TMP>);
       if (data==null || data.length==0) return;
       refreshSessionEdit(vars, data);
     }
 
-  String nextElement(VariablesSecureApp vars, String strSelected, TableSQLData tableSQL) throws IOException, ServletException {
+  private String nextElement(VariablesSecureApp vars, String strSelected, TableSQLData tableSQL) throws IOException, ServletException {
     if (strSelected == null || strSelected.equals("")) return firstElement(vars, tableSQL);
     if (tableSQL!=null) {
       String data = null;
@@ -689,7 +689,7 @@
     return strSelected;
   }
 
-  int getKeyPosition(VariablesSecureApp vars, String strSelected, TableSQLData tableSQL) throws IOException, ServletException {
+  private int getKeyPosition(VariablesSecureApp vars, String strSelected, TableSQLData tableSQL) throws IOException, ServletException {
     if (log4j.isDebugEnabled()) log4j.debug("getKeyPosition: " + strSelected);
     if (tableSQL!=null) {
       String data = null;
@@ -707,7 +707,7 @@
     return 0;
   }
 
-  String previousElement(VariablesSecureApp vars, String strSelected, TableSQLData tableSQL) throws IOException, ServletException {
+  private String previousElement(VariablesSecureApp vars, String strSelected, TableSQLData tableSQL) throws IOException, ServletException {
     if (strSelected == null || strSelected.equals("")) return firstElement(vars, tableSQL);
     if (tableSQL!=null) {
       String data = null;
@@ -725,7 +725,7 @@
     return strSelected;
   }
 
-  String firstElement(VariablesSecureApp vars, TableSQLData tableSQL) throws IOException, ServletException {
+  private String firstElement(VariablesSecureApp vars, TableSQLData tableSQL) throws IOException, ServletException {
     if (tableSQL!=null) {
       String data = null;
       try{
@@ -741,7 +741,7 @@
     return "";
   }
 
-  String lastElement(VariablesSecureApp vars, TableSQLData tableSQL) throws IOException, ServletException {
+  private String lastElement(VariablesSecureApp vars, TableSQLData tableSQL) throws IOException, ServletException {
     if (tableSQL!=null) {
       String data = null;
       try{
@@ -756,7 +756,7 @@
     return "";
   }
 
-  void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars<PARAMETER_TMP id="parent">, String strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP></PARAMETER_TMP>, String str<KEY_TMP id="key">PosicionAlmacen</KEY_TMP>, TableSQLData tableSQL)
+  private void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars<PARAMETER_TMP id="parent">, String strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP></PARAMETER_TMP>, String str<KEY_TMP id="key">PosicionAlmacen</KEY_TMP>, TableSQLData tableSQL)
     throws IOException, ServletException {
     if (log4j.isDebugEnabled()) log4j.debug("Output: dataSheet");
 
@@ -854,7 +854,7 @@
     out.close();
   }
 
-  void printPageEdit(HttpServletResponse response, HttpServletRequest request, VariablesSecureApp vars,boolean boolNew, String str<KEY_TMP id="key">PosicionAlmacen</KEY_TMP><PARAMETER_TMP id="parent">, String strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP></PARAMETER_TMP>, TableSQLData tableSQL)
+  private void printPageEdit(HttpServletResponse response, HttpServletRequest request, VariablesSecureApp vars,boolean boolNew, String str<KEY_TMP id="key">PosicionAlmacen</KEY_TMP><PARAMETER_TMP id="parent">, String strP<PARENT_TMP id="keyParent">Almacen</PARENT_TMP></PARAMETER_TMP>, TableSQLData tableSQL)
     throws IOException, ServletException {
     if (log4j.isDebugEnabled()) log4j.debug("Output: edit");
     
@@ -1132,14 +1132,14 @@
     }
 </FIELDS_TMP>
 
-<FIELDS_TMP id="selDisplayLogic">    String getDisplayLogicContext(VariablesSecureApp vars, boolean isNew) throws IOException, ServletException {
+<FIELDS_TMP id="selDisplayLogic">    private String getDisplayLogicContext(VariablesSecureApp vars, boolean isNew) throws IOException, ServletException {
       log4j.debug("Output: Display logic context fields");
       String result = "<PARAMETER_TMP id="paramDisplayLogic">xx</PARAMETER_TMP>";
       return result;
     }
 </FIELDS_TMP>
 
-<FIELDS_TMP id="selReadOnlyLogic">    String getReadOnlyLogicContext(VariablesSecureApp vars) throws IOException, ServletException {
+<FIELDS_TMP id="selReadOnlyLogic">    private String getReadOnlyLogicContext(VariablesSecureApp vars) throws IOException, ServletException {
       log4j.debug("Output: Read Only logic context fields");
       String result = "<PARAMETER_TMP id="paramReadOnlyLogic">xx</PARAMETER_TMP>";
       return result;
--- a/src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -36,7 +36,7 @@
 
   private ConnectionProvider conn = null;
   private String strServletSinIdentificar = null;
-  public Logger log4j = Logger.getLogger(DefaultAuthenticationManager.class);
+  private Logger log4j = Logger.getLogger(DefaultAuthenticationManager.class);
 
   /** Creates a new instance of DefaultAuthenticationManager */
   public DefaultAuthenticationManager() {
@@ -92,7 +92,7 @@
     }
   }
 
-  public void bdErrorAjax(HttpServletResponse response, String strType, String strTitle,
+  private void bdErrorAjax(HttpServletResponse response, String strType, String strTitle,
       String strText) throws IOException {
     response.setContentType("text/xml; charset=UTF-8");
     PrintWriter out = response.getWriter();
--- a/src/org/openbravo/authentication/lam/LamAuthenticationManager.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/authentication/lam/LamAuthenticationManager.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -28,8 +28,8 @@
 import org.openbravo.authentication.AuthenticationManager;
 import org.openbravo.base.HttpBaseUtils;
 import org.openbravo.base.exception.OBSecurityException;
+import org.openbravo.dal.core.OBContext;
 import org.openbravo.database.ConnectionProvider;
-import org.openbravo.dal.core.OBContext;
 
 import com.spikesource.lam.bindings.LamClient;
 
@@ -40,7 +40,7 @@
 public class LamAuthenticationManager implements AuthenticationManager {
 
   private ConnectionProvider conn = null;
-  public static final String AUTHENTICATED_USER_ATTRIBUTE = "#Authenticated_user";
+  private static final String AUTHENTICATED_USER_ATTRIBUTE = "#Authenticated_user";
 
   /** Creates a new instance of LamAuthenticationManager */
   public LamAuthenticationManager() {
--- a/src/org/openbravo/base/secureApp/DefaultValuesData.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/base/secureApp/DefaultValuesData.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -27,7 +27,7 @@
 /**
  * Clase SqlStandardData
  */
-public class DefaultValuesData implements FieldProvider {
+class DefaultValuesData implements FieldProvider {
   public String columnname;
   static Logger log4j = Logger.getLogger(DefaultValuesData.class);
 
--- a/src/org/openbravo/base/secureApp/ErrorConnection.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/base/secureApp/ErrorConnection.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SL
- * All portions are Copyright (C) 2001-2006 Openbravo SL
+ * All portions are Copyright (C) 2001-2009 Openbravo SL
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -54,7 +54,7 @@
       printPage(response, vars);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars) throws IOException,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Error connection");
--- a/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java	Wed Jun 03 21:16:56 2009 +0200
@@ -68,14 +68,14 @@
 
 public class HttpSecureAppServlet extends HttpBaseServlet {
   private static final long serialVersionUID = 1L;
-  public boolean boolHist = true;
+  protected boolean boolHist = true;
   // String myTheme = "";
-  public ClassInfoData classInfo;
-  protected AuthenticationManager m_AuthManager = null;
+  protected ClassInfoData classInfo;
+  private AuthenticationManager m_AuthManager = null;
 
-  String servletClass = this.getClass().getName();
+  private String servletClass = this.getClass().getName();
 
-  public class Variables extends VariablesHistory {
+  private class Variables extends VariablesHistory {
     public Variables(HttpServletRequest request) {
       super(request);
     }
@@ -454,8 +454,8 @@
           strError);
   }
 
-  public void logout(HttpServletRequest request, HttpServletResponse response) throws IOException,
-      ServletException {
+  protected void logout(HttpServletRequest request, HttpServletResponse response)
+      throws IOException, ServletException {
     final VariablesSecureApp vars = new VariablesSecureApp(request);
 
     final String user = vars.getUser();
@@ -480,7 +480,7 @@
    * @throws IOException
    * @throws ServletException
    */
-  public void invalidLogin(HttpServletRequest request, HttpServletResponse response, OBError error)
+  private void invalidLogin(HttpServletRequest request, HttpServletResponse response, OBError error)
       throws IOException, ServletException {
     final VariablesSecureApp vars = new VariablesSecureApp(request);
 
@@ -499,17 +499,17 @@
 
   }
 
-  public void setHistoryCommand(HttpServletRequest request, String strCommand) {
+  protected void setHistoryCommand(HttpServletRequest request, String strCommand) {
     final Variables vars = new Variables(request);
     vars.setHistoryCommand(strCommand);
   }
 
-  public void advise(HttpServletResponse response, String strTipo, String strTitulo, String strTexto)
-      throws IOException {
+  private void advise(HttpServletResponse response, String strTipo, String strTitulo,
+      String strTexto) throws IOException {
     advise(null, response, strTipo, strTitulo, strTexto);
   }
 
-  public void advise(HttpServletRequest request, HttpServletResponse response, String strTipo,
+  protected void advise(HttpServletRequest request, HttpServletResponse response, String strTipo,
       String strTitulo, String strTexto) throws IOException {
 
     String myTheme;
@@ -531,13 +531,13 @@
     out.close();
   }
 
-  public void advisePopUp(HttpServletRequest request, HttpServletResponse response,
+  protected void advisePopUp(HttpServletRequest request, HttpServletResponse response,
       String strTitulo, String strTexto) throws IOException {
     advisePopUp(request, response, "Error", strTitulo, strTexto);
   }
 
-  public void advisePopUp(HttpServletRequest request, HttpServletResponse response, String strTipo,
-      String strTitulo, String strTexto) throws IOException {
+  protected void advisePopUp(HttpServletRequest request, HttpServletResponse response,
+      String strTipo, String strTitulo, String strTexto) throws IOException {
     final XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
         "org/openbravo/base/secureApp/AdvisePopUp").createXmlDocument();
 
@@ -568,17 +568,17 @@
    * @throws IOException
    *           if an error occurs writing to the output stream
    */
-  public void advisePopUpRefresh(HttpServletRequest request, HttpServletResponse response,
+  private void advisePopUpRefresh(HttpServletRequest request, HttpServletResponse response,
       String strTitle, String strText) throws IOException {
     advisePopUpRefresh(request, response, "Error", strTitle, strText);
   }
 
-  public void advisePopUpRefresh(HttpServletResponse response, String strTitle, String strText)
+  private void advisePopUpRefresh(HttpServletResponse response, String strTitle, String strText)
       throws IOException {
     advisePopUpRefresh(null, response, "Error", strTitle, strText);
   }
 
-  public void advisePopUpRefresh(HttpServletResponse response, String strType, String strTitle,
+  private void advisePopUpRefresh(HttpServletResponse response, String strType, String strTitle,
       String strText) throws IOException {
     advisePopUpRefresh(null, response, strTitle, strText);
   }
@@ -597,7 +597,7 @@
    * @throws IOException
    *           if an error occurs writing to the output stream
    */
-  public void advisePopUpRefresh(HttpServletRequest request, HttpServletResponse response,
+  protected void advisePopUpRefresh(HttpServletRequest request, HttpServletResponse response,
       String strType, String strTitle, String strText) throws IOException {
     final XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
         "org/openbravo/base/secureApp/AdvisePopUpRefresh").createXmlDocument();
@@ -618,12 +618,12 @@
     out.close();
   }
 
-  public void bdError(HttpServletResponse response, String strCode, String strLanguage)
+  private void bdError(HttpServletResponse response, String strCode, String strLanguage)
       throws IOException {
     bdError(null, response, strCode, strLanguage);
   }
 
-  public void bdError(HttpServletRequest request, HttpServletResponse response, String strCode,
+  protected void bdError(HttpServletRequest request, HttpServletResponse response, String strCode,
       String strLanguage) throws IOException {
     final XmlDocument xmlDocument = xmlEngine.readXmlTemplate("org/openbravo/base/secureApp/Error")
         .createXmlDocument();
@@ -643,12 +643,12 @@
     out.close();
   }
 
-  public void bdErrorGeneralPopUp(HttpServletResponse response, String strTitle, String strText)
+  private void bdErrorGeneralPopUp(HttpServletResponse response, String strTitle, String strText)
       throws IOException {
     bdErrorGeneralPopUp(null, response, strTitle, strText);
   }
 
-  public void bdErrorGeneralPopUp(HttpServletRequest request, HttpServletResponse response,
+  protected void bdErrorGeneralPopUp(HttpServletRequest request, HttpServletResponse response,
       String strTitle, String strText) throws IOException {
     final XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
         "org/openbravo/base/secureApp/ErrorPopUp").createXmlDocument();
@@ -669,12 +669,12 @@
     out.close();
   }
 
-  public void bdErrorGeneral(HttpServletResponse response, String strTitle, String strText)
+  private void bdErrorGeneral(HttpServletResponse response, String strTitle, String strText)
       throws IOException {
     bdErrorGeneral(null, response, strTitle, strText);
   }
 
-  public void bdErrorGeneral(HttpServletRequest request, HttpServletResponse response,
+  private void bdErrorGeneral(HttpServletRequest request, HttpServletResponse response,
       String strTitle, String strText) throws IOException {
     final XmlDocument xmlDocument = xmlEngine.readXmlTemplate("org/openbravo/base/secureApp/Error")
         .createXmlDocument();
@@ -695,7 +695,7 @@
     out.close();
   }
 
-  public void bdErrorConnection(HttpServletResponse response) throws IOException {
+  protected void bdErrorConnection(HttpServletResponse response) throws IOException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Error connection");
     final XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
@@ -707,7 +707,7 @@
     out.close();
   }
 
-  public void bdErrorAjax(HttpServletResponse response, String strType, String strTitle,
+  protected void bdErrorAjax(HttpServletResponse response, String strType, String strTitle,
       String strText) throws IOException {
     response.setContentType("text/xml; charset=UTF-8");
     final PrintWriter out = response.getWriter();
@@ -722,7 +722,7 @@
     out.close();
   }
 
-  public void bdErrorHidden(HttpServletResponse response, String strType, String strTitle,
+  protected void bdErrorHidden(HttpServletResponse response, String strType, String strTitle,
       String strText) throws IOException {
     final XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
         "org/openbravo/erpCommon/ad_callouts/CallOut").createXmlDocument();
@@ -743,7 +743,7 @@
     out.close();
   }
 
-  public void pageError(HttpServletResponse response) throws IOException {
+  protected void pageError(HttpServletResponse response) throws IOException {
     final XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
         "org/openbravo/base/secureApp/HtmlError").createXmlDocument();
 
@@ -753,7 +753,7 @@
     out.close();
   }
 
-  public void pageErrorPopUp(HttpServletResponse response) throws IOException {
+  protected void pageErrorPopUp(HttpServletResponse response) throws IOException {
     final XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
         "org/openbravo/base/secureApp/HtmlErrorPopUp").createXmlDocument();
 
@@ -763,11 +763,11 @@
     out.close();
   }
 
-  public void whitePage(HttpServletResponse response) throws IOException {
+  protected void whitePage(HttpServletResponse response) throws IOException {
     whitePage(response, "");
   }
 
-  public void whitePage(HttpServletResponse response, String strAlert) throws IOException {
+  protected void whitePage(HttpServletResponse response, String strAlert) throws IOException {
     final XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
         "org/openbravo/base/secureApp/HtmlWhitePage").createXmlDocument();
     if (strAlert == null)
@@ -780,8 +780,8 @@
     out.close();
   }
 
-  public void printPageClosePopUp(HttpServletResponse response, VariablesSecureApp vars, String path)
-      throws IOException, ServletException {
+  protected void printPageClosePopUp(HttpServletResponse response, VariablesSecureApp vars,
+      String path) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: PopUp Response");
     final XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
@@ -794,12 +794,12 @@
     out.close();
   }
 
-  public void printPageClosePopUp(HttpServletResponse response, VariablesSecureApp vars)
+  protected void printPageClosePopUp(HttpServletResponse response, VariablesSecureApp vars)
       throws IOException, ServletException {
     printPageClosePopUp(response, vars, "");
   }
 
-  public void printPageClosePopUpWindow(HttpServletResponse response, VariablesSecureApp vars)
+  private void printPageClosePopUpWindow(HttpServletResponse response, VariablesSecureApp vars)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: PopUp Response");
@@ -812,8 +812,8 @@
     out.close();
   }
 
-  public void printPagePopUpDownload(ServletOutputStream os, String fileName) throws IOException,
-      ServletException {
+  protected void printPagePopUpDownload(ServletOutputStream os, String fileName)
+      throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: PopUp Download");
     String href = strDireccion + "/utility/DownloadReport.html?report=" + fileName;
@@ -824,7 +824,7 @@
     os.close();
   }
 
-  public void printPageClosePopUpAndRefresh(HttpServletResponse response, VariablesSecureApp vars)
+  private void printPageClosePopUpAndRefresh(HttpServletResponse response, VariablesSecureApp vars)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: PopUp Response");
@@ -837,7 +837,7 @@
     out.close();
   }
 
-  public void printPageClosePopUpAndRefreshParent(HttpServletResponse response,
+  protected void printPageClosePopUpAndRefreshParent(HttpServletResponse response,
       VariablesSecureApp vars) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: PopUp Response");
@@ -850,7 +850,7 @@
     out.close();
   }
 
-  public void pageErrorCallOut(HttpServletResponse response) throws IOException {
+  protected void pageErrorCallOut(HttpServletResponse response) throws IOException {
     final XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
         "org/openbravo/base/secureApp/HtmlErrorCallOut").createXmlDocument();
 
@@ -860,7 +860,7 @@
     out.close();
   }
 
-  public void readProperties(VariablesSecureApp vars, String strFileProperties) {
+  protected void readProperties(VariablesSecureApp vars, String strFileProperties) {
     // Read properties file.
     final Properties properties = new Properties();
     try {
@@ -890,7 +890,7 @@
     }
   }
 
-  public void readNumberFormat(VariablesSecureApp vars, String strFormatFile) {
+  protected void readNumberFormat(VariablesSecureApp vars, String strFormatFile) {
     final String strNumberFormat = "###,##0.00"; // Default number format
     String strGroupingSeparator = ","; // Default grouping separator
     String strDecimalSeparator = "."; // Default decimal separator
@@ -940,7 +940,7 @@
     vars.setSessionValue("#AD_Session_ID", sl.getSessionID());
   }
 
-  public void renderJR(VariablesSecureApp variables, HttpServletResponse response,
+  protected void renderJR(VariablesSecureApp variables, HttpServletResponse response,
       String strReportName, String strOutputType, HashMap<String, Object> designParameters,
       FieldProvider[] data, Map<Object, Object> exportParameters) throws ServletException {
 
@@ -1110,7 +1110,7 @@
    * @throws IOException
    * @throws ServletException
    */
-  public boolean forwardRequest(HttpServletRequest request, HttpServletResponse response)
+  private boolean forwardRequest(HttpServletRequest request, HttpServletResponse response)
       throws IOException, ServletException {
     final String forwardTo = request.getParameter("mappingName");
     final String autoSave = request.getParameter("autosave");
--- a/src/org/openbravo/base/secureApp/LoginHandler.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/base/secureApp/LoginHandler.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -27,7 +27,7 @@
 
 public class LoginHandler extends HttpBaseServlet {
   private static final long serialVersionUID = 1L;
-  String strServletPorDefecto;
+  private String strServletPorDefecto;
 
   @Override
   public void init(ServletConfig config) {
--- a/src/org/openbravo/base/secureApp/OrgTree.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/base/secureApp/OrgTree.java	Wed Jun 03 21:16:56 2009 +0200
@@ -45,7 +45,7 @@
   /**
    * Creates an empty Tree
    */
-  public OrgTree() {
+  private OrgTree() {
     nodes = new ArrayList<OrgTreeNode>();
 
   }
@@ -55,7 +55,7 @@
    * 
    * @param nodeList
    */
-  public OrgTree(List<OrgTreeNode> nodeList) {
+  private OrgTree(List<OrgTreeNode> nodeList) {
     nodes = nodeList;
   }
 
@@ -65,7 +65,7 @@
    * @param strOrgs
    *          colon-separated AD_Org_ID. Example "'0','1000000'"
    */
-  public OrgTree(String strOrgs) {
+  private OrgTree(String strOrgs) {
     OrgTreeNode orgTreeNode;
     List<OrgTreeNode> nodeList = new ArrayList<OrgTreeNode>();
 
@@ -127,7 +127,7 @@
    * @param strRole
    * @return the created {@link OrgTree}
    */
-  public OrgTree getAccessibleTree(ConnectionProvider conn, String strRole, boolean withZero) {
+  private OrgTree getAccessibleTree(ConnectionProvider conn, String strRole, boolean withZero) {
     // TODO: this method with boolean should be removed.
     return getAccessibleTree(conn, strRole);
   }
@@ -152,7 +152,7 @@
    *          tree contains all the nodes to reference from
    * @return new tree with referenceable nodes.
    */
-  public OrgTree getReferenceableTree(OrgTree tree) {
+  private OrgTree getReferenceableTree(OrgTree tree) {
     Iterator<OrgTreeNode> iterator = tree.iterator();
     OrgTree refeTree = new OrgTree();
     while (iterator.hasNext()) {
@@ -168,7 +168,7 @@
    * @param parentNodeId
    * @return the new tree with the desdentant elements
    */
-  public OrgTree getDescendantTree(String parentNodeId) {
+  private OrgTree getDescendantTree(String parentNodeId) {
     try {
       List<OrgTreeNode> treeNodes = new ArrayList<OrgTreeNode>();
       getDescendantTreeList(parentNodeId, treeNodes);
@@ -184,7 +184,7 @@
    * @param nodeId
    * @return the new tree with the ascendant elements
    */
-  public OrgTree getAscendantTree(String nodeId) {
+  private OrgTree getAscendantTree(String nodeId) {
     try {
       List<OrgTreeNode> treeNodes = new ArrayList<OrgTreeNode>();
       OrgTreeNode parentNode = getNodeById(nodeId);
@@ -213,11 +213,11 @@
     }
   }
 
-  public Iterator<OrgTreeNode> iterator() {
+  private Iterator<OrgTreeNode> iterator() {
     return nodes.iterator();
   }
 
-  public static String getAllOrgsString(ConnectionProvider conn, String name) {
+  private static String getAllOrgsString(ConnectionProvider conn, String name) {
     try {
       OrgTreeData[] dataClients = OrgTreeData.selectAllClients(conn);
       String retVal = "";
@@ -289,7 +289,7 @@
    * 
    * @param t1
    */
-  public void addTree(OrgTree t1) {
+  private void addTree(OrgTree t1) {
     if ((t1 != null) && (t1.nodes != null)) {
       for (int i = 0; i < t1.nodes.toArray().length; i++) {
         if (!this.isNodeInTree(t1.nodes.get(i).getId()))
@@ -307,7 +307,7 @@
    *          tree2
    * @return new tree (t1+t2)
    */
-  public static OrgTree addTree(OrgTree t1, OrgTree t2) {
+  private static OrgTree addTree(OrgTree t1, OrgTree t2) {
     List<OrgTreeNode> treeNodes = new ArrayList<OrgTreeNode>();
 
     treeNodes.addAll(t1.nodes);
--- a/src/org/openbravo/base/secureApp/OrgTreeNode.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/base/secureApp/OrgTreeNode.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2008 Openbravo S.L.
+ * Copyright (C) 2008-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -23,7 +23,7 @@
 import org.openbravo.model.common.enterprise.Organization;
 import org.openbravo.model.common.enterprise.OrganizationType;
 
-public class OrgTreeNode implements Serializable {
+class OrgTreeNode implements Serializable {
   private static final long serialVersionUID = 1L;
   private String id;
   private String parentId;
--- a/src/org/openbravo/base/secureApp/ServletGoBack.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/base/secureApp/ServletGoBack.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -11,7 +11,6 @@
  */
 package org.openbravo.base.secureApp;
 
-//import org.openbravo.xmlEngine.Report;
 import java.io.IOException;
 
 import javax.servlet.ServletConfig;
@@ -24,7 +23,7 @@
   private static final long serialVersionUID = 1L;
   String strServletPorDefecto;
 
-  public class Variables extends VariablesHistory {
+  private class Variables extends VariablesHistory {
 
     public Variables(HttpServletRequest request) {
       super(request);
--- a/src/org/openbravo/base/secureApp/VariablesHistory.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/base/secureApp/VariablesHistory.java	Wed Jun 03 21:16:56 2009 +0200
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2006 Openbravo S.L.
+ * Copyright (C) 2001-2009 Openbravo S.L.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -19,11 +19,11 @@
 public class VariablesHistory {
   private String currentHistoryIndex;
   private static final int reqHistoryLength = 10;
-  HttpSession session;
+  private HttpSession session;
   private String role;
   private String language;
   private String dbSessionID;
-  static Logger log4j = Logger.getLogger(VariablesHistory.class);
+  private static Logger log4j = Logger.getLogger(VariablesHistory.class);
 
   public VariablesHistory(HttpServletRequest request) {
     this.session = request.getSession(true);
@@ -38,7 +38,7 @@
         .toString(Integer.valueOf(this.currentHistoryIndex).intValue() % reqHistoryLength);
   }
 
-  public void upCurrentHistoryIndex() {
+  void upCurrentHistoryIndex() {
     this.currentHistoryIndex = Integer.toString(Integer.valueOf(this.currentHistoryIndex)
         .intValue() + 1);
     setSessionValue("reqHistory.current", this.currentHistoryIndex);
@@ -50,19 +50,19 @@
     setSessionValue("reqHistory.current", this.currentHistoryIndex);
   }
 
-  public String getCurrentServletPath(String defaultServletPath) {
+  String getCurrentServletPath(String defaultServletPath) {
     return getSessionValue("reqHistory.path" + getCurrentHistoryIndex(), defaultServletPath);
   }
 
-  public String getCurrentServletCommand() {
+  String getCurrentServletCommand() {
     return getSessionValue("reqHistory.command" + getCurrentHistoryIndex(), "DEFAULT");
   }
 
-  public String getSessionValue(String sessionAttribute) {
+  String getSessionValue(String sessionAttribute) {
     return getSessionValue(sessionAttribute, "");
   }
 
-  public String getSessionValue(String sessionAttribute, String defaultValue) {
+  String getSessionValue(String sessionAttribute, String defaultValue) {
     String auxStr = null;
     try {
       auxStr = (String) session.getAttribute(sessionAttribute.toUpperCase());
@@ -96,7 +96,7 @@
     }
   }
 
-  public String getRole() {
+  String getRole() {
     return role;
   }
 
@@ -104,7 +104,7 @@
     return language;
   }
 
-  public String getDBSession() {
+  String getDBSession() {
     return dbSessionID;
   }
 }
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -69,7 +69,8 @@
       pageErrorPopUp(response);
   }
 
-  OBError processButton(VariablesSecureApp vars, String strKey, String strInvoice, String windowId) {
+  private OBError processButton(VariablesSecureApp vars, String strKey, String strInvoice,
+      String windowId) {
     int i = 0;
     OBError myError = null;
     Connection conn = null;
@@ -110,7 +111,7 @@
     return myError;
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
       String windowId, String strTab, String strProcessId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Button process Copy from Invoice");
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder.java	Wed Jun 03 21:16:56 2009 +0200
@@ -40,7 +40,7 @@
 
 public class CopyFromOrder extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
-  static final BigDecimal ZERO = BigDecimal.ZERO;
+  private static final BigDecimal ZERO = BigDecimal.ZERO;
 
   public void init(ServletConfig config) {
     super.init(config);
@@ -78,7 +78,7 @@
       pageErrorPopUp(response);
   }
 
-  OBError copyLines(VariablesSecureApp vars, String strRownum, String strKey, String strWindowId,
+  private OBError copyLines(VariablesSecureApp vars, String strRownum, String strKey, String strWindowId,
       String strSOTrx) throws IOException, ServletException {
 
     OBError myError = null;
@@ -188,7 +188,7 @@
     return myError;
   }
 
-  void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars, String strKey,
+  private void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars, String strKey,
       String strWindowId, String strTabId, String strSOTrx, String strBpartner,
       String strmPricelistId) throws IOException, ServletException {
     log4j.debug("Output: Shipment");
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.java	Wed Jun 03 21:16:56 2009 +0200
@@ -39,7 +39,7 @@
 
 public class CopyFromPOOrder extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
-  static final BigDecimal ZERO = BigDecimal.ZERO;
+  private static final BigDecimal ZERO = BigDecimal.ZERO;
 
   public void init(ServletConfig config) {
     super.init(config);
@@ -75,7 +75,7 @@
       pageErrorPopUp(response);
   }
 
-  OBError processButton(VariablesSecureApp vars, String strKey, String strOrder, String windowId) {
+  private OBError processButton(VariablesSecureApp vars, String strKey, String strOrder, String windowId) {
     OBError myError = null;
     int i = 0;
     String priceactual = "";
@@ -183,7 +183,7 @@
     return myError;
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
       String windowId, String strTab, String strProcessId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Button process Copy lines");
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -93,7 +93,7 @@
       pageErrorPopUp(response);
   }
 
-  OBError processButton(VariablesSecureApp vars, String strSettlement, String strKey) {
+  private OBError processButton(VariablesSecureApp vars, String strSettlement, String strKey) {
     OBError myError = null;
     int i = 0;
     Connection conn = null;
@@ -158,7 +158,7 @@
     return myError;
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars) throws IOException,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Button process Copy from Settlement");
@@ -186,9 +186,9 @@
     out.close();
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strSetDescription,
-      String strDocumentNo, String strDateFrom, String strDateTo, String strSettlement,
-      String strWindow) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strSetDescription, String strDocumentNo, String strDateFrom, String strDateTo,
+      String strSettlement, String strWindow) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Button process Copy from Settlement");
 
@@ -224,8 +224,9 @@
     out.close();
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strSettlement,
-      String strSettlementFrom, String strWindow) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strSettlement, String strSettlementFrom, String strWindow) throws IOException,
+      ServletException {
 
     String strDateFrom = vars.getStringParameter("inpDateFrom");
     String strDateTo = vars.getStringParameter("inpDateTo");
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFile.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFile.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SL
- * All portions are Copyright (C) 2001-2008 Openbravo SL
+ * All portions are Copyright (C) 2001-2009 Openbravo SL
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,7 +57,7 @@
     }
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
       String windowId, String strProcessId, String strMessage, boolean isDefault)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
@@ -125,7 +125,7 @@
     out.close();
   }
 
-  void getPrintPage(HttpServletRequest request, HttpServletResponse response,
+  private void getPrintPage(HttpServletRequest request, HttpServletResponse response,
       VariablesSecureApp vars, String strKey) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("generate " + strKey);
@@ -147,8 +147,8 @@
           Utility.messageBD(this, "RemittanceTypeError", vars.getLanguage()));
   }
 
-  void printPageFind58(HttpServletResponse response, VariablesSecureApp vars, String strKey,
-      String strContract) throws IOException, ServletException {
+  private void printPageFind58(HttpServletResponse response, VariablesSecureApp vars,
+      String strKey, String strContract) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: pageFind");
     StringBuffer strBuf = new StringBuffer();
@@ -280,8 +280,8 @@
     }
   }
 
-  void printPageFind19(HttpServletResponse response, VariablesSecureApp vars, String strKey,
-      String strContract) throws IOException, ServletException {
+  private void printPageFind19(HttpServletResponse response, VariablesSecureApp vars,
+      String strKey, String strContract) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: pageFind");
     StringBuffer strBuf = new StringBuffer();
@@ -446,7 +446,7 @@
     }
   }
 
-  void printPageFind34(HttpServletResponse response, VariablesSecureApp vars, String strKey)
+  private void printPageFind34(HttpServletResponse response, VariablesSecureApp vars, String strKey)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: pageFind34");
@@ -566,8 +566,8 @@
     // header: orderer
     // 001
     strBuf = strBuf.append("03").append(strCodigo).append(Principio[0].nif).append("            "); // A
-                                                                                                    // -
-                                                                                                    // D
+    // -
+    // D
     // (common)
     strBuf = strBuf.append("001").append(Principio[0].hoy).append(Principio[0].duedate); // E-F2
     strBuf = strBuf.append(Principio[0].nCuenta).append(strDetalle).append("   ").append(
@@ -575,24 +575,24 @@
 
     // 002
     strBuf = strBuf.append("03").append(strCodigo).append(Principio[0].nif).append("            "); // A
-                                                                                                    // -
-                                                                                                    // D
+    // -
+    // D
     // (common)
     strBuf = strBuf.append("002").append(Principio[0].nombre).append(Principio[0].hueco).append(
         "\r\n"); // E-G
 
     // 003
     strBuf = strBuf.append("03").append(strCodigo).append(Principio[0].nif).append("            "); // A
-                                                                                                    // -
-                                                                                                    // D
+    // -
+    // D
     // (common)
     strBuf = strBuf.append("003").append(Principio[0].domicilio).append(Principio[0].hueco).append(
         "\r\n"); // E-G
 
     // 004
     strBuf = strBuf.append("03").append(strCodigo).append(Principio[0].nif).append("            "); // A
-                                                                                                    // -
-                                                                                                    // D
+    // -
+    // D
     // (common)
     strBuf = strBuf.append("004").append(Principio[0].plaza).append(Principio[0].hueco).append(
         "\r\n"); // E-G
@@ -660,8 +660,8 @@
       }
       // 010
       strBuf = strBuf.append("06").append(strCodigo).append(Principio[0].nif).append(Lineas[i].nif); // A
-                                                                                                     // -
-                                                                                                     // D
+      // -
+      // D
       // (common)
       strBuf = strBuf.append("010").append(Lineas[i].payamt).append(Lineas[i].nCuenta); // F1-F4
       strBuf = strBuf.append(strGastos);
@@ -670,39 +670,39 @@
 
       // 011
       strBuf = strBuf.append("06").append(strCodigo).append(Principio[0].nif).append(Lineas[i].nif); // A
-                                                                                                     // -
-                                                                                                     // D
+      // -
+      // D
       // (common)
       strBuf = strBuf.append("011").append(Lineas[i].nombre).append(Principio[0].hueco).append(
           "\r\n");
       // 012
       strBuf = strBuf.append("06").append(strCodigo).append(Principio[0].nif).append(Lineas[i].nif); // A
-                                                                                                     // -
-                                                                                                     // D
+      // -
+      // D
       // (common)
       strBuf = strBuf.append("012").append(Lineas[i].domicilio).append(Principio[0].hueco).append(
           "\r\n");
 
       // 014
       strBuf = strBuf.append("06").append(strCodigo).append(Principio[0].nif).append(Lineas[i].nif); // A
-                                                                                                     // -
-                                                                                                     // D
+      // -
+      // D
       // (common)
       strBuf = strBuf.append("014").append(Lineas[i].plaza).append(Principio[0].hueco).append(
           "\r\n");
 
       // 015
       strBuf = strBuf.append("06").append(strCodigo).append(Principio[0].nif).append(Lineas[i].nif); // A
-                                                                                                     // -
-                                                                                                     // D
+      // -
+      // D
       // (common)
       strBuf = strBuf.append("015").append(Lineas[i].provincia).append(Principio[0].hueco).append(
           "\r\n");
 
       // 016
       strBuf = strBuf.append("06").append(strCodigo).append(Principio[0].nif).append(Lineas[i].nif); // A
-                                                                                                     // -
-                                                                                                     // D
+      // -
+      // D
       // (common)
       strBuf = strBuf.append("016").append(Lineas[i].concepto).append(Principio[0].hueco).append(
           "\r\n");
@@ -712,8 +712,8 @@
     // total
     CreateFile34Data[] NLineas = CreateFile34Data.selectNLineas(this, String.valueOf(contador + 1));
     strBuf = strBuf.append("08").append(strCodigo).append(Principio[0].nif).append(Total[0].payamt); // A
-                                                                                                     // -
-                                                                                                     // E
+    // -
+    // E
     strBuf = strBuf.append(NLineas[0].ordenantes).append(NLineas[0].lineas)
         .append(NLineas[0].hueco).append("\r\n");
 
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java	Wed Jun 03 21:16:56 2009 +0200
@@ -43,7 +43,7 @@
 
 public class CreateFrom extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
-  static final BigDecimal ZERO = BigDecimal.ZERO;
+  private static final BigDecimal ZERO = BigDecimal.ZERO;
 
   @Override
   public void init(ServletConfig config) {
@@ -198,7 +198,7 @@
       pageErrorPopUp(response);
   }
 
-  void printPage_FS(HttpServletResponse response, VariablesSecureApp vars, String strPath,
+  private void printPage_FS(HttpServletResponse response, VariablesSecureApp vars, String strPath,
       String strKey, String strTableId, String strProcessId, String strWindowId, String strTabName,
       String strDateInvoiced, String strBPartnerLocation, String strPriceList, String strBPartner,
       String strStatementDate, String strBankAccount, String strOrg, String strIsreceipt)
@@ -227,7 +227,7 @@
     out.close();
   }
 
-  String pageType(String strTableId) {
+  private String pageType(String strTableId) {
     if (strTableId.equals("392"))
       return "Bank";
     else if (strTableId.equals("318"))
@@ -273,9 +273,10 @@
     }
   }
 
-  void printPageBank(HttpServletResponse response, VariablesSecureApp vars, String strPath,
-      String strKey, String strTableId, String strProcessId, String strWindowId, String strTabName,
-      String strStatementDate, String strBank) throws IOException, ServletException {
+  protected void printPageBank(HttpServletResponse response, VariablesSecureApp vars,
+      String strPath, String strKey, String strTableId, String strProcessId, String strWindowId,
+      String strTabName, String strStatementDate, String strBank) throws IOException,
+      ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Bank");
     final String strcBPartner = vars.getStringParameter("inpcBpartnerId");
@@ -427,10 +428,10 @@
     out.close();
   }
 
-  void printPageInvoice(HttpServletResponse response, VariablesSecureApp vars, String strPath,
-      String strKey, String strTableId, String strProcessId, String strWindowId, String strTabName,
-      String strDateInvoiced, String strBPartnerLocation, String strPriceList, String strBPartner)
-      throws IOException, ServletException {
+  protected void printPageInvoice(HttpServletResponse response, VariablesSecureApp vars,
+      String strPath, String strKey, String strTableId, String strProcessId, String strWindowId,
+      String strTabName, String strDateInvoiced, String strBPartnerLocation, String strPriceList,
+      String strBPartner) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Invoice");
     CreateFromInvoiceData[] data = null;
@@ -555,9 +556,9 @@
     out.close();
   }
 
-  void printPageShipment(HttpServletResponse response, VariablesSecureApp vars, String strPath,
-      String strKey, String strTableId, String strProcessId, String strWindowId, String strTabName,
-      String strBPartner) throws IOException, ServletException {
+  protected void printPageShipment(HttpServletResponse response, VariablesSecureApp vars,
+      String strPath, String strKey, String strTableId, String strProcessId, String strWindowId,
+      String strTabName, String strBPartner) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Shipment");
     CreateFromShipmentData[] data = null;
@@ -726,46 +727,47 @@
     final String isSOTrx = Utility.getContext(this, vars, "isSOTrx", strWindowId);
 
     if (strBPartner.equals("")) {
-      strArray = arrayEntradaSimple("arrDatos", new CreateFromShipmentData[0]);
-      strArray2 = arrayEntradaSimple("arrDatos2", new CreateFromShipmentData[0]);
+      strArray = Utility.arrayEntradaSimple("arrDatos", new CreateFromShipmentData[0]);
+      strArray2 = Utility.arrayEntradaSimple("arrDatos2", new CreateFromShipmentData[0]);
     } else {
       if (vars.commandIn("REFRESH_INVOICES")) { // Loading the combos in
         // the delivery note's
         // CreateFrom
         if (isSOTrx.equals("Y")) {
-          strArray = arrayEntradaSimple("arrDatos", new CreateFromShipmentData[0]);
-          strArray2 = arrayEntradaSimple("arrDatos2", CreateFromShipmentData
+          strArray = Utility.arrayEntradaSimple("arrDatos", new CreateFromShipmentData[0]);
+          strArray2 = Utility.arrayEntradaSimple("arrDatos2", CreateFromShipmentData
               .selectFromPOSOTrxCombo(this, vars.getLanguage(), Utility.getContext(this, vars,
                   "#User_Client", strWindowId), Utility.getContext(this, vars,
                   "#AccessibleOrgTree", strWindowId), strBPartner));
         } else {
-          strArray = arrayEntradaSimple("arrDatos", CreateFromShipmentData.selectFromInvoiceCombo(
-              this, vars.getLanguage(),
-              Utility.getContext(this, vars, "#User_Client", strWindowId), Utility.getContext(this,
-                  vars, "#AccessibleOrgTree", strWindowId), strBPartner));
-          strArray2 = arrayEntradaSimple("arrDatos2", CreateFromShipmentData.selectFromPOCombo(
-              this, vars.getLanguage(),
-              Utility.getContext(this, vars, "#User_Client", strWindowId), Utility.getContext(this,
-                  vars, "#AccessibleOrgTree", strWindowId), strBPartner));
+          strArray = Utility.arrayEntradaSimple("arrDatos", CreateFromShipmentData
+              .selectFromInvoiceCombo(this, vars.getLanguage(), Utility.getContext(this, vars,
+                  "#User_Client", strWindowId), Utility.getContext(this, vars,
+                  "#AccessibleOrgTree", strWindowId), strBPartner));
+          strArray2 = Utility.arrayEntradaSimple("arrDatos2", CreateFromShipmentData
+              .selectFromPOCombo(this, vars.getLanguage(), Utility.getContext(this, vars,
+                  "#User_Client", strWindowId), Utility.getContext(this, vars,
+                  "#AccessibleOrgTree", strWindowId), strBPartner));
         }
       } else { // Loading the Combos in the Invoice's CreateFrom
         if (isSOTrx.equals("Y")) {
-          strArray = arrayEntradaSimple("arrDatos", CreateFromInvoiceData
+          strArray = Utility.arrayEntradaSimple("arrDatos", CreateFromInvoiceData
               .selectFromShipmentSOTrxCombo(this, vars.getLanguage(), Utility.getContext(this,
                   vars, "#User_Client", strWindowId), Utility.getContext(this, vars,
                   "#AccessibleOrgTree", strWindowId), strBPartner));
-          strArray2 = arrayEntradaSimple("arrDatos2", CreateFromInvoiceData.selectFromPOSOTrxCombo(
-              this, vars.getLanguage(),
-              Utility.getContext(this, vars, "#User_Client", strWindowId), Utility.getContext(this,
-                  vars, "#AccessibleOrgTree", strWindowId), strBPartner));
+          strArray2 = Utility.arrayEntradaSimple("arrDatos2", CreateFromInvoiceData
+              .selectFromPOSOTrxCombo(this, vars.getLanguage(), Utility.getContext(this, vars,
+                  "#User_Client", strWindowId), Utility.getContext(this, vars,
+                  "#AccessibleOrgTree", strWindowId), strBPartner));
         } else {
-          strArray = arrayEntradaSimple("arrDatos", CreateFromInvoiceData.selectFromShipmentCombo(
-              this, vars.getLanguage(),
-              Utility.getContext(this, vars, "#User_Client", strWindowId), Utility.getContext(this,
-                  vars, "#AccessibleOrgTree", strWindowId), strBPartner));
-          strArray2 = arrayEntradaSimple("arrDatos2", CreateFromInvoiceData.selectFromPOCombo(this,
-              vars.getLanguage(), Utility.getContext(this, vars, "#User_Client", strWindowId),
-              Utility.getContext(this, vars, "#AccessibleOrgTree", strWindowId), strBPartner));
+          strArray = Utility.arrayEntradaSimple("arrDatos", CreateFromInvoiceData
+              .selectFromShipmentCombo(this, vars.getLanguage(), Utility.getContext(this, vars,
+                  "#User_Client", strWindowId), Utility.getContext(this, vars,
+                  "#AccessibleOrgTree", strWindowId), strBPartner));
+          strArray2 = Utility.arrayEntradaSimple("arrDatos2", CreateFromInvoiceData
+              .selectFromPOCombo(this, vars.getLanguage(), Utility.getContext(this, vars,
+                  "#User_Client", strWindowId), Utility.getContext(this, vars,
+                  "#AccessibleOrgTree", strWindowId), strBPartner));
         }
       }
     }
@@ -778,9 +780,9 @@
     out.close();
   }
 
-  void printPagePay(HttpServletResponse response, VariablesSecureApp vars, String strPath,
-      String strKey, String strTableId, String strProcessId, String strWindowId, String strTabName,
-      String strBPartner) throws IOException, ServletException {
+  protected void printPagePay(HttpServletResponse response, VariablesSecureApp vars,
+      String strPath, String strKey, String strTableId, String strProcessId, String strWindowId,
+      String strTabName, String strBPartner) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Pay");
     final XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
@@ -793,9 +795,9 @@
     out.close();
   }
 
-  void printPageSettlement(HttpServletResponse response, VariablesSecureApp vars, String strPath,
-      String strKey, String strTableId, String strProcessId, String strWindowId, String strTabName,
-      String strBPartner) throws IOException, ServletException {
+  protected void printPageSettlement(HttpServletResponse response, VariablesSecureApp vars,
+      String strPath, String strKey, String strTableId, String strProcessId, String strWindowId,
+      String strTabName, String strBPartner) throws IOException, ServletException {
 
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Settlement");
@@ -970,9 +972,9 @@
     out.close();
   }
 
-  void printPageDPManagement(HttpServletResponse response, VariablesSecureApp vars, String strPath,
-      String strKey, String strTableId, String strProcessId, String strWindowId, String strTabName,
-      String strBPartner) throws IOException, ServletException {
+  protected void printPageDPManagement(HttpServletResponse response, VariablesSecureApp vars,
+      String strPath, String strKey, String strTableId, String strProcessId, String strWindowId,
+      String strTabName, String strBPartner) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: DPManagement");
     String strcBPartner = vars.getStringParameter("inpcBpartnerId");
@@ -1139,9 +1141,10 @@
     out.close();
   }
 
-  void printPageCRemittance(HttpServletResponse response, VariablesSecureApp vars, String strPath,
-      String strKey, String strTableId, String strProcessId, String strWindowId, String strTabName,
-      String strBPartner, String stradOrgId, String isReceipt) throws IOException, ServletException {
+  protected void printPageCRemittance(HttpServletResponse response, VariablesSecureApp vars,
+      String strPath, String strKey, String strTableId, String strProcessId, String strWindowId,
+      String strTabName, String strBPartner, String stradOrgId, String isReceipt)
+      throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: CRemittance");
     String strcBPartner = vars.getStringParameter("inpcBpartnerId");
@@ -1308,8 +1311,8 @@
       return null;
   }
 
-  OBError saveBank(VariablesSecureApp vars, String strKey, String strTableId, String strProcessId)
-      throws IOException, ServletException {
+  protected OBError saveBank(VariablesSecureApp vars, String strKey, String strTableId,
+      String strProcessId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Save: Bank");
     String strPayment = vars.getInStringParameter("inpcPaymentId");
@@ -1391,7 +1394,7 @@
     return myMessage;
   }
 
-  OBError saveInvoice(VariablesSecureApp vars, String strKey, String strTableId,
+  protected OBError saveInvoice(VariablesSecureApp vars, String strKey, String strTableId,
       String strProcessId, String strWindowId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Save: Invoice");
@@ -1510,7 +1513,7 @@
     return myMessage;
   }
 
-  OBError saveShipment(VariablesSecureApp vars, String strKey, String strTableId,
+  protected OBError saveShipment(VariablesSecureApp vars, String strKey, String strTableId,
       String strProcessId, String strWindowId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Save: Shipment");
@@ -1521,7 +1524,7 @@
       return saveShipmentPO(vars, strKey, strTableId, strProcessId, strWindowId);
   }
 
-  OBError saveShipmentPO(VariablesSecureApp vars, String strKey, String strTableId,
+  protected OBError saveShipmentPO(VariablesSecureApp vars, String strKey, String strTableId,
       String strProcessId, String strWindowId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Save: Shipment");
@@ -1732,7 +1735,7 @@
     return myMessage;
   }
 
-  OBError saveShipmentSO(VariablesSecureApp vars, String strKey, String strTableId,
+  protected OBError saveShipmentSO(VariablesSecureApp vars, String strKey, String strTableId,
       String strProcessId, String strWindowId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Save: Shipment");
@@ -1900,14 +1903,14 @@
     return myMessage;
   }
 
-  OBError savePay(VariablesSecureApp vars, String strKey, String strTableId, String strProcessId)
-      throws IOException, ServletException {
+  protected OBError savePay(VariablesSecureApp vars, String strKey, String strTableId,
+      String strProcessId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Save: Pay");
     return null;
   }
 
-  OBError saveSettlement(VariablesSecureApp vars, String strKey, String strTableId,
+  protected OBError saveSettlement(VariablesSecureApp vars, String strKey, String strTableId,
       String strProcessId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Save: Settlement");
@@ -1962,7 +1965,7 @@
     return myMessage;
   }
 
-  OBError saveDPManagement(VariablesSecureApp vars, String strKey, String strTableId,
+  protected OBError saveDPManagement(VariablesSecureApp vars, String strKey, String strTableId,
       String strProcessId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Save: DPManagement");
@@ -2020,7 +2023,7 @@
     return myMessage;
   }
 
-  OBError saveCRemittance(VariablesSecureApp vars, String strKey, String strTableId,
+  protected OBError saveCRemittance(VariablesSecureApp vars, String strKey, String strTableId,
       String strProcessId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Save: Cremittance");
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -20,7 +20,6 @@
 
 import java.io.IOException;
 import java.io.PrintWriter;
-import java.math.BigDecimal;
 import java.sql.Connection;
 import java.util.StringTokenizer;
 
@@ -41,8 +40,6 @@
 public class CreateFromMultiple extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
-
   public void init(ServletConfig config) {
     super.init(config);
     boolHist = false;
@@ -107,8 +104,8 @@
       pageErrorPopUp(response);
   }
 
-  void printPage_FS(HttpServletResponse response, VariablesSecureApp vars) throws IOException,
-      ServletException {
+  private void printPage_FS(HttpServletResponse response, VariablesSecureApp vars)
+      throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: FrameSet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
@@ -131,8 +128,8 @@
     }
   }
 
-  void printPageReceipt(HttpServletResponse response, VariablesSecureApp vars, String strKey,
-      String strWindowId, String strTabId, String strSOTrx, String strProcessId,
+  protected void printPageReceipt(HttpServletResponse response, VariablesSecureApp vars,
+      String strKey, String strWindowId, String strTabId, String strSOTrx, String strProcessId,
       String strBpartner, String strmWarehouseId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Receipt");
@@ -211,8 +208,8 @@
     out.close();
   }
 
-  void printPageShipment(HttpServletResponse response, VariablesSecureApp vars, String strKey,
-      String strWindowId, String strTabId, String strSOTrx, String strProcessId,
+  protected void printPageShipment(HttpServletResponse response, VariablesSecureApp vars,
+      String strKey, String strWindowId, String strTabId, String strSOTrx, String strProcessId,
       String strBpartner, String strmWarehouseId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Shipment");
@@ -281,7 +278,7 @@
       return saveReceipt(vars, strKey, strWindowId);
   }
 
-  OBError saveReceipt(VariablesSecureApp vars, String strKey, String strWindowId)
+  protected OBError saveReceipt(VariablesSecureApp vars, String strKey, String strWindowId)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Save: Receipt");
@@ -343,7 +340,7 @@
     return myMessage;
   }
 
-  OBError saveShipment(VariablesSecureApp vars, String strKey, String strWindowId)
+  protected OBError saveShipment(VariablesSecureApp vars, String strKey, String strWindowId)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Save: Shipment");
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateRegFactAcct.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateRegFactAcct.java	Wed Jun 03 21:16:56 2009 +0200
@@ -38,10 +38,10 @@
 public class CreateRegFactAcct extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  BigDecimal ExpenseAmtDr = new BigDecimal("0");
-  BigDecimal ExpenseAmtCr = new BigDecimal("0");
-  BigDecimal RevenueAmtDr = new BigDecimal("0");
-  BigDecimal RevenueAmtCr = new BigDecimal("0");
+  private BigDecimal ExpenseAmtDr = new BigDecimal("0");
+  private BigDecimal ExpenseAmtCr = new BigDecimal("0");
+  private BigDecimal RevenueAmtDr = new BigDecimal("0");
+  private BigDecimal RevenueAmtCr = new BigDecimal("0");
 
   public void init(ServletConfig config) {
     super.init(config);
@@ -75,7 +75,7 @@
       pageErrorPopUp(response);
   }
 
-  synchronized OBError processButton(VariablesSecureApp vars, String strKey, String strOrgId,
+  private synchronized OBError processButton(VariablesSecureApp vars, String strKey, String strOrgId,
       String windowId) {
 
     Connection conn = null;
@@ -140,7 +140,7 @@
     return myError;
   }
 
-  synchronized String processButtonReg(Connection conn, VariablesSecureApp vars, String strKey,
+  private synchronized String processButtonReg(Connection conn, VariablesSecureApp vars, String strKey,
       String windowId, String stradOrgId, String strID, String strAcctSchema)
       throws ServletException {
 
@@ -206,7 +206,7 @@
     return "Success";
   }
 
-  synchronized String processButtonClose(Connection conn, VariablesSecureApp vars, String strKey,
+  private synchronized String processButtonClose(Connection conn, VariablesSecureApp vars, String strKey,
       String windowId, String stradOrgId, String strCloseID, String strOpenID,
       String strDivideUpId, String strAcctSchema) throws ServletException {
     BigDecimal assetAmtDr = new BigDecimal("0");
@@ -335,7 +335,7 @@
     return "Success";
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
       String strOrgId, String windowId, String strTab, String strProcessId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateVatRegisters.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateVatRegisters.java	Wed Jun 03 21:16:56 2009 +0200
@@ -110,7 +110,7 @@
    * strProcessed, strProcessing); t } else pageErrorPopUp(response);
    */
 
-  public OBError CreateRegisters(VariablesSecureApp vars, String strTaxpaymentID,
+  private OBError CreateRegisters(VariablesSecureApp vars, String strTaxpaymentID,
       String strDatefrom, String strDateto, String strProcessed, String strGeneratePayment,
       String strProcessing) throws IOException, ServletException {
     // Connection conn = getTransactionConnection();
@@ -297,7 +297,7 @@
 
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strWindowId,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strWindowId,
       String strTabId, String strDatefrom, String strDateto, String strGeneratePayment,
       String strProcessed, String strProcessing, String strTaxpaymentID) throws IOException,
       ServletException {
--- a/src/org/openbravo/erpCommon/ad_actionButton/DropRegFactAcct.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/DropRegFactAcct.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SL
- * All portions are Copyright (C) 2001-2008 Openbravo SL
+ * All portions are Copyright (C) 2001-2009 Openbravo SL
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -69,7 +69,7 @@
       pageErrorPopUp(response);
   }
 
-  OBError processButton(VariablesSecureApp vars, String stradOrgId, String strKey) {
+  private OBError processButton(VariablesSecureApp vars, String stradOrgId, String strKey) {
     Connection conn = null;
     OBError myError = null;
     try {
@@ -116,7 +116,7 @@
     return myError;
   }
 
-  String processButtonClose(Connection conn, VariablesSecureApp vars, String strKey,
+  private String processButtonClose(Connection conn, VariablesSecureApp vars, String strKey,
       String stradOrgId, String strRegFactAcctGroupId, String strCloseFactAcctGroupId,
       String strDivideUpFactAcctGroupId, String strOpenUpFactAcctGroupId, String strOrgSchemaId)
       throws ServletException {
@@ -127,7 +127,7 @@
     return "ProcessOK";
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
       String stradOrgId, String windowId, String strTab, String strProcessId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -20,7 +20,6 @@
 
 import java.io.IOException;
 import java.io.PrintWriter;
-import java.math.BigDecimal;
 import java.sql.Connection;
 
 import javax.servlet.ServletConfig;
@@ -36,7 +35,6 @@
 
 public class EditCCPMeasureValues extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
-  static final BigDecimal ZERO = new BigDecimal(0.0);
 
   public void init(ServletConfig config) {
     super.init(config);
@@ -76,9 +74,9 @@
       pageErrorPopUp(response);
   }
 
-  void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars, String strKey,
-      String strWindowId, String strTabId, String strProcessId, String strMeasureDate,
-      String strShift) throws IOException, ServletException {
+  private void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars,
+      String strKey, String strWindowId, String strTabId, String strProcessId,
+      String strMeasureDate, String strShift) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: values ");
     String[] discard = { "" };
@@ -140,7 +138,7 @@
       log4j.debug("Output: values - out");
   }
 
-  OBError updateValues(VariablesSecureApp vars, String[] strValueId, String[] strGroupId,
+  private OBError updateValues(VariablesSecureApp vars, String[] strValueId, String[] strGroupId,
       String strKey, String strWindowId) {
 
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.java	Wed Jun 03 21:16:56 2009 +0200
@@ -50,7 +50,7 @@
 public class ExpenseSOrder extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
+  private static final BigDecimal ZERO = new BigDecimal(0.0);
 
   public void init(ServletConfig config) {
     super.init(config);
@@ -82,7 +82,7 @@
       pageErrorPopUp(response);
   }
 
-  OBError processButton(VariablesSecureApp vars, String strBPartner, String strDatefrom,
+  private OBError processButton(VariablesSecureApp vars, String strBPartner, String strDatefrom,
       String strDateto, String strDateOrdered, String strOrganization, String strCompleteAuto) {
     StringBuffer textoMensaje = new StringBuffer();
     Connection conn = null;
@@ -386,7 +386,7 @@
     }
   }
 
-  OBError processOrder(VariablesSecureApp vars, String strCOrderId) throws ServletException,
+  private OBError processOrder(VariablesSecureApp vars, String strCOrderId) throws ServletException,
       NoConnectionAvailableException, SQLException {
     Connection conn = null;
     conn = getTransactionConnection();
@@ -410,7 +410,7 @@
     return myMessage;
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strDatefrom,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strDatefrom,
       String strDateto, String strDateOrdered, String strBPartner, String strOrganization,
       String strCompleteAuto) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_actionButton/ExportReferenceData.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ExportReferenceData.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -77,7 +77,7 @@
       pageErrorPopUp(response);
   }
 
-  OBError processButton(VariablesSecureApp vars, String strKey) {
+  private OBError processButton(VariablesSecureApp vars, String strKey) {
     OBError myError = null;
     try {
       DataSet myDataset = (DataSet) OBDal.getInstance().get(DataSet.class, strKey);
@@ -110,7 +110,7 @@
     return myError;
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strDataSetID)
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strDataSetID)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Button process Copy from Settlement");
--- a/src/org/openbravo/erpCommon/ad_actionButton/InsertAcces.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/InsertAcces.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -75,7 +75,7 @@
 
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
       String windowId, String strProcessId, String strMessage, String strTab) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
@@ -123,8 +123,8 @@
     out.close();
   }
 
-  OBError getPrintPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
-      String strModule, String strType) throws IOException, ServletException {
+  private OBError getPrintPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strKey, String strModule, String strType) throws IOException, ServletException {
     OBError myMessage = null;
     myMessage = new OBError();
     myMessage.setTitle("");
@@ -145,7 +145,7 @@
     }
   }
 
-  public void generateAcces(VariablesSecureApp vars, InsertAccesData[] accesData, String roleid,
+  private void generateAcces(VariablesSecureApp vars, InsertAccesData[] accesData, String roleid,
       String indice, String strType) throws ServletException {
     log4j.error("longitud accesdata: " + accesData.length + " indice: " + indice + " roleid: "
         + roleid);
--- a/src/org/openbravo/erpCommon/ad_actionButton/Posted.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/Posted.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SL
- * All portions are Copyright (C) 2001-2006 Openbravo SL
+ * All portions are Copyright (C) 2001-2009 Openbravo SL
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -128,7 +128,7 @@
       pageErrorPopUp(response);
   }
 
-  OBError processButton(VariablesSecureApp vars, String strKey, String strTableId)
+  private OBError processButton(VariablesSecureApp vars, String strKey, String strTableId)
       throws ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("ProcessButton strKey: " + strKey + "strTableId: " + strTableId);
@@ -176,7 +176,7 @@
     return myMessage;
   }
 
-  OBError processButtonDelete(VariablesSecureApp vars, String strKey, String strTableId)
+  private OBError processButtonDelete(VariablesSecureApp vars, String strKey, String strTableId)
       throws ServletException {
     OBError myMessage = null;
 
@@ -211,7 +211,7 @@
     return myMessage;
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
       String windowId, String strTab, String strProcessId, String strTableId, String strPath,
       String strTabName, String strPosted) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_actionButton/ProjectClose.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ProjectClose.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -67,7 +67,7 @@
       pageErrorPopUp(response);
   }
 
-  OBError processButton(VariablesSecureApp vars, String strKey, String windowId) {
+  private OBError processButton(VariablesSecureApp vars, String strKey, String windowId) {
     Connection conn = null;
     OBError myMessage = null;
     try {
@@ -93,7 +93,7 @@
     return myMessage;
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
       String windowId, String strTab, String strProcessId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Button process Project Close");
--- a/src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -70,7 +70,8 @@
       pageErrorPopUp(response);
   }
 
-  OBError processButton(VariablesSecureApp vars, String strKey, String strProject, String windowId) {
+  private OBError processButton(VariablesSecureApp vars, String strKey, String strProject,
+      String windowId) {
     Connection conn = null;
     OBError myMessage = null;
     if (strProject == null || strProject.equals("")) {
@@ -168,7 +169,7 @@
     return myMessage;
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
       String strProject, String windowId, String strTab, String strProcessId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_actionButton/ProjectSetType.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ProjectSetType.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -78,7 +78,7 @@
       pageErrorPopUp(response);
   }
 
-  OBError processButton(VariablesSecureApp vars, String strKey, String strProjectType,
+  private OBError processButton(VariablesSecureApp vars, String strKey, String strProjectType,
       String strDateFrom, String windowId) {
     Connection conn = null;
     OBError myMessage = new OBError();
@@ -208,7 +208,7 @@
     return myMessage;
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
       String strProjectType, String windowId, String strTab, String strProcessId)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
@@ -269,7 +269,7 @@
   }
 
   // Determines the Starting Date of a Phase or a Task
-  public String calculateStartDate(String strLastContractDate, DateFormat DateFormatter)
+  private String calculateStartDate(String strLastContractDate, DateFormat DateFormatter)
       throws ParseException {
     String strStartDate = "";
     if (strLastContractDate != null && !strLastContractDate.equals("")) {
@@ -296,7 +296,7 @@
 
   // Determines the Contract Date of a Phase or a Task, based on the Standard
   // Duration in Days of the Standard Phase or the Standard Task
-  public String calculateContractDate(String strStartDate, String strStdDuration,
+  private String calculateContractDate(String strStartDate, String strStdDuration,
       DateFormat DateFormatter) throws ParseException {
     String strContractDate = "";
     if (strStartDate != null && !strStartDate.equals("") && strStdDuration != null
--- a/src/org/openbravo/erpCommon/ad_actionButton/RequestAction.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/RequestAction.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -113,7 +113,7 @@
       pageErrorPopUp(response);
   }
 
-  String processButton(VariablesSecureApp vars, String strKey, String windowId) {
+  private String processButton(VariablesSecureApp vars, String strKey, String windowId) {
     int i = 0;
     Connection conn = null;
     try {
@@ -262,7 +262,7 @@
     return (Utility.messageBD(this, "RecordsCopied", vars.getLanguage()) + i);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
       String windowId, String strTab, String strProcessId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: Button process Copy from Invoice");
--- a/src/org/openbravo/erpCommon/ad_actionButton/UpdateMaintenanceScheduled.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/UpdateMaintenanceScheduled.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -20,7 +20,6 @@
 
 import java.io.IOException;
 import java.io.PrintWriter;
-import java.math.BigDecimal;
 import java.sql.Connection;
 
 import javax.servlet.ServletConfig;
@@ -37,7 +36,6 @@
 
 public class UpdateMaintenanceScheduled extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
-  static final BigDecimal ZERO = new BigDecimal(0.0);
 
   public void init(ServletConfig config) {
     super.init(config);
@@ -82,9 +80,9 @@
       pageErrorPopUp(response);
   }
 
-  void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars, String strKey,
-      String strWindowId, String strTabId, String strPartDateFrom, String strPartDateTo,
-      String strMaintType) throws IOException, ServletException {
+  private void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars,
+      String strKey, String strWindowId, String strTabId, String strPartDateFrom,
+      String strPartDateTo, String strMaintType) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: values ");
     String[] discard = { "" };
@@ -138,7 +136,7 @@
       log4j.debug("Output: values - out");
   }
 
-  OBError updateValues(HttpServletRequest request, VariablesSecureApp vars, String strKey) {
+  private OBError updateValues(HttpServletRequest request, VariablesSecureApp vars, String strKey) {
     OBError myMessage = null;
     if (log4j.isDebugEnabled())
       log4j.debug("Update: values");
--- a/src/org/openbravo/erpCommon/ad_callouts/Activation_Message.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/Activation_Message.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -54,7 +54,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strHBActive,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strHBActive,
       String strRegActive) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/CalloutHelper.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/CalloutHelper.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2007 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Amount.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Amount.java	Wed Jun 03 21:16:56 2009 +0200
@@ -62,7 +62,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strExpenseAmt,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strExpenseAmt,
       String strDateexpense, String strcCurrencyId, String strTimeExpenseId, String strTabId)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Expense_BP_Project.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Expense_BP_Project.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,9 +57,9 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartnerId,
-      String strProjectId, String strChanged, String strTabId, String strWindowId)
-      throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strBPartnerId, String strProjectId, String strChanged, String strTabId,
+      String strWindowId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -65,7 +65,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strDateexpense,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strDateexpense,
       String strmProductId, String strsTimeexpenseId, String strqty, String strcCurrencyId,
       String strInvPrice, String strChanged, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_InOut_DocType.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_InOut_DocType.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,7 +57,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strDocType,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strDocType,
       String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_BPartner.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_BPartner.java	Wed Jun 03 21:16:56 2009 +0200
@@ -70,7 +70,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
       String strDocType, String strIsSOTrx, String strWindowId, String strLocation,
       String strContact, String strProjectId, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_Project.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_Project.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -60,8 +60,9 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strProjectId,
-      String strWindowId, String strIsSOTrx, String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strProjectId, String strWindowId, String strIsSOTrx, String strTabId)
+      throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Order_BPartner.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Order_BPartner.java	Wed Jun 03 21:16:56 2009 +0200
@@ -77,7 +77,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
       String strOrderType, String strIsSOTrx, String strWindowId, String strLocation,
       String strContact, String strProjectId, String strTabId, String strDeliveryRule0,
       String strUserRep0, String strPaymentrule0, String strPaymentterm0, String strInvoiceRule0,
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Order_Project.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Order_Project.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,8 +57,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strProjectId,
-      String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strProjectId, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_PeriodNo.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_PeriodNo.java	Wed Jun 03 21:16:56 2009 +0200
@@ -56,7 +56,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strYearId,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strYearId,
       String strWindowId, String strOrgId, String strCalendarId, String strChanged)
       throws IOException, ServletException {
 
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Period_Control.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Period_Control.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,8 +57,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strAdOrgTypeID,
-      String strIsReady) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strAdOrgTypeID, String strIsReady) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Pricelist_Active.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Pricelist_Active.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -54,7 +54,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strIsActive,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strIsActive,
       String strPricelistId) throws IOException, ServletException {
 
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_ProjectLine_Value.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_ProjectLine_Value.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -63,9 +63,9 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strmProductId,
-      String strPriceListId, String strTabId, String strProjectId, String strPhaseId,
-      String strADOrgID) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strmProductId, String strPriceListId, String strTabId, String strProjectId,
+      String strPhaseId, String strADOrgID) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Project_BPartner.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Project_BPartner.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -65,7 +65,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
       String strIsSOTrx, String strWindowId, String strLocation, String strContact)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Proposal_BPartner.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Proposal_BPartner.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -64,7 +64,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
       String strWindowId, String strLocation, String strContact, String strTabId)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
@@ -83,8 +83,8 @@
     try {
       ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR",
           "C_BPartner_Location_ID", "", "C_BPartner Location - Ship To", Utility.getContext(this,
-              vars, "#AccessibleOrgTree", strWindowId), Utility.getContext(this, vars, "#User_Client",
-              strWindowId), 0);
+              vars, "#AccessibleOrgTree", strWindowId), Utility.getContext(this, vars,
+              "#User_Client", strWindowId), 0);
       Utility.fillSQLParameters(this, vars, null, comboTableData, strWindowId, "");
       tdv = comboTableData.select(false);
       comboTableData = null;
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Request_CopyText.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Request_CopyText.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -55,8 +55,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strRMailTextId,
-      String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strRMailTextId, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Supplier_BPartner.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Supplier_BPartner.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -56,7 +56,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
       String strWindowId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Taxes_Active.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Taxes_Active.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -54,7 +54,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strIsActive,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strIsActive,
       String strParentTaxId) throws IOException, ServletException {
 
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Wh_SchedulePeriod.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Wh_SchedulePeriod.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -59,8 +59,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strWhSchedule,
-      String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strWhSchedule, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_AlertRule_SQL.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_AlertRule_SQL.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -58,7 +58,7 @@
       pageError(response);
   }
 
-  boolean existsColumn(ResultSetMetaData rmeta, String col) {
+  private boolean existsColumn(ResultSetMetaData rmeta, String col) {
     try {
       for (int i = 1; i <= rmeta.getColumnCount(); i++) {
         if (rmeta.getColumnName(i).equalsIgnoreCase(col))
@@ -69,7 +69,7 @@
     return false;
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strSQL)
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strSQL)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Assets.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Assets.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -60,7 +60,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
       String strAssetvalue, String strResidualvalue, String strAmortizationvalue,
       String strLastChanged) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_BankDebt_Amount.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_BankDebt_Amount.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -20,7 +20,6 @@
 
 import java.io.IOException;
 import java.io.PrintWriter;
-import java.math.BigDecimal;
 
 import javax.servlet.ServletConfig;
 import javax.servlet.ServletException;
@@ -35,8 +34,6 @@
 public class SL_BankDebt_Amount extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
-
   public void init(ServletConfig config) {
     super.init(config);
     boolHist = false;
@@ -65,7 +62,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strDebtPayment, String strTabId, String strBankStatement, String strCurrency,
       String strDescription) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_BankStmt_Amount.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_BankStmt_Amount.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -34,8 +34,6 @@
 public class SL_BankStmt_Amount extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
-
   public void init(ServletConfig config) {
     super.init(config);
     boolHist = false;
@@ -67,7 +65,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strStmAmount, String strTrxAmount, String strChgAmount, String strTabId,
       String strConChgAmount, String strBankStmtLine, String strCurrencyId, String strDP)
       throws IOException, ServletException {
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Budget_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Budget_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,7 +57,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
       String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_CCPMeasure_Group.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_CCPMeasure_Group.java	Wed Jun 03 21:16:56 2009 +0200
@@ -59,7 +59,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
       String strMACCPGroupID) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_CashJournal_Amounts.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_CashJournal_Amounts.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -20,7 +20,6 @@
 
 import java.io.IOException;
 import java.io.PrintWriter;
-import java.math.BigDecimal;
 
 import javax.servlet.ServletConfig;
 import javax.servlet.ServletException;
@@ -34,7 +33,6 @@
 
 public class SL_CashJournal_Amounts extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
-  static final BigDecimal ZERO = new BigDecimal(0.0);
 
   public void init(ServletConfig config) {
     super.init(config);
@@ -66,7 +64,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strOrder, String strDebtPayment, String strAmount, String strDiscount,
       String strwriteoff, String strTabId, String strCashId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Charge.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Charge.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,8 +57,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strCChargeID,
-      String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strCChargeID, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Command_ArgNumber.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Command_ArgNumber.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -20,7 +20,6 @@
 
 import java.io.IOException;
 import java.io.PrintWriter;
-import java.math.BigDecimal;
 
 import javax.servlet.ServletConfig;
 import javax.servlet.ServletException;
@@ -35,8 +34,6 @@
 public class SL_Command_ArgNumber extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
-
   public void init(ServletConfig config) {
     super.init(config);
     boolHist = false;
@@ -60,7 +57,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strCommand)
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strCommand)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Conversion_Rate.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Conversion_Rate.java	Wed Jun 03 21:16:56 2009 +0200
@@ -33,8 +33,8 @@
 
 public class SL_Conversion_Rate extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
-  static final BigDecimal ZERO = new BigDecimal(0.0);
-  static final BigDecimal ONE = new BigDecimal(1.0);
+  private static final BigDecimal ZERO = new BigDecimal(0.0);
+  private static final BigDecimal ONE = new BigDecimal(1.0);
 
   public void init(ServletConfig config) {
     super.init(config);
@@ -61,7 +61,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strMultiplyRate, String strDivideRate, String strTabId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_CostcenterEmployee_SalaryCategory.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_CostcenterEmployee_SalaryCategory.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,8 +57,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String srtcSalaryCategoryId)
-      throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String srtcSalaryCategoryId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Conversion.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Conversion.java	Wed Jun 03 21:16:56 2009 +0200
@@ -62,7 +62,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
       String strMProductUOMID, String strQuantityOrder, String strTabId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -71,7 +71,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strLocator,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strLocator,
       String strQty, String strUOM, String strAttribute, String strQtyOrder, String strPUOM,
       String strMProductID, String strIsSOTrx, String strWharehouse, String strTabId)
       throws IOException, ServletException {
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Warehouse.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Warehouse.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -59,8 +59,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strWarehouse,
-      String strIsSOTrx, String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strWarehouse, String strIsSOTrx, String strTabId) throws IOException, ServletException {
     log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
         "org/openbravo/erpCommon/ad_callouts/CallOut").createXmlDocument();
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_CreateLines_Conversion_UOM.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_CreateLines_Conversion_UOM.java	Wed Jun 03 21:16:56 2009 +0200
@@ -61,7 +61,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strOrderlineId,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strOrderlineId,
       String strUOM, String strQuantityOrder, String strMProductUOMID) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_GlobalUse_Conversion.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_GlobalUse_Conversion.java	Wed Jun 03 21:16:56 2009 +0200
@@ -61,7 +61,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
       String strMProductUOMID, String strQuantityOrder, String strTabId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_GlobalUse_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_GlobalUse_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -63,7 +63,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
       String strMProductID, String strPAttr) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
@@ -96,7 +96,8 @@
       FieldProvider[] tld = null;
       try {
         ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "",
-            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "SLOrderProduct"),
+            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
+                "SLOrderProduct"),
             Utility.getContext(this, vars, "#User_Client", "SLOrderProduct"), 0);
         Utility.fillSQLParameters(this, vars, null, comboTableData, "SLOrderProduct", "");
         tld = comboTableData.select(false);
@@ -123,7 +124,8 @@
       FieldProvider[] tld = null;
       try {
         ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "",
-            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "SLOrderProduct"),
+            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
+                "SLOrderProduct"),
             Utility.getContext(this, vars, "#User_Client", "SLOrderProduct"), 0);
         Utility.fillSQLParameters(this, vars, null, comboTableData, "SLOrderProduct", "");
         tld = comboTableData.select(false);
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Locator.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Locator.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -61,7 +61,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strLocator,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strLocator,
       String strIsSOTrx, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -72,7 +72,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strLocator,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strLocator,
       String strQty, String strUOM, String strAttribute, String strQtyOrder, String strPUOM,
       String strMProductID, String strIsSOTrx, String strWharehouse, String strTabId,
       String strmInoutlineId) throws IOException, ServletException {
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_InOut_BPartner.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_InOut_BPartner.java	Wed Jun 03 21:16:56 2009 +0200
@@ -70,7 +70,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
       String strLocation, String strContact, String strWindowId, String strProjectId,
       String strIsSOTrx, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_InOut_Conversion.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_InOut_Conversion.java	Wed Jun 03 21:16:56 2009 +0200
@@ -62,7 +62,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
       String strMProductUOMID, String strQuantityOrder, String strTabId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Internal_Consumption_Conversion.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Internal_Consumption_Conversion.java	Wed Jun 03 21:16:56 2009 +0200
@@ -61,7 +61,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strUOM, String strMProductUOMID, String strQuantityOrder, String strTabId)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Internal_Consumption_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Internal_Consumption_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -69,7 +69,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strProduct, String strPLocator, String strPAttr, String strPQty, String strPUOM,
       String strQty, String strUOM, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Conversion.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Conversion.java	Wed Jun 03 21:16:56 2009 +0200
@@ -62,7 +62,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
       String strMProductUOMID, String strQuantityOrder, String strTabId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Locator.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Locator.java	Wed Jun 03 21:16:56 2009 +0200
@@ -57,7 +57,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strProduct, String strLocator, String strAttribute, String strUOM, String strTabId)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -63,7 +63,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strProduct, String strLocator, String strAttribute, String strQty, String strUOM,
       String strQtyOrder, String strPUOM, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
@@ -109,8 +109,9 @@
       FieldProvider[] tld = null;
       try {
         ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "",
-            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "SLInventoryProduct"),
-            Utility.getContext(this, vars, "#User_Client", "SLInventoryProduct"), 0);
+            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
+                "SLInventoryProduct"), Utility.getContext(this, vars, "#User_Client",
+                "SLInventoryProduct"), 0);
         Utility.fillSQLParameters(this, vars, null, comboTableData, "SLInventoryProduct", "");
         tld = comboTableData.select(false);
         comboTableData = null;
@@ -135,8 +136,9 @@
       FieldProvider[] tld = null;
       try {
         ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "",
-            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "SLInventoryProduct"),
-            Utility.getContext(this, vars, "#User_Client", "SLInventoryProduct"), 0);
+            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
+                "SLInventoryProduct"), Utility.getContext(this, vars, "#User_Client",
+                "SLInventoryProduct"), 0);
         Utility.fillSQLParameters(this, vars, null, comboTableData, "SLInventoryProduct", "");
         tld = comboTableData.select(false);
         comboTableData = null;
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_InvoiceTax_Amt.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_InvoiceTax_Amt.java	Wed Jun 03 21:16:56 2009 +0200
@@ -60,7 +60,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strTaxAmt, String strTaxBaseAmt, String strTaxId, String strInvoiceId)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Amt.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Amt.java	Wed Jun 03 21:16:56 2009 +0200
@@ -36,7 +36,7 @@
 public class SL_Invoice_Amt extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
+  private static final BigDecimal ZERO = new BigDecimal(0.0);
 
   public void init(ServletConfig config) {
     super.init(config);
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Charge_Tax.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Charge_Tax.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -66,9 +66,10 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strMProductID,
-      String strADOrgID, String strCInvoiceID, String strIsSOTrx, String strWharehouse,
-      String strCChargeID, String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strMProductID, String strADOrgID, String strCInvoiceID, String strIsSOTrx,
+      String strWharehouse, String strCChargeID, String strTabId) throws IOException,
+      ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Conversion.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Conversion.java	Wed Jun 03 21:16:56 2009 +0200
@@ -62,7 +62,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
       String strMProductUOMID, String strQuantityOrder, String strTabId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_DocType.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_DocType.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,8 +57,9 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strDocTypeTarget,
-      String strTabId, String strCInvoiceId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strDocTypeTarget, String strTabId, String strCInvoiceId) throws IOException,
+      ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_PriceList.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_PriceList.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,8 +57,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strMPriceListID,
-      String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strMPriceListID, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -77,7 +77,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
       String strPriceList, String strPriceStd, String strPriceLimit, String strCurrency,
       String strMProductID, String strADOrgID, String strCInvoiceID, String strIsSOTrx,
       String strWharehouse, String strTabId, String strQty) throws IOException, ServletException {
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Tax.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Tax.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -65,9 +65,9 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strMProductID,
-      String strADOrgID, String strCInvoiceID, String strIsSOTrx, String strWharehouse,
-      String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strMProductID, String strADOrgID, String strCInvoiceID, String strIsSOTrx,
+      String strWharehouse, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_IsDefault.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_IsDefault.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -61,7 +61,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars) throws IOException,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_JournalLineAmt.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_JournalLineAmt.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -70,10 +70,10 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strGLJournal,
-      String strCurrencyRate, String strCurrency, String strDateAcct, String strCurrencyRateType,
-      String strWindowId, String strAmtSourceDr, String strAmtSourceCr, String strTabId)
-      throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strGLJournal, String strCurrencyRate, String strCurrency, String strDateAcct,
+      String strCurrencyRateType, String strWindowId, String strAmtSourceDr, String strAmtSourceCr,
+      String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Journal_Period.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Journal_Period.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -20,7 +20,6 @@
 
 import java.io.IOException;
 import java.io.PrintWriter;
-import java.math.BigDecimal;
 
 import javax.servlet.ServletConfig;
 import javax.servlet.ServletException;
@@ -35,8 +34,6 @@
 public class SL_Journal_Period extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
-
   public void init(ServletConfig config) {
     super.init(config);
     boolHist = false;
@@ -64,9 +61,9 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strDateAcctNew,
-      String strDateDocNew, String strcPeriodIdNew, String strWindowId, String strChanged,
-      String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strDateAcctNew, String strDateDocNew, String strcPeriodIdNew, String strWindowId,
+      String strChanged, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_LegalEntity_Acct.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_LegalEntity_Acct.java	Wed Jun 03 21:16:56 2009 +0200
@@ -55,7 +55,7 @@
 
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strIsAcctLE)
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strIsAcctLE)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_MInOutTraceReports.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_MInOutTraceReports.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -61,8 +61,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strMProductID,
-      String strMAttributeSetInstanceID) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strMProductID, String strMAttributeSetInstanceID) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_MachineCost.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_MachineCost.java	Wed Jun 03 21:16:56 2009 +0200
@@ -68,7 +68,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strPurchaseAmt, String strToolsetAmt, String strYearValue, String strAmortization,
       String strDaysYear, String strDayHours, String strImproductiveHoursYear,
       String strCostUomYear, String strCost, String strCostUom) throws IOException,
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_MovementAll_Locator.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_MovementAll_Locator.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2007 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -59,7 +59,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strLocator,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strLocator,
       String strIsSOTrx, String strTabId, String strmInoutId) throws IOException, ServletException {
     log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Movement_Conversion.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Movement_Conversion.java	Wed Jun 03 21:16:56 2009 +0200
@@ -62,7 +62,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
       String strMProductUOMID, String strQuantityOrder, String strTabId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Movement_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Movement_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -71,7 +71,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strMProductID, String strLocator, String strQty, String strUOM, String strAttribute,
       String strQtyOrder, String strPUOM, String strIsSOTrx, String strWharehouse, String strTabId)
       throws IOException, ServletException {
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -36,7 +36,7 @@
 public class SL_Order_Amt extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
+  private static final BigDecimal ZERO = new BigDecimal(0.0);
 
   public void init(ServletConfig config) {
     super.init(config);
@@ -75,7 +75,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strQtyOrdered, String strPriceActual, String strDiscount, String strPriceLimit,
       String strPriceList, String strCOrderId, String strProduct, String strUOM,
       String strAttribute, String strTabId, String strQty, String strPriceStd, String cancelPriceAd)
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Order_Charge_Tax.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Order_Charge_Tax.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -70,10 +70,10 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strCChargeID,
-      String strMProductID, String strCBPartnerLocationID, String strDateOrdered,
-      String strADOrgID, String strMWarehouseID, String strCOrderId, String strWindowId,
-      String strIsSOTrx, String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strCChargeID, String strMProductID, String strCBPartnerLocationID,
+      String strDateOrdered, String strADOrgID, String strMWarehouseID, String strCOrderId,
+      String strWindowId, String strIsSOTrx, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Order_Conversion.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Order_Conversion.java	Wed Jun 03 21:16:56 2009 +0200
@@ -62,7 +62,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
       String strMProductUOMID, String strQuantityOrder, String strChanged, String strTabId)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Order_DocType.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Order_DocType.java	Wed Jun 03 21:16:56 2009 +0200
@@ -69,7 +69,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
       String strDocTypeTarget, String strDocType, String docNo, String strOrder,
       String strDescription, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Order_PriceList.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Order_PriceList.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,8 +57,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strMPriceListID,
-      String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strMPriceListID, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Order_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Order_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -83,7 +83,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
       String strPriceList, String strPriceStd, String strPriceLimit, String strCurrency,
       String strMProductID, String strCBPartnerLocationID, String strDateOrdered,
       String strADOrgID, String strMWarehouseID, String strCOrderId, String strWindowId,
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Order_Tax.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Order_Tax.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -68,7 +68,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strMProductID, String strCBPartnerLocationID, String strDateOrdered,
       String strADOrgID, String strMWarehouseID, String strCOrderId, String strIsSOTrx,
       String strTabId) throws IOException, ServletException {
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Payment_Amounts.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Payment_Amounts.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -39,7 +39,7 @@
 public class SL_Payment_Amounts extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
+  private static final BigDecimal ZERO = new BigDecimal(0.0);
 
   public void init(ServletConfig config) {
     super.init(config);
@@ -73,7 +73,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strIsOverUnderPayment, String strPayamt, String strDiscountamt, String strWriteoffamt,
       String strOverunderamt, String strcCurrencyId, String strcPaymentId, String strcInvoiceId,
       String strTabId) throws IOException, ServletException {
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Payment_DocType.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Payment_DocType.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -20,7 +20,6 @@
 
 import java.io.IOException;
 import java.io.PrintWriter;
-import java.math.BigDecimal;
 
 import javax.servlet.ServletConfig;
 import javax.servlet.ServletException;
@@ -36,8 +35,6 @@
 public class SL_Payment_DocType extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
-
   public void init(ServletConfig config) {
     super.init(config);
     boolHist = false;
@@ -65,7 +62,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strcInvoiceId, String strcDoctypeId, String strTabId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Payment_No_Verify.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Payment_No_Verify.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -20,7 +20,6 @@
 
 import java.io.IOException;
 import java.io.PrintWriter;
-import java.math.BigDecimal;
 
 import javax.servlet.ServletConfig;
 import javax.servlet.ServletException;
@@ -37,8 +36,6 @@
 public class SL_Payment_No_Verify extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
-
   public void init(ServletConfig config) {
     super.init(config);
     boolHist = false;
@@ -66,7 +63,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strcCreditCard, String strcCreditCardType, String strcRoutingNo, String strTabId)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_ProductionPlan_Conversion.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_ProductionPlan_Conversion.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -34,8 +34,6 @@
 public class SL_ProductionPlan_Conversion extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
-
   public void init(ServletConfig config) {
     super.init(config);
     boolHist = false;
@@ -60,7 +58,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strSecQty,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strSecQty,
       String strConvRate, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_ProductionPlan_WRPhase.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_ProductionPlan_WRPhase.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -21,7 +21,6 @@
 
 import java.io.IOException;
 import java.io.PrintWriter;
-import java.math.BigDecimal;
 
 import javax.servlet.ServletConfig;
 import javax.servlet.ServletException;
@@ -36,8 +35,6 @@
 public class SL_ProductionPlan_WRPhase extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
-
   public void init(ServletConfig config) {
     super.init(config);
     boolHist = false;
@@ -61,8 +58,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strProduction,
-      String strWRPhase) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strProduction, String strWRPhase) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Production_Conversion.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Production_Conversion.java	Wed Jun 03 21:16:56 2009 +0200
@@ -61,7 +61,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
       String strMProductUOMID, String strQuantityOrder, String strTabId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Production_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Production_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -69,7 +69,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strProduct, String strPLocator, String strPAttr, String strPQty, String strPUOM,
       String strQty, String strUOM, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Project_Margin.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Project_Margin.java	Wed Jun 03 21:16:56 2009 +0200
@@ -65,7 +65,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
       String strcProjectId, String strChanged, String strServiceRevenue, String strServiceCost,
       String strServiceMargin, String strPlannedExpenses, String strReinvoicedExpenses,
       String strPlannedMargin) throws IOException, ServletException {
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Project_Planned.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Project_Planned.java	Wed Jun 03 21:16:56 2009 +0200
@@ -61,7 +61,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strPlannedQty,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strPlannedQty,
       String strPlannedPrice, String strPlannedPurchasePrice, String strPlannedMargin,
       String strcProjectLineId, String strTabId, String strChanged) throws IOException,
       ServletException {
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Project_PriceList.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Project_PriceList.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,8 +57,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strMPriceListID,
-      String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strMPriceListID, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Proposal_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Proposal_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -52,7 +52,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strPriceStd,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strPriceStd,
       String strTabId, String strmProductId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Request_Action.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Request_Action.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -60,9 +60,9 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strCBPartnerID,
-      String strClient, String strUser, String strActionType, String strTabId) throws IOException,
-      ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strCBPartnerID, String strClient, String strUser, String strActionType, String strTabId)
+      throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Amt.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Amt.java	Wed Jun 03 21:16:56 2009 +0200
@@ -34,7 +34,7 @@
 public class SL_RequisitionLine_Amt extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal("0");
+  private static final BigDecimal ZERO = new BigDecimal("0");
 
   public void init(ServletConfig config) {
     super.init(config);
@@ -61,7 +61,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strQty,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strQty,
       String strPriceActual, String strDiscount, String strPriceList, String strChanged)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Conversion.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Conversion.java	Wed Jun 03 21:16:56 2009 +0200
@@ -62,7 +62,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
       String strMProductUOMID, String strQuantityOrder, String strTabId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -69,7 +69,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strMProductID,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strMProductID,
       String strWindowId, String strTabId, String strAttribute, String strUOM,
       String strRequisition, String strPriceListId, String strChanged) throws IOException,
       ServletException {
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionOrder_Order.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionOrder_Order.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -34,8 +34,6 @@
 public class SL_RequisitionOrder_Order extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
-  static final BigDecimal ZERO = new BigDecimal(0.0);
-
   public void init(ServletConfig config) {
     super.init(config);
     boolHist = false;
@@ -59,8 +57,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strOrderLine,
-      String strRequisitionLine) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strOrderLine, String strRequisitionLine) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Requisition_BPartner.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Requisition_BPartner.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
+ * All portions are Copyright (C) 2008-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -56,7 +56,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strBPartner,
       String strWindowId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_ScheduledMaintenance_Maintenance.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_ScheduledMaintenance_Maintenance.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -58,8 +58,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strMaintenance,
-      String strTabId) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strMaintenance, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_SequenceProduct_Conversion.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_SequenceProduct_Conversion.java	Wed Jun 03 21:16:56 2009 +0200
@@ -61,7 +61,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
       String strMProductUOMID, String strQuantityOrder, String strTabId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_SequenceProduct_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_SequenceProduct_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -61,7 +61,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
       String strMProductID) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
@@ -84,7 +84,8 @@
       FieldProvider[] tld = null;
       try {
         ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "",
-            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "SLOrderProduct"),
+            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
+                "SLOrderProduct"),
             Utility.getContext(this, vars, "#User_Client", "SLOrderProduct"), 0);
         Utility.fillSQLParameters(this, vars, null, comboTableData, "SLOrderProduct", "");
         tld = comboTableData.select(false);
@@ -111,7 +112,8 @@
       FieldProvider[] tld = null;
       try {
         ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "",
-            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "SLOrderProduct"),
+            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
+                "SLOrderProduct"),
             Utility.getContext(this, vars, "#User_Client", "SLOrderProduct"), 0);
         Utility.fillSQLParameters(this, vars, null, comboTableData, "SLOrderProduct", "");
         tld = comboTableData.select(false);
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_User_Name.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_User_Name.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -59,7 +59,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strChanged,
       String strFirstname, String strLastname, String strName, String strTabId) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_WRPhaseProduct_Product.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_WRPhaseProduct_Product.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -62,7 +62,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
       String strMProductID) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
@@ -90,7 +90,8 @@
       FieldProvider[] tld = null;
       try {
         ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "",
-            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "SLOrderProduct"),
+            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
+                "SLOrderProduct"),
             Utility.getContext(this, vars, "#User_Client", "SLOrderProduct"), 0);
         Utility.fillSQLParameters(this, vars, null, comboTableData, "SLOrderProduct", "");
         tld = comboTableData.select(false);
@@ -117,7 +118,8 @@
       FieldProvider[] tld = null;
       try {
         ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "",
-            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "SLOrderProduct"),
+            "M_Product_UOM", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
+                "SLOrderProduct"),
             Utility.getContext(this, vars, "#User_Client", "SLOrderProduct"), 0);
         Utility.fillSQLParameters(this, vars, null, comboTableData, "SLOrderProduct", "");
         tld = comboTableData.select(false);
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_WRPhase_Sequence.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_WRPhase_Sequence.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -32,8 +32,6 @@
 import org.openbravo.utils.FormatUtilities;
 import org.openbravo.xmlEngine.XmlDocument;
 
-//import org.openbravo.erpCommon.businessUtility.Tax;
-
 public class SL_WRPhase_Sequence extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
@@ -62,7 +60,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strTabId,
       String strMASequenceID, String strMAWReqID) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_Conversion.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_Conversion.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -59,7 +59,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strSecQty,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strSecQty,
       String strConvRate, String strTabId) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_ProcessPlan.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_ProcessPlan.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,8 +57,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strProcessPlan)
-      throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strProcessPlan) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_Sequence.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_Sequence.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -58,8 +58,8 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strWorkRequirement,
-      String strSequence) throws IOException, ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strWorkRequirement, String strSequence) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_StartDate.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_StartDate.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -57,7 +57,7 @@
       pageError(response);
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strStartDate)
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strStartDate)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_Year_Validation.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_Year_Validation.java	Wed Jun 03 21:16:56 2009 +0200
@@ -56,7 +56,7 @@
 
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strYear)
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strYear)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_forms/About.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/About.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -43,7 +43,7 @@
       pageError(response);
   }
 
-  void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars)
+  private void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_forms/AccountingValueData.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/AccountingValueData.java	Wed Jun 03 21:16:56 2009 +0200
@@ -26,7 +26,7 @@
 import org.openbravo.base.VariablesBase;
 import org.openbravo.data.FieldProvider;
 
-public class AccountingValueData extends MultipartRequest implements FieldProvider {
+class AccountingValueData extends MultipartRequest implements FieldProvider {
   static Logger log4j = Logger.getLogger(AccountingValueData.class);
   public String accountValue = "";
   public String accountName = "";
--- a/src/org/openbravo/erpCommon/ad_forms/AcctServer.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/AcctServer.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * Portions created by Jorg Janke are Copyright (C) 1999-2001 Jorg Janke, parts
  * created by ComPiere are Copyright (C) ComPiere, Inc.;   All Rights Reserved.
  * Contributor(s): Openbravo SL
- * Contributions are Copyright (C) 2001-2008 Openbravo S.L.
+ * Contributions are Copyright (C) 2001-2009 Openbravo S.L.
  ******************************************************************************
  */
 package org.openbravo.erpCommon.ad_forms;
@@ -1052,114 +1052,6 @@
   } // setC_Period_ID
 
   /**
-   * Get fully qualified Account Combination
-   * 
-   * @param AD_Client_ID
-   *          client
-   * @param AD_Org_ID
-   *          org
-   * @param C_AcctSchema_ID
-   *          acct schema
-   * @param Account_ID
-   *          natural account
-   * @param base_ValidCombination_ID
-   *          optional base combination to be specified
-   * @param Alias
-   *          aloas
-   * @param AD_User_ID
-   *          user
-   * @param M_Product_ID
-   *          product
-   * @param C_BPartner_ID
-   *          partner
-   * @param AD_OrgTrx_ID
-   *          trx org
-   * @param C_LocFrom_ID
-   *          loc from
-   * @param C_LocTo_ID
-   *          loc to
-   * @param C_SRegion_ID
-   *          sales region
-   * @param C_Project_ID
-   *          project
-   * @param C_Campaign_ID
-   *          campaign
-   * @param C_Activity_ID
-   *          activity
-   * @param User1_ID
-   *          user1
-   * @param User2_ID
-   *          user2
-   * @return C_ValidCombination_ID of existing or new Combination
-   */
-  public static String getValidCombination(String AD_Client_ID, String AD_Org_ID,
-      String C_AcctSchema_ID, String Account_ID, String base_ValidCombination_ID, String Alias,
-      String AD_User_ID, String M_Product_ID, String C_BPartner_ID, String AD_OrgTrx_ID,
-      String C_LocFrom_ID, String C_LocTo_ID, String C_SRegion_ID, String C_Project_ID,
-      String C_Campaign_ID, String C_Activity_ID, String User1_ID, String User2_ID,
-      ConnectionProvider conn) {
-    String retValue = "";
-    StringBuffer sb = new StringBuffer("C_ValidCombination_Get[");
-    sb.append("v,");
-    // -- Mandatory Accounting fields
-    // 2 - AD_Client_ID
-    sb.append("AD_Client_ID=").append(AD_Client_ID).append(",");
-    // 3 - AD_Org_ID
-    sb.append("AD_Org_ID=").append(AD_Org_ID).append(",");
-    // 4- C_AcctSchema_ID
-    sb.append("C_AcctSchema_ID=").append(C_AcctSchema_ID).append(",");
-    // 5 - Account_ID
-    sb.append("Account_ID=").append(Account_ID).append(", ");
-    // -- Optional
-    // 6 - Base C_ValidCombination_ID
-    sb.append("BaseValidCombination_ID=").append(base_ValidCombination_ID).append(",");
-    // 7 - MustBeFullyQualified
-    sb.append("MustBeFullyQualified='Y',");
-    // 8 - Alias
-    sb.append("Alias='").append(Alias).append("',");
-    // 9 - CreatedBy
-    sb.append("AD_User_ID=").append(AD_User_ID).append(", ");
-    // -- Optional Accounting fields
-    // 10 - M_Product_ID
-    sb.append("M_Product_ID=").append(M_Product_ID).append(",");
-    // 11 - C_BPartner_ID
-    sb.append("C_BPartner_ID=").append(C_BPartner_ID).append(",");
-    // 12 - AD_OrgTrx_ID
-    sb.append("AD_OrgTrx_ID=").append(AD_OrgTrx_ID).append(",");
-    // 13 - C_LocFrom_ID
-    sb.append("C_LocFrom_ID=").append(C_LocFrom_ID).append(",");
-    // 14 - C_LocTo_ID
-    sb.append("C_LocTo_ID=").append(C_LocTo_ID).append(", ");
-    // 15 - C_SalesRegion_ID
-    sb.append("C_SalesRegion_ID=").append(C_SRegion_ID).append(",");
-    // 16 - C_Project_ID
-    sb.append("C_Project_ID=").append(C_Project_ID).append(",");
-    // 17 - C_Campaign_ID
-    sb.append("C_Campaign_ID=").append(C_Campaign_ID).append(",");
-    // 18 - C_Activity_ID
-    sb.append("C_Activity_ID=").append(C_Activity_ID).append(",");
-    // 19 - User1_ID
-    sb.append("User1_ID=").append(User1_ID).append(",");
-    // 20 - User2_ID
-    sb.append("User2_ID=").append(User2_ID).append(")");
-
-    RespuestaCS_AcctServer data = null;
-    try {
-      data = AcctServerData.callGetValidCombination(conn, AD_Client_ID, AD_Org_ID, C_AcctSchema_ID,
-          Account_ID, base_ValidCombination_ID, "Y", Alias, AD_User_ID, M_Product_ID,
-          C_BPartner_ID, AD_OrgTrx_ID, C_LocFrom_ID, C_LocTo_ID, C_SRegion_ID, C_Project_ID,
-          C_Campaign_ID, C_Activity_ID, User1_ID, User2_ID);
-      retValue = data.validCombination;
-    } catch (ServletException e) {
-      log4j.warn(e);
-    }
-    //
-    // if (log4j.isDebugEnabled())
-    // log4j.debug("AcctServer - getValidCombination: " + sb.toString());
-    return retValue;
-  } // getValidCombination
-
-  /**
    * Matching
    * 
    * <pre>
--- a/src/org/openbravo/erpCommon/ad_forms/AcctServer_data.xsql	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/AcctServer_data.xsql	Wed Jun 03 21:16:56 2009 +0200
@@ -12,7 +12,7 @@
  * Portions created by Jorg Janke are Copyright (C) 1999-2001 Jorg Janke, parts
  * created by ComPiere are Copyright (C) ComPiere, Inc.;   All Rights Reserved.
  * Contributor(s): Openbravo SL
- * Contributions are Copyright (C) 2001-2008 Openbravo S.L.
+ * Contributions are Copyright (C) 2001-2009 Openbravo S.L.
  ******************************************************************************
 -->
 
@@ -178,34 +178,6 @@
      <Parameter name="tableName"  type="replace" optional="true" after="WHERE " text="CLAVE"/>
      <Parameter name="Record_ID"/>
    </SqlMethod>
-  <SqlMethod name="callGetValidCombination" type="callableStatement" return="object" object="RespuestaCS_AcctServer">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-      <![CDATA[
-        CALL C_ValidCombination_Get(?,TO_NUMBER(?),TO_NUMBER(?),TO_NUMBER(?),TO_NUMBER(?),TO_NUMBER(?), ?,?,TO_NUMBER(?),TO_NUMBER(?),TO_NUMBER(?),TO_NUMBER(?),TO_NUMBER(?),TO_NUMBER(?),TO_NUMBER(?),TO_NUMBER(?), TO_NUMBER(?),TO_NUMBER(?),TO_NUMBER(?),?)
-     ]]>
-     </Sql>
-     <Parameter name="validCombination" type="out"/>
-     <Parameter name="AD_Client_ID"/>
-     <Parameter name="AD_Org_ID"/>
-     <Parameter name="C_AcctSchema_ID"/>
-     <Parameter name="Account_ID"/>
-     <Parameter name="base_ValidCombination_ID"/>
-     <Parameter name="MustBeFullyQualified"/>
-     <Parameter name="Alias"/>
-     <Parameter name="AD_User_ID"/>
-     <Parameter name="M_Product_ID"/>
-     <Parameter name="C_BPartner_ID"/>
-     <Parameter name="AD_OrgTrx_ID"/>
-     <Parameter name="C_LocFrom_ID"/>
-     <Parameter name="C_LocTo_ID"/>
-     <Parameter name="C_SRegion_ID"/>
-     <Parameter name="C_Project_ID"/>
-     <Parameter name="C_Campaign_ID"/>
-     <Parameter name="C_Activity_ID"/>
-     <Parameter name="User1_ID"/>
-     <Parameter name="User2_ID"/>
-   </SqlMethod>
   <SqlMethod name="updateSave" type="preparedStatement" connection="true" return="rowCount">
     <SqlMethodComment></SqlMethodComment>
     <Sql>
--- a/src/org/openbravo/erpCommon/ad_forms/AlertManagement.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/AlertManagement.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2007 Openbravo SL 
+ * All portions are Copyright (C) 2007-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -74,8 +74,8 @@
       pageError(response);
   }
 
-  OBError updateValues(HttpServletRequest request, VariablesSecureApp vars) throws IOException,
-      ServletException {
+  private OBError updateValues(HttpServletRequest request, VariablesSecureApp vars)
+      throws IOException, ServletException {
 
     OBError myMessage = new OBError();
 
@@ -115,7 +115,7 @@
     return myMessage;
   }
 
-  void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars,
+  private void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars,
       String strAlertRuleId, String strActiveFilter, String strFixedFilter) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_forms/CallAcctServer.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/CallAcctServer.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -225,8 +225,8 @@
    * ""); } }
    */
 
-  public void printPageAjax(HttpServletResponse response, VariablesSecureApp vars, String strMessage)
-      throws IOException, ServletException {
+  private void printPageAjax(HttpServletResponse response, VariablesSecureApp vars,
+      String strMessage) throws IOException, ServletException {
     response.setContentType("text/plain; charset=UTF-8");
     response.setHeader("Cache-Control", "no-cache");
     PrintWriter out = response.getWriter();
--- a/src/org/openbravo/erpCommon/ad_forms/DebtPaymentUnapply.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/DebtPaymentUnapply.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -55,7 +55,7 @@
       pageError(response);
   }
 
-  OBError updateSelection(VariablesSecureApp vars, String strCDebtPaymentId) {
+  private OBError updateSelection(VariablesSecureApp vars, String strCDebtPaymentId) {
     OBError myMessage = new OBError();
 
     if (strCDebtPaymentId.equals("")) {
@@ -87,8 +87,8 @@
     return myMessage;
   }
 
-  void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars, String strWindow)
-      throws IOException, ServletException {
+  private void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars,
+      String strWindow) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
     response.setContentType("text/html; charset=UTF-8");
--- a/src/org/openbravo/erpCommon/ad_forms/EdiFileImport.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/EdiFileImport.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -42,7 +42,6 @@
 
 public class EdiFileImport extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
-  static boolean firstRowHeaders = true;
 
   public void init(ServletConfig config) {
     super.init(config);
@@ -71,7 +70,7 @@
       pageError(response);
   }
 
-  public String importarFichero(VariablesSecureApp vars, FieldProvider[] data2,
+  private String importarFichero(VariablesSecureApp vars, FieldProvider[] data2,
       HttpServletRequest request, HttpServletResponse response) throws ServletException,
       IOException {
     Connection con = null;
@@ -197,8 +196,8 @@
     }
   }
 
-  EdiFileImportData insert(ConnectionProvider conn, VariablesSecureApp vars, Connection con,
-      EdiFileImportData data) throws ServletException {
+  private EdiFileImportData insert(ConnectionProvider conn, VariablesSecureApp vars,
+      Connection con, EdiFileImportData data) throws ServletException {
     data.iOrderId = SequenceIdData.getUUID();
     data.adClientId = vars.getClient();
     data.adOrgId = vars.getOrg();
@@ -218,12 +217,12 @@
     return data;
   }
 
-  String clean(String oldstr) {
+  private String clean(String oldstr) {
     String newstr = oldstr.substring(0, oldstr.length() - 1);
     return newstr;
   }
 
-  String get(String str, int pos) {
+  private String get(String str, int pos) {
     String[] tokens = str.split(":");
     if (pos < tokens.length) {
       String result = tokens[pos];
@@ -236,7 +235,7 @@
     }
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars) throws IOException,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars) throws IOException,
       ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: edi files importing Frame Set");
--- a/src/org/openbravo/erpCommon/ad_forms/FileImport.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/FileImport.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -42,9 +42,9 @@
 
 public class FileImport extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
-  static boolean firstRowHeaders = true;
+  private static boolean firstRowHeaders = true;
 
-  static final int THRESHOLD = 1000;
+  private static final int THRESHOLD = 1000;
 
   public void init(ServletConfig config) {
     super.init(config);
@@ -89,7 +89,7 @@
       pageError(response);
   }
 
-  public String procesarFichero(VariablesSecureApp vars, FieldProvider[] data2,
+  private String procesarFichero(VariablesSecureApp vars, FieldProvider[] data2,
       HttpServletRequest request, HttpServletResponse response, String strAdImpformatId,
       String strFirstLineHeader) throws ServletException, IOException {
     if (data2 == null)
@@ -132,7 +132,7 @@
     return texto.toString();
   }
 
-  public OBError importarFichero(VariablesSecureApp vars, FieldProvider[] data2,
+  private OBError importarFichero(VariablesSecureApp vars, FieldProvider[] data2,
       HttpServletRequest request, HttpServletResponse response, String strAdImpformatId)
       throws ServletException, IOException {
     Connection con = null;
@@ -227,7 +227,7 @@
     return myMessage;
   }
 
-  public String parseField(String strTexto, String strLength, String strDataType,
+  private String parseField(String strTexto, String strLength, String strDataType,
       String strDataFormat, String strDecimalPoint) throws ServletException {
     if (strDataType.equals("D")) {
       strTexto = FileImportData.parseDate(this, strTexto, strDataFormat);
@@ -250,9 +250,9 @@
     }
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strFirstLineHeader,
-      String strCommand, String texto, String strAdImpformatId) throws IOException,
-      ServletException {
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
+      String strFirstLineHeader, String strCommand, String texto, String strAdImpformatId)
+      throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: file importing Frame 1");
     XmlDocument xmlDocument = null;
@@ -334,7 +334,7 @@
    * @throws ServletException
    * @throws IOException
    */
-  void printSampleImport(VariablesSecureApp vars, FieldProvider[] data2,
+  private void printSampleImport(VariablesSecureApp vars, FieldProvider[] data2,
       HttpServletRequest request, HttpServletResponse response, String strAdImpformatId,
       String strFirstLineHeader) throws ServletException, IOException {
 
@@ -399,7 +399,7 @@
     out.close();
   }
 
-  void printPageResult(HttpServletResponse response, VariablesSecureApp vars, String text,
+  private void printPageResult(HttpServletResponse response, VariablesSecureApp vars, String text,
       String command) throws IOException, ServletException {
     XmlDocument xmlDocument = null;
     xmlDocument = xmlEngine.readXmlTemplate("org/openbravo/erpCommon/ad_forms/FileImport_Result")
--- a/src/org/openbravo/erpCommon/ad_forms/FileLoadData.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/FileLoadData.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -25,7 +25,7 @@
 import org.openbravo.base.VariablesBase;
 import org.openbravo.data.FieldProvider;
 
-public class FileLoadData extends MultipartRequest {
+class FileLoadData extends MultipartRequest {
   static Logger log4j = Logger.getLogger(FileLoadData.class);
 
   public FileLoadData() {
--- a/src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.java	Wed Jun 03 21:16:56 2009 +0200
@@ -129,7 +129,7 @@
       pageError(response);
   }
 
-  void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars,
+  private void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars,
       String strC_BPartner_ID, String strAD_Org_ID, String strDateFrom, String strDateTo,
       String strIncludeTaxes) throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_forms/GenerateShipmentsmanual.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/GenerateShipmentsmanual.java	Wed Jun 03 21:16:56 2009 +0200
@@ -21,7 +21,6 @@
 
 import java.io.IOException;
 import java.io.PrintWriter;
-import java.util.regex.Pattern;
 
 import javax.servlet.ServletException;
 import javax.servlet.http.HttpServletRequest;
@@ -87,14 +86,13 @@
           .getClient(), vars.getOrg(), vars.getUser());
       ActionButtonData.process199(this, pinstance);
 
-
       try {
         PInstanceProcessData[] pinstanceData = PInstanceProcessData.select(this, pinstance);
         myMessage = Utility.getProcessInstanceMessage(this, vars, pinstanceData);
       } catch (Exception e) {
-          myMessage = Utility.translateError(this, vars, vars.getLanguage(), e.getMessage());
-          e.printStackTrace();
-          log4j.warn("Error");
+        myMessage = Utility.translateError(this, vars, vars.getLanguage(), e.getMessage());
+        e.printStackTrace();
+        log4j.warn("Error");
       }
       GenerateShipmentsmanualData.updateReset(this, strSalesOrder);
 
@@ -107,7 +105,7 @@
       pageError(response);
   }
 
-  void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars,
+  private void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars,
       String strC_BPartner_ID, String strAD_Org_ID, String strDateFrom, String strDateTo)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
--- a/src/org/openbravo/erpCommon/ad_forms/Heartbeat.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/Heartbeat.java	Wed Jun 03 21:16:56 2009 +0200
@@ -9,7 +9,7 @@
  * either express or implied. See the License for the specific language
  * governing rights and limitations under the License. The Original Code is
  * Openbravo ERP. The Initial Developer of the Original Code is Openbravo SL All
- * portions are Copyright (C) 2001-2008 Openbravo SL All Rights Reserved.
+ * portions are Copyright (C) 2001-2009 Openbravo SL All Rights Reserved.
  * Contributor(s): ______________________________________.
  */
 
@@ -22,6 +22,7 @@
 import java.util.Calendar;
 import java.util.Date;
 
+import javax.servlet.ServletConfig;
 import javax.servlet.ServletException;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
@@ -35,13 +36,16 @@
 public class Heartbeat extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
+  public void init(ServletConfig config) {
+    super.init(config);
+    boolHist = false;
+  }
+
   @Override
   public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException,
       ServletException {
     final VariablesSecureApp vars = new VariablesSecureApp(request);
 
-    removeFromPageHistory(request);
-
     final org.openbravo.erpCommon.businessUtility.HeartbeatData[] data = org.openbravo.erpCommon.businessUtility.HeartbeatData
         .selectSystemProperties(this);
     if (data.length > 0) {
@@ -72,23 +76,7 @@
       pageError(response);
   }
 
-  /**
-   * Removes the Heartbeat pop-up from the page history so when Openbravo back arrow is pressed,
-   * Heartbeat window has no chance of being shown.
-   * 
-   * @param request
-   *          the HttpServletRequest object
-   */
-  public void removeFromPageHistory(HttpServletRequest request) {
-    final Variables variables = new Variables(request);
-    final String sufix = variables.getCurrentHistoryIndex();
-    variables.removeSessionValue("reqHistory.servlet" + sufix);
-    variables.removeSessionValue("reqHistory.path" + sufix);
-    variables.removeSessionValue("reqHistory.command" + sufix);
-    variables.downCurrentHistoryIndex();
-  }
-
-  void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars)
+  private void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_forms/HeartbeatConfirm.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/HeartbeatConfirm.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2008 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -46,7 +46,7 @@
       pageError(response);
   }
 
-  void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars)
+  private void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars)
       throws IOException, ServletException {
     if (log4j.isDebugEnabled())
       log4j.debug("Output: dataSheet");
--- a/src/org/openbravo/erpCommon/ad_forms/InformeInOut.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/InformeInOut.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -68,7 +68,7 @@
     out.close();
   }
 
-  void printPage(HttpServletResponse response, VariablesSecureApp vars, String strDesde,
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strDesde,
       String strHasta, String strCategoriaProducto) throws IOException, ServletException {
     response.setContentType("application/xls");
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
--- a/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java	Wed Jun 03 21:16:56 2009 +0200
@@ -56,28 +56,28 @@
 
 public class InitialClientSetup extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
-  static final String SALTO_LINEA = "<br>\n";
-  String C_Currency_ID = "";
-  String clientName = "";
-  String AD_User_ID = "";
-  String AD_User_Name = "";
-  String AD_User_U_Name = "";
-  String AD_User_U_ID = "";
-  String AD_Client_ID = "";
-  String C_AcctSchema_ID = "";
-  String client = "1000000";
-  String strError = "";
-  String C_Calendar_ID = null;
-  StringBuffer strSummary = new StringBuffer();
-  AcctSchema m_AcctSchema;
-  boolean m_hasProject;
-  boolean m_hasMCampaign;
-  boolean m_hasSRegion;
-  boolean isOK = true;
-  String AD_Tree_Org_ID = "", AD_Tree_BPartner_ID = "", AD_Tree_Project_ID = "",
+  private static final String SALTO_LINEA = "<br>\n";
+  private String C_Currency_ID = "";
+  private String clientName = "";
+  private String AD_User_ID = "";
+  private String AD_User_Name = "";
+  private String AD_User_U_Name = "";
+  private String AD_User_U_ID = "";
+  private String AD_Client_ID = "";
+  private String C_AcctSchema_ID = "";
+  private String client = "1000000";
+  private String strError = "";
+  private String C_Calendar_ID = null;
+  private StringBuffer strSummary = new StringBuffer();
+  private AcctSchema m_AcctSchema;
+  private boolean m_hasProject;
+  private boolean m_hasMCampaign;
+  private boolean m_hasSRegion;
+  private boolean isOK = true;
+  private String AD_Tree_Org_ID = "", AD_Tree_BPartner_ID = "", AD_Tree_Project_ID = "",
       AD_Tree_SalesRegion_ID = "", AD_Tree_Product_ID = "", AD_Tree_Account_ID = "";
-  static StringBuffer m_info = new StringBuffer();
-  static StringBuffer m_infoOperands = new StringBuffer();
+  private static StringBuffer m_info = new StringBuffer();
+  private static StringBuffer m_infoOperands = new StringBuffer();
   private final String CompiereSys = "N"; // Should NOT be changed
 
   public void doPost(HttpServletRequest request, HttpServletResponse response)
@@ -206,7 +206,7 @@
     out.close();
   }
 
-  public String process(HttpServletRequest request, HttpServletResponse response,
+  private String process(HttpServletRequest request, HttpServletResponse response,
       VariablesSecureApp vars, String strModules) throws IOException {
     if (log4j.isDebugEnabled())
       log4j.debug("InitialOrgSetup - strModules - " + strModules);
@@ -421,14 +421,14 @@
     return m_info.toString();
   }
 
-  public boolean isTrue(String s) {
+  private boolean isTrue(String s) {
     if (s == null || s.equals(""))
       return false;
     else
       return true;
   }
 
-  public boolean createClient(Connection conn, VariablesSecureApp vars, String m_ClientName,
+  private boolean createClient(Connection conn, VariablesSecureApp vars, String m_ClientName,
       String userClient) throws ServletException {
 
     if (log4j.isDebugEnabled())
@@ -657,7 +657,7 @@
     return true;
   }
 
-  public boolean save(Connection conn, VariablesSecureApp vars, String AD_Client_ID,
+  private boolean save(Connection conn, VariablesSecureApp vars, String AD_Client_ID,
       String C_Element_ID, AccountingValueData[] data) throws ServletException {
     String strAccountTree = InitialClientSetupData.selectTree(this, AD_Client_ID);
     for (int i = 0; i < data.length; i++) {
@@ -742,7 +742,7 @@
     return updateOperands(conn, vars, AD_Client_ID, data, C_Element_ID);
   }// save
 
-  public boolean updateOperands(Connection conn, VariablesSecureApp vars, String AD_Client_ID,
+  private boolean updateOperands(Connection conn, VariablesSecureApp vars, String AD_Client_ID,
       AccountingValueData[] data, String C_Element_ID) throws ServletException {
     boolean OK = true;
     for (int i = 0; i < data.length; i++) {
@@ -793,13 +793,13 @@
     return strResult;
   } // operandProcess
 
-  public String nextSeqNo(String oldSeqNo) {
+  private String nextSeqNo(String oldSeqNo) {
     BigDecimal seqNo = new BigDecimal(oldSeqNo);
     String SeqNo = (seqNo.add(new BigDecimal("10"))).toString();
     return SeqNo;
   }
 
-  public AccountingValueData[] parseData(FieldProvider[] data) throws ServletException {
+  private AccountingValueData[] parseData(FieldProvider[] data) throws ServletException {
     AccountingValueData[] result = null;
     Vector<Object> vec = new Vector<Object>();
     for (int i = 0; i < data.length; i++) {
@@ -882,7 +882,7 @@
     return result;
   }// parseData
 
-  public String getC_ElementValue_ID(AccountingValueData[] data, String key) {
+  private String getC_ElementValue_ID(AccountingValueData[] data, String key) {
     if (data == null || data.length == 0)
       return "";
     for (int i = 0; i < data.length; i++) {
@@ -895,7 +895,7 @@
     return "";
   } // getC_ElementValue_ID
 
-  public boolean createAccounting(Connection conn, VariablesSecureApp vars,
+  private boolean createAccounting(Connection conn, VariablesSecureApp vars,
       String newC_Currency_ID, String curName, boolean hasProduct, boolean hasBPartner,
       boolean hasProject, boolean hasMCampaign, boolean hasSRegion, FieldProvider[] avData)
       throws ServletException {
@@ -1190,7 +1190,7 @@
     return true;
   } // createAccounting
 
-  public boolean createDocumentTypes(VariablesSecureApp vars) throws ServletException {
+  private boolean createDocumentTypes(VariablesSecureApp vars) throws ServletException {
     // GL Categories
     String GL_Standard = createGLCategory(vars, "Standard", "M", true);
     String GL_None = createGLCategory(vars, "None", "D", false);
@@ -1431,7 +1431,7 @@
    * @return the error. "" if there is no error
    */
 
-  public String createReferenceData(Connection conn, VariablesSecureApp vars, String strClient,
+  private String createReferenceData(Connection conn, VariablesSecureApp vars, String strClient,
       String strModules, String strCurrency, boolean hasProduct, boolean hasBPartner,
       boolean hasProject, boolean hasMCampaign, boolean hasSRegion, boolean bCreateAccounting)
       throws ServletException, IOException, SQLException, NoConnectionAvailableException {
--- a/src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SL
- * All portions are Copyright (C) 2008 Openbravo SL
+ * All portions are Copyright (C) 2008-2009 Openbravo SL
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -60,24 +60,24 @@
 
 public class InitialOrgSetup extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
-  static final String SALTO_LINEA = "<br>\n";
-  String C_Currency_ID = "";
-  String AD_User_U_Name = "";
-  String AD_User_U_ID = "";
-  String AD_Client_ID = "";
-  String AD_Org_ID = "";
-  String C_AcctSchema_ID = "";
-  String client = "";
-  String strError = "";
-  StringBuffer strSummary = new StringBuffer();
-  AcctSchema m_AcctSchema;
-  boolean m_hasProject;
-  boolean m_hasMCampaign;
-  boolean m_hasSRegion;
-  boolean isOK = true;
-  String AD_Tree_Org_ID = "", AD_Tree_BPartner_ID = "", AD_Tree_Project_ID = "",
+  private static final String SALTO_LINEA = "<br>\n";
+  private String C_Currency_ID = "";
+  private String AD_User_U_Name = "";
+  private String AD_User_U_ID = "";
+  private String AD_Client_ID = "";
+  private String AD_Org_ID = "";
+  private String C_AcctSchema_ID = "";
+  private String client = "";
+  private String strError = "";
+  private StringBuffer strSummary = new StringBuffer();
+  private AcctSchema m_AcctSchema;
+  private boolean m_hasProject;
+  private boolean m_hasMCampaign;
+  private boolean m_hasSRegion;
+  private boolean isOK = true;
+  private String AD_Tree_Org_ID = "", AD_Tree_BPartner_ID = "", AD_Tree_Project_ID = "",
       AD_Tree_SalesRegion_ID = "", AD_Tree_Product_ID = "", AD_Tree_Account_ID = "";
-  static StringBuffer m_info = new StringBuffer();
+  private static StringBuffer m_info = new StringBuffer();
   private final String CompiereSys = "N"; // Should NOT be changed
 
   @Override
@@ -216,7 +216,7 @@
     out.close();
   }
 
-  synchronized public String process(HttpServletRequest request, HttpServletResponse response,
+  private synchronized String process(HttpServletRequest request, HttpServletResponse response,
       VariablesSecureApp vars, String strModules) throws IOException {
     if (log4j.isDebugEnabled())
       log4j.debug("InitialOrgSetup - strModules - " + strModules);
@@ -400,14 +400,14 @@
     return m_info.toString();
   }
 
-  public boolean isTrue(String s) {
+  private boolean isTrue(String s) {
     if (s == null || s.equals(""))
       return false;
     else
       return true;
   }
 
-  public boolean createOrg(HttpServletRequest request, VariablesSecureApp vars, String orgName,
+  private boolean createOrg(HttpServletRequest request, VariablesSecureApp vars, String orgName,
       String strOrgType, String strParentOrg, String userOrg, String strcLocationId)
       throws ServletException {
 
@@ -523,7 +523,7 @@
     return true;
   }
 
-  public boolean save(Connection conn, VariablesSecureApp vars, String C_Element_ID,
+  private boolean save(Connection conn, VariablesSecureApp vars, String C_Element_ID,
       AccountingValueData[] data) throws ServletException {
     final String strAccountTree = InitialOrgSetupData.selectTree(this, AD_Client_ID);
     for (int i = 0; i < data.length; i++) {
@@ -608,7 +608,7 @@
     return updateOperands(conn, vars, data, C_Element_ID);
   }// save
 
-  public boolean updateOperands(Connection conn, VariablesSecureApp vars,
+  private boolean updateOperands(Connection conn, VariablesSecureApp vars,
       AccountingValueData[] data, String C_Element_ID) throws ServletException {
     boolean OK = true;
     for (int i = 0; i < data.length; i++) {
@@ -657,13 +657,13 @@
     return strResult;
   } // operandProcess
 
-  public String nextSeqNo(String oldSeqNo) {
+  private String nextSeqNo(String oldSeqNo) {
     final BigDecimal seqNo = new BigDecimal(oldSeqNo);
     final String SeqNo = (seqNo.add(new BigDecimal("10"))).toString();
     return SeqNo;
   }
 
-  public AccountingValueData[] parseData(FieldProvider[] data) throws ServletException {
+  private AccountingValueData[] parseData(FieldProvider[] data) throws ServletException {
     AccountingValueData[] result = null;
     final Vector<Object> vec = new Vector<Object>();
     for (int i = 0; i < data.length; i++) {
@@ -744,7 +744,7 @@
     return result;
   }// parseData
 
-  public String getC_ElementValue_ID(AccountingValueData[] data, String key) {
+  private String getC_ElementValue_ID(AccountingValueData[] data, String key) {
     if (data == null || data.length == 0)
       return "";
     for (int i = 0; i < data.length; i++)
@@ -753,7 +753,7 @@
     return "";
   } // getC_ElementValue_ID
 
-  public boolean createAccounting(VariablesSecureApp vars, String strOrganization,
+  private boolean createAccounting(VariablesSecureApp vars, String strOrganization,
       String newC_Currency_ID, String curName, boolean hasProduct, boolean hasBPartner,
       boolean hasProject, boolean hasMCampaign, boolean hasSRegion, FieldProvider[] avData)
       throws ServletException {
@@ -1024,7 +1024,7 @@
 
   /**
    * Returns the error. "" if there is no error
-   *
+   * 
    * @param vars
    * @param strOrganization
    * @param strClient
@@ -1037,7 +1037,7 @@
    * @param strCreateAccounting
    * @return the error. "" if there is no error
    */
-  public String createReferenceData(VariablesSecureApp vars, String strOrganization,
+  private String createReferenceData(VariablesSecureApp vars, String strOrganization,
       String strClient, String strModules, boolean hasProduct, boolean hasBPartner,
       boolean hasProject, boolean hasMCampaign, boolean hasSRegion, String strCreateAccounting)
       throws ServletException, IOException {
@@ -1078,7 +1078,7 @@
             if (myFiles[j].getName().endsWith(".xml"))
               myTargetFiles.add(myFiles[j]);
           }
-          myFiles = new File [myTargetFiles.size()];
+          myFiles = new File[myTargetFiles.size()];
           myFiles = myTargetFiles.toArray(myFiles);
           StringBuffer strError = new StringBuffer("");
           for (int j = 0; j < myFiles.length; j++) {
@@ -1129,7 +1129,7 @@
 
   /**
    * Returns the modules {@link FieldProvider} ordered taking into account dependencies
-   *
+   * 
    * @param modules
    * @return
    */
--- a/src/org/openbravo/erpCommon/ad_forms/InvoiceVendorMultiline.java	Wed Jun 03 18:25:31 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/InvoiceVendorMultiline.java	Wed Jun 03 21:16:56 2009 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2006 Openbravo SL 
+ * All portions are Copyright (C) 2001-2009 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -130,7 +130,7 @@
       pageError(response);
   }
 
-  InvoiceVendorMultilineData getEditVariables(VariablesSecureApp vars, String windowId)
+  private InvoiceVendorMultilineData getEditVariables(VariablesSecureApp vars, String windowId)
       throws IOException, ServletException {
     InvoiceVendorMultilineData data = new InvoiceVendorMultilineData();
 
@@ -212,7 +212,7 @@
     return data;
   }
 <