/*
 * Copyright (c) 2004, 2005 The National Association of College and University Business Officers,
 * Cornell University, Trustees of Indiana University, Michigan State University Board of Trustees,
 * Trustees of San Joaquin Delta College, University of Hawai'i, The Arizona Board of Regents on
 * behalf of the University of Arizona, and the r*smart group.
 * 
 * Licensed under the Educational Community License Version 1.0 (the "License"); By obtaining,
 * using and/or copying this Original Work, you agree that you have read, understand, and will
 * comply with the terms and conditions of the Educational Community License.
 * 
 * You may obtain a copy of the License at:
 * 
 * http://kualiproject.org/license.html
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
 * AND NONINFRINGEMENT.
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 */
package org.kuali.module.gl.web;

/**
 * This class contains the constants being used by balance inquiry screens of general ledger
 * @author Bin Gao from Michigan State University
 */
public final class Constant {
    public static final String EMPTY_STRING = "";    
    
    public static final String PENDING_ENTRY_OPTION = "dummyBusinessObject.pendingEntryOption";
    public static final String APPROVED_PENDING_ENTRY = "Approved";
    public static final String ALL_PENDING_ENTRY = "All";
    public static final String NO_PENDING_ENTRY = "No";
    
    public static final String CONSOLIDATION_OPTION = "dummyBusinessObject.consolidationOption";
    public static final String CONSOLIDATION = "Consolidation";
    public static final String DETAIL = "Detail";
    
    public static final String AMOUNT_VIEW_OPTION = "dummyBusinessObject.amountViewOption";
    public static final String MONTHLY = "Monthly";
    public static final String ACCUMULATE = "Accumulate"; 
    
    public static final String COST_SHARE_OPTION = "dummyBusinessObject.costShareOption";
    public static final String COST_SHARE_EXCLUDE = "Exclude";
    public static final String COST_SHARE_INCLUDE  = "Include";    
    public static final String COST_SHARE_VALUE  = "CS"; 
    
    public static final String SUB_ACCOUNT_OPTION = "subAccountNumber";
    
    public static final String DOCUMENT_APPROVED_CODE_APPROVED = "A";
    public static final String DOCUMENT_APPROVED_CODE_PENDING = "N";
    public static final String DOCUMENT_APPROVED_CODE_PROCESSED = "X";    
    
    public static final String BALANCE_TYPE_PE = "PE";
    public static final String BALANCE_TYPE_CB = "CB";
    
    public static final String OBJECT_TYPE_EE = "EE";
    public static final String OBJECT_TYPE_ES = "ES";
    public static final String OBJECT_TYPE_EX = "EX";    
    
    public static final String CONSOLIDATED_SUB_ACCOUNT_NUMBER = "*ALL*";
    public static final String CONSOLIDATED_SUB_OBJECT_CODE = "---";
    public static final String CONSOLIDATED_OBJECT_TYPE_CODE = "--"; 
    public static final String DEFAULT_PROJECT_CODE = "----------";
    
    public static final String GL_LOOKUPABLE_ACCOUNT_BALANCE = "glAccountBalanceLookupable";
    public static final String GL_LOOKUPABLE_ACCOUNT_BALANCE_BY_CONSOLIDATION = "glAccountBalanceByConsolidationLookupable";
    public static final String GL_LOOKUPABLE_ACCOUNT_BALANCE_BY_LEVEL = "glAccountBalanceByLevelLookupable";
    public static final String GL_LOOKUPABLE_ACCOUNT_BALANCE_BY_OBJECT = "glAccountBalanceByObjectLookupable";    
    public static final String GL_LOOKUPABLE_BALANCE = "glBalanceLookupable";
    public static final String GL_LOOKUPABLE_CASH_BALANCE = "glCashBalanceLookupable";
    public static final String GL_LOOKUPABLE_ENCUMBRANCE = "glEncumbranceLookupable"; 
    public static final String GL_LOOKUPABLE_ENTRY = "glEntryLookupable";
    public static final String GL_LOOKUPABLE_PENDING_ENTRY = "glPendingEntryLookupable";
    public static final String GL_LOOKUPABLE_ACCOUNT_BALANCE_PENDING_ENTRY = "glAccountBalancePendingEntryLookupable";
    
    public static final String RETURN_LOCATION_VALUE = "portal.do";
    public static final String START_CHAR_OF_REPORTING_SORT_CODE_B = "B"; 
    public static final String LOOKUP_BUTTON_VALUE = "LOOK UP";    
    
    public static final String TOTAL_ACCOUNT_BALANCE_INCOME = "Income";
    public static final String TOTAL_ACCOUNT_BALANCE_EXPENSE_GROSS = "Expense(Gross)";
    public static final String TOTAL_ACCOUNT_BALANCE_EXPENSE_IN = "Expense(Net Transfer In)";
    public static final String TOTAL_ACCOUNT_BALANCE_AVAILABLE = "Avaliable Balance";
    
    public static final String MONTH1  = "01";
    public static final String MONTH2  = "02";
    public static final String MONTH3  = "03";
    public static final String MONTH4  = "04";
    public static final String MONTH5  = "05";
    public static final String MONTH6  = "06";
    public static final String MONTH7  = "07";
    public static final String MONTH8  = "08";
    public static final String MONTH9  = "09";
    public static final String MONTH10 = "10";
    public static final String MONTH11 = "11";
    public static final String MONTH12 = "12";
    public static final String MONTH13 = "13";
    public static final String ANNUAL_BALNCE = "AB";
    public static final String BEGINNING_BALNCE = "BB"; 
    public static final String CG_BEGINNING_BALNCE = "CB"; 
}
@@ -3192,19 +3192,21 @@
 CODE = %22
----
+*ALL*
 %22;%0A    p
@@ -3264,18 +3264,21 @@
 CODE = %22
---
+*ALL*
 %22; %0A    

Make consolidated sub accounts, sub objects and object types say *All*