001: /*
002: * Copyright 2006-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.opensource.org/licenses/ecl1.php
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: package org.kuali.module.financial.rules;
017:
018: import org.kuali.kfs.ParameterKeyConstants;
019:
020: /**
021: * Holds constants for disbursement voucher and payee documents.
022: */
023: public interface DisbursementVoucherRuleConstants extends
024: ParameterKeyConstants {
025:
026: // payment methods
027: public static String PAYMENT_METHOD_CHECK = "P";
028: public static String PAYMENT_METHOD_WIRE = "W";
029: public static String PAYMENT_METHOD_DRAFT = "F";
030:
031: // payee types
032: public static final String DV_PAYEE_TYPE_PAYEE = "P";
033: public static final String DV_PAYEE_TYPE_EMPLOYEE = "E";
034: public static final String DV_PAYEE_TYPE_VENDOR = "V";
035:
036: // ownership type
037: public static String OWNERSHIP_TYPE_CORPORATION = "C";
038: public static String OWNERSHIP_TYPE_GOVERNMENT = "G";
039: public static String OWNERSHIP_TYPE_MEDICAL = "H";
040: public static String OWNERSHIP_TYPE_INDIVIDUAL = "I";
041: public static String OWNERSHIP_TYPE_LEGAL_SERVICES = "L";
042: public static String OWNERSHIP_TYPE_PARTNERSHIP = "P";
043: public static String OWNERSHIP_TYPE_NONPROFIT_TRUST = "T";
044:
045: // document location
046: public static String NO_DOCUMENTATION_LOCATION = "N";
047:
048: public static class DocumentStatusCodes {
049: public static String APPROVED = "A";
050: public static String EXTRACTED = "E";
051: }
052:
053: public static class PaymentReasonCodes {
054: public static String PRIZE = "A";
055: public static String OUT_OF_POCKET = "B";
056: public static String RESEARCH_PARTICIPANT = "C";
057: public static String DECEDENT = "D";
058: public static String SERVICES = "E";
059: public static String REFUND = "F";
060: public static String UTILITIES = "G";
061: public static String MEDICAL = "H";
062: public static String REVOLVING_FUND = "K";
063: public static String CONTRACTUAL_AGREEMENTS = "L";
064: public static String MOVING = "M";
065: public static String TRAVEL_NONEMPLOYEE = "N";
066: public static String TRAVEL_PREPAID = "P";
067: public static String ROYALTIES = "R";
068: public static String RENTAL_PAYMENT = "T";
069: public static String SUBSCRIPTIONS = "W";
070: public static String TRAVEL_HONORARIUM = "X";
071: public static String CLAIMS = "Z";
072: }
073:
074: public static class DvPdpExtractGroup {
075: public static String DV_PDP_ORG_CODE = "PRE_DISBURSEMENT_EXTRACT_ORGANIZATION";
076: public static String DV_PDP_SBUNT_CODE = "PRE_DISBURSEMENT_EXTRACT_SUB_UNIT";
077: public static String DV_PDP_USER_ID = "PRE_DISBURSEMENT_EXTRACT_USER";
078: }
079:
080: // system parameter parameter constants
081: public static final String OBJECT_TYPE_GLOBAL_RESTRICTION_PARM_NM = "OBJECT_TYPES";
082: public static final String OBJECT_LEVEL_GLOBAL_RESTRICTION_PARM_NM = "OBJECT_LEVELS";
083: public static final String OBJECT_SUB_TYPE_GLOBAL_RESTRICTION_PARM_NM = "OBJECT_SUB_TYPES";
084: public static final String SUB_FUND_GLOBAL_RESTRICTION_PARM_NM = "SUB_FUND_GROUPS";
085: public static final String FUNCTION_CODE_GLOBAL_RESTRICTION_PARM_NM = "HIGHER_ED_FUNCTIONS";
086:
087: public static final String VALID_DOC_LOC_BY_PAYMENT_REASON_PARM = "VALID_DOCUMENTATION_LOCATIONS_BY_PAYMENT_REASON";
088: public static final String VALID_DOC_LOC_BY_CAMPUS_PARM = "VALID_DOCUMENTATION_LOCATIONS_BY_CAMPUS";
089: public static final String VALID_OBJ_LEVEL_BY_PAYMENT_REASON_PARM = "VALID_OBJECT_LEVELS_BY_PAYMENT_REASON";
090: public static final String VALID_OBJ_CODE_BY_PAYMENT_REASON_PARM = "VALID_OBJECT_CODES_BY_PAYMENT_REASON";
091: public static final String VALID_OBJECT_SUB_TYPES_BY_SUB_FUND_GROUP_PARM = "VALID_OBJECT_SUB_TYPES_BY_SUB_FUND_GROUP";
092: public static final String VALID_PAYMENT_REASONS_BY_PAYEE_TYPE_PARM = "VALID_PAYMENT_REASONS_BY_PAYEE_TYPE";
093: public static final String VALID_SUB_FUND_GROUPS_BY_PAYMENT_REASON_PARM = "VALID_SUB_FUND_GROUPS_BY_PAYMENT_REASON";
094:
095: public static final String INVALID_DOC_LOC_BY_PAYMENT_REASON_PARM = "INVALID_DOCUMENTATION_LOCATIONS_BY_PAYMENT_REASON";
096: public static final String INVALID_DOC_LOC_BY_CAMPUS_PARM = "INVALID_DOCUMENTATION_LOCATIONS_BY_CAMPUS";
097: public static final String INVALID_OBJ_LEVEL_BY_PAYMENT_REASON_PARM = "INVALID_OBJECT_LEVELS_BY_PAYMENT_REASON";
098: public static final String INVALID_OBJ_CODE_BY_PAYMENT_REASON_PARM = "INVALID_OBJECT_CODES_BY_PAYMENT_REASON";
099: public static final String INVALID_OBJECT_SUB_TYPES_BY_SUB_FUND_GROUP_PARM = "INVALID_OBJECT_SUB_TYPES_BY_SUB_FUND_GROUP";
100: public static final String INVALID_PAYMENT_REASONS_BY_PAYEE_TYPE_PARM = "INVALID_PAYMENT_REASONS_BY_PAYEE_TYPE";
101: public static final String INVALID_SUB_FUND_GROUPS_BY_PAYMENT_REASON_PARM = "INVALID_SUB_FUND_GROUPS_BY_PAYMENT_REASON";
102:
103: public static final String FEDERAL_TAX_PARM_PREFIX = "NON_RESIDENT_ALIEN_TAX_FEDERAL_";
104: public static final String STATE_TAX_PARM_PREFIX = "NON_RESIDENT_ALIEN_TAX_STATE_";
105: public static final String TAX_PARM_ACCOUNT_SUFFIX = "ACCOUNT";
106: public static final String TAX_PARM_CHART_SUFFIX = "CHART";
107: public static final String TAX_PARM_OBJECT_BY_INCOME_CLASS_SUFFIX = "OBJECT_CODE_BY_INCOME_CLASS";
108: public static final String ALIEN_INDICATOR_CHECKED_PARM_NM = "NON_RESIDENT_ALIEN_DOCUMENTATION_LOCATIONS";
109: public static final String ALIEN_PAYMENT_REASONS_PARM_NM = "NON_RESIDENT_ALIEN_PAYMENT_REASONS";
110: public static final String TRAVEL_PER_DIEM_MESSAGE_PARM_NM = "TRAVEL_PER_DIEM_LINK_PAGE_MESSAGE";
111: public static final String DEFAULT_DOC_LOCATION_PARM_NM = "DEFAULT_DOCUMENTATION_LOCATION";
112: public static final String ALLOW_OBJECT_CODE_EDITS = "ALLOW_ENROUTE_EDIT_OBJECT_CODES_IND";
113: public static final String TAX_DOCUMENTATION_LOCATION_CODE_PARM_NM = "TAX_DOCUMENTATION_LOCATION_CODE";
114: public static final String W9_OWNERSHIP_TYPES_PARM_NM = "W9_OWNERSHIP_TYPES";
115: public static final String NONEMPLOYEE_TRAVEL_PAY_REASONS_PARM_NM = "NONEMPLOYEE_TRAVEL_PAYMENT_REASONS";
116: public static final String NONEMPLOYEE_TRAVEL_ACTUAL_MILEAGE_LIMIT_PARM_NM = "NONEMPLOYEE_TRAVEL_ACTUAL_MILEAGE_LIMIT_IND";
117: public static final String PREPAID_TRAVEL_PAY_REASONS_PARM_NM = "PREPAID_TRAVEL_PAYMENT_REASONS";
118: public static final String REVOLVING_FUND_PAY_REASONS_PARM_NM = "REVOLVING_FUND_PAYMENT_REASONS";
119: public static final String RESEARCH_PAY_REASONS_PARM_NM = "RESEARCH_PAYMENT_REASONS";
120: public static final String RESEARCH_CHECK_LIMIT_AMOUNT_PARM_NM = "RESEARCH_NON_VENDOR_PAY_LIMIT_AMOUNT";
121: public static final String PERFORM_PREPAID_EMPL_PARM_NM = "CHECK_PREPAID_ACTIVE_EMPLOYEE_IND";
122: public static final String CHECK_EMPLOYEE_PAID_OUTSIDE_PAYROLL_PARM_NM = "CHECK_EMPLOYEE_PAID_OUTSIDE_PAYROLL_IND";
123: public static final String MOVING_PAY_REASONS_PARM_NM = "MOVING_PAYMENT_REASONS";
124:
125: public static String TAX_TYPE_SSN = "1";
126: public static String TAX_TYPE_FEIN = "0";
127:
128: public static String NRA_TAX_INCOME_CLASS_FELLOWSHIP = "F";
129: public static String NRA_TAX_INCOME_CLASS_INDEPENDENT_CONTRACTOR = "I";
130: public static String NRA_TAX_INCOME_CLASS_ROYALTIES = "R";
131: public static String NRA_TAX_INCOME_CLASS_NON_REPORTABLE = "N";
132:
133: public static String FEDERAL_TAX_TYPE_CODE = "F";
134: public static String STATE_TAX_TYPE_CODE = "S";
135:
136: public static String DOCUMENT_TYPE_CHECKACH = "DVCA";
137: public static String DOCUMENT_TYPE_WTFD = "DVWF";
138:
139: }
|