001/* 002 * Copyright 2007 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.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/ecl2.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 */ 016package org.kuali.ole.sys; 017 018import java.util.ArrayList; 019import java.util.Collections; 020import java.util.HashMap; 021import java.util.List; 022import java.util.Map; 023 024import org.apache.commons.lang.StringUtils; 025import org.kuali.ole.gl.businessobject.OriginEntryFull; 026import org.kuali.ole.module.purap.PurapConstants; 027import org.kuali.ole.sys.context.SpringContext; 028import org.kuali.rice.core.api.util.type.KualiDecimal; 029import org.kuali.rice.core.api.util.type.KualiInteger; 030import org.kuali.rice.kew.api.KewApiConstants; 031import org.kuali.rice.kns.service.DataDictionaryService; 032import org.kuali.rice.krad.util.KRADConstants; 033 034/** 035 * This class is used to define global constants. 036 */ 037public class OLEConstants { 038 private static final long serialVersionUID = 2882277719647128949L; 039 private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(OLEConstants.class); 040 public static final String APPLICATION_NAMESPACE_CODE = "OLE"; 041 042 public static final String KFS_CORE_SERVICE_NAMESPACE = "http://kfs.kuali.org/core/v5_0"; 043 044 public static final String KFS_CORE_DISTRIBUTED_CACHE_MANAGER = "kfs.core.DistributedCacheManager"; 045 public static Map<String, Boolean> PO_NOTE_MAP = new HashMap<String, Boolean>(); 046 public static final String MULTIPLE_ITEM_LOC = "Multiple"; 047 public static final int BIG_DECIMAL_SCALE = 2; 048 @Deprecated 049 public static class ParameterNamespaces { 050 public static final String OLE = "OLE-SYS"; 051 public static final String CHART = "OLE-COA"; 052 public static final String FINANCIAL = "OLE-FP"; 053 public static final String GL = "OLE-GL"; 054 public static final String PDP = "OLE-PDP"; 055 public static final String KNS = KRADConstants.KNS_NAMESPACE; 056 } 057 058 public static class CoreModuleNamespaces { 059 public static final String OLE = "OLE-SYS"; 060 public static final String CHART = "OLE-COA"; 061 public static final String FINANCIAL = "OLE-FP"; 062 public static final String GL = "OLE-GL"; 063 public static final String VENDOR = "OLE-VND"; 064 public static final String PDP = "OLE-PDP"; 065 public static final String KNS = KRADConstants.KNS_NAMESPACE; 066 public static final String ACCESS_SECURITY = "OLE-SEC"; 067 public static final String SELECT = "OLE-SELECT"; 068 } 069 070 // for ease of reference, a list of the optional modules delivered with and supported by the KFS project 071 public static final class OptionalModuleNamespaces { 072 public static final String PURCHASING_ACCOUNTS_PAYABLE = "OLE-PURAP"; 073 } 074 075 public static class DocumentTypeAttributes { 076 public static final String INDICATOR_ATTRIBUTE_TRUE_VALUE = "Y"; 077 078 public static final String TRANSACTION_SCRUBBER_OFFSET_INDICATOR_ATTRIBUTE_KEY = "TRANSACTION_SCRUBBER_OFFSET_GENERATION"; 079 public static final String ACCOUNTING_DOCUMENT_TYPE_NAME = "OLE_ACCT"; 080 } 081 082 // special user used in the post-processor 083 //TODO: eventually this should be removed and the system user should be pulled from a parameter 084 // right now, you HAVE to make sure that a 'ole' user exists in your system, either in the DB 085 // or in an external system such as LDAP if implemented 086 public static final String SYSTEM_USER = "SYSTEM_USER"; 087 088 public static final String BATCH_FAILURE_ATCH_NAME_BIB="Failure Bib File"; 089 public static final String BATCH_FAILURE_ATCH_NAME_EDI="Failure Edi File"; 090 public static final String BATCH_FAILURE_EXTRA_ATCH_NAME_BIB="Extra Bib Records File"; 091 public static final String BATCH_FAILURE_EXTRA_ATCH_NAME_EDI="Extra Edi Records File"; 092 public static final String BATCH_FAILURE_BIB_FILE_ETN="_bib_err.xml"; 093 public static final String BATCH_FAILURE_EDI_FILE_ETN="_edi_err.xml"; 094 public static final String BATCH_FAILURE_FILE_MRK="_err.mrk"; 095 public static final String BATCH_REQ_ID_FILE="_reqId.txt"; 096 public static final String BATCH_FAILURE_CONTENT_TYPE="text/xml"; 097 public static final String ACCOUNT_MAINTENANCE_DOCUMENT_TYPE_DD_KEY = "AccountMaintenanceDocument"; 098 public static final String ENVIRONMENT_KEY = "environment"; 099 public static final String VERSION_KEY = "version"; 100 public static final String LOG4J_SETTINGS_FILE_KEY = "log4j.settings.file"; 101 public static final String LOGS_DIRECTORY_KEY = "logs.directory"; 102 public static final String LOG4J_RELOAD_MINUTES_KEY = "log4j.reload.minutes"; 103 public static final String LOG4J_OVERRIDE_KEY = "ole.fs.log4j.override"; 104 public static final String APPLICATION_URL_KEY = "application.url"; 105 public static final String ATTACHMENTS_DIRECTORY_KEY = "attachments.directory"; 106 public static final String ATTACHMENTS_PENDING_DIRECTORY_KEY = "attachments.pending.directory"; 107 public static final String STAGING_DIRECTORY_KEY = "staging.directory"; 108 public static final String TEMP_DIRECTORY_KEY = "temp.directory"; 109 public static final String EXTERNALIZABLE_HELP_URL_KEY = "externalizable.help.url"; 110 public static final String EXTERNALIZABLE_IMAGES_URL_KEY = "externalizable.images.url"; 111 public static final String EXTERNALIZABLE_XML_URL_KEY = "externalizable.xml.url"; 112 public static final String RICE_EXTERNALIZABLE_IMAGES_URL_KEY = "kr.externalizable.images.url"; 113 public static final String REPORTS_DIRECTORY_KEY = "reports.directory"; 114 public static final String WORKFLOW_URL_KEY = "workflow.url"; 115 public static final String PROD_ENVIRONMENT_CODE_KEY = "production.environment.code"; 116 public static final String USE_STANDALONE_WORKFLOW = "rice.use.standalone.workflow"; 117 public static final String BATCH_FILE_LOOKUP_ROOT_DIRECTORIES = "batch.file.lookup.root.directories"; 118 public static final String BATCH_UPLOAD_HELP_SYS_PARAM_NAME = "BATCH_UPLOAD_HELP_URL"; 119 public static final String BATCH_ISBN_DUPLICATE_FOUND="ISBN_DUP_FOUND"; 120 public static final String BATCH_VNO_DUPLICATE_FOUND="VEN_NO_DUP_FOUND"; 121 public static final String BATCH_LOAD_FAILD_FOUND="LOAD_FAILD_FOUND"; 122 public static final String BATCH_TITLE_FAILD_FOUND="TITLE_NOT_FOUND"; 123 public static final String BATCH_VNO_NOT_FOUND="VEN_NO_NOT_FOUND"; 124 public static final String BAD_BFN_NO_FOUND="BAD_BFN_NUMBER_FOUND"; 125 public static final String BAD_CONTROLL_LINE_FOUND="BAD_CONTROL_LINE_FOUND"; 126 public static final String APO_RULE_FAILED="APO_RULE_FAILED"; 127 public static final String BATCH_FAILURE_ATCH_NAME="Failure Mrk File"; 128 public static final String DOWNLOAD_CUSTM_BO_ATTACHMENT_METHOD="downloadCustomBOAttachment"; 129 //public static final String LICENSE_WEB_SERVICE_URL="license.web.service.url"; 130 public static final String EXCEPTION="EXCEPTION"; 131 public static final String FINAL="FINAL"; 132 public static final String REQ_IDENTIFIER="requisitionIdentifier"; 133 public static final String PUR_DOC_IDENTIFIER="purapDocumentIdentifier"; 134 public static final String LOCATION_WEB_SERVICE_URL = "location.web.service.url"; 135 public static final String PATRON_WEB_SERVICE_URL = "patron.web.service.url"; 136 public static final String PATRON_SERVICE_CLASSNAME = "org.kuali.ole.select.document.service.OlePatronWebService"; 137 public static final String PATRON_SERVICE_NAME = "olePatronWebService"; 138 139 public static final String DATABASE_REPOSITORY_FILES_LIST_NAME = "databaseRepositoryFilePaths"; 140 public static final String JOB_NAMES_LIST_NAME = "jobNames"; 141 public static final String TRIGGER_NAMES_LIST_NAME = "triggerNames"; 142 143 public static final String LOOKUP_RESULTS_LIMIT_URL_KEY = "RESULTS_LIMIT"; 144 public static final String DOCHANDLER_DO_URL = "/DocHandler.do?docId="; 145 public static final String DOCHANDLER_URL_CHUNK = "&command=displayDocSearchView"; 146 147 public static final String ACCOUNT_NUMBER_PROPERTY_NAME = "accountNumber"; 148 public static final String MODULE_ID_PROPERTY_NAME = "moduleId"; 149 public static final String MODULE_CODE_PROPERTY_NAME = "moduleCode"; 150 public static final String ACCOUNT_STATUS_CLOSED = "Y"; 151 public static final String ACCOUNTING_PERIOD_ACTIVE_INDICATOR_FIELD = "active"; 152 public static final String ACTION_FORM_UTIL_MAP_METHOD_PARM_DELIMITER = "~"; 153 public static final String ADD_LINE_METHOD = "addLine"; 154 public static final String ADD_PREFIX = "add"; 155 public static final String ACTIVE_INDICATOR = "Y"; 156 public static final String AGGREGATE_ENCUMBRANCE_BALANCE_TYPE_CODE = "EN"; 157 public static final String AMOUNT_PROPERTY_NAME = "amount"; 158 public static final String APPROVE_METHOD = "approve"; 159 public static final String NON_ACTIVE_INDICATOR = "N"; 160 public static final String BLANK_SPACE = " "; 161 public static final String BACK_LOCATION = "backLocation"; 162 public static final String BACKDOOR_PARAMETER = "backdoorId"; 163 public static final String BALANCE_INQUIRY_REPORT_MENU_ACTION = "balanceInquiryReportMenu.do"; 164 public static final String ASSET_INQUIRY_MENU_ACTION = "camsAssetPayment.do"; 165 public static final String BALANCE_TYPE_PROPERTY_NAME = "balanceTypeCode"; 166 public static final String BALANCE_TYPE_CURRENT_BUDGET = "CB"; 167 public static final String BALANCE_TYPE_BASE_BUDGET = "BB"; 168 public static final String BALANCE_TYPE_MONTHLY_BUDGET = "MB"; 169 public static final String BALANCE_TYPE_EXTERNAL_ENCUMBRANCE = "EX"; 170 public static final String BALANCE_TYPE_INTERNAL_ENCUMBRANCE = "IE"; 171 public static final String BALANCE_TYPE_COST_SHARE_ENCUMBRANCE = "CE"; 172 public static final String BALANCE_TYPE_ACTUAL = "AC"; 173 public static final String BALANCE_TYPE_AUDIT_TRAIL = "NB"; 174 public static final String BALANCE_TYPE_PRE_ENCUMBRANCE = "PE"; 175 public static final String BLANKET_APPROVE_METHOD = "blanketApprove"; 176 public static final String BUSINESS_OBJECT_CLASS_ATTRIBUTE = "businessObjectClassName"; 177 public static final String CALLING_METHOD = "caller"; 178 public static final String CASH_MANAGEMENT_DOCUMENT_ACTION = "financialCashManagement.do"; 179 public static final String CHANGE_JOURNAL_VOUCHER_BALANCE_TYPE_METHOD = "changeBalanceType"; 180 public static final String CHART_OF_ACCOUNTS_CODE_PROPERTY_NAME = "chartOfAccountsCode"; 181 public static final String CONFIRMATION_QUESTION = "confirmationQuestion"; 182 public static final String CONSOLIDATED_SUBACCOUNT = "*ALL*"; 183 public static final String CONVERSION_FIELDS_PARAMETER = "conversionFields"; 184 public static final String LOOKUP_READ_ONLY_FIELDS = "readOnlyFields"; 185 public static final String LOOKUP_AUTO_SEARCH = "autoSearch"; 186 public static final String OBJECT_SUB_TYPES_DIFFERENT_QUESTION = "Object Subtypes different Question"; 187 188 public static final String CREDIT_AMOUNT_PROPERTY_NAME = "newSourceLineCredit"; 189 public static final String DEBIT_AMOUNT_PROPERTY_NAME = "newSourceLineDebit"; 190 public static final String DELETE_LINE_METHOD = "deleteLine"; 191 public static final String DICTIONARY_BO_NAME = "dictionaryBusinessObjectName"; 192 public static final String DISBURSEMENT_VOUCHER_PDP_EXTRACT_FILE_NAME = "extr_fr_disb_voucher"; 193 public static final String DISENCUMBRANCE = "Disencumbrance"; 194 public static final String DISPATCH_REQUEST_PARAMETER = "methodToCall"; 195 public static final String DOC_FORM_KEY = "docFormKey"; 196 public static final String FORM_KEY = "formKey"; 197 public static final String BALANCE_INQUIRY_REPORT_MENU_CALLER_DOC_FORM_KEY = "balanceInquiryReportMenuCallerDocFormKey"; 198 public static final String ASSET_INQUIRY_CALLER_DOC_FORM_KEY = "assetInquiryCallerDocFormKey"; 199 public static final String DOCUMENT_CANCEL_QUESTION = "DocCancel"; 200 public static final String DOCUMENT_DELETE_QUESTION = "DocDelete"; 201 public static final String DOCUMENT_DISAPPROVE_QUESTION = "DocDisapprove"; 202 public static final String DOCUMENT_HEADER_ID = "documentHeaderId"; 203 public static final String DOCUMENT_HEADER_DOCUMENT_STATUS_CODE_PROPERTY_NAME = "financialDocumentStatusCode"; 204 public static final String NOTE_TEXT_PROPERTY_NAME = "noteText"; 205 public static final String DOCUMENT_HEADER_PROPERTY_NAME = "documentHeader"; 206 public static final String DOCUMENT_SAVE_BEFORE_CLOSE_QUESTION = "DocSaveBeforeClose"; 207 public static final String EMPLOYEE_ACTIVE_STATUS = "A"; 208 public static final String EXISTING_SOURCE_ACCT_LINE_PROPERTY_NAME = "sourceAccountingLine"; 209 public static final String EXISTING_TARGET_ACCT_LINE_PROPERTY_NAME = "targetAccountingLine"; 210 public static final String SOURCE_ACCT_LINE_TYPE_CODE = "F"; // F = From, the label for this on most documents 211 public static final String TARGET_ACCT_LINE_TYPE_CODE = "T"; // T = To, the label for this on most documents 212 public static final String EXTRA_BUTTON_SOURCE = "extraButtonSource"; 213 public static final String EXTRA_BUTTON_PARAMS = "extraButtonParams"; 214 public static final String NEW_DOCUMENT_NOTE_PROPERTY_NAME = "newDocumentNote"; 215 public static final String NEW_AD_HOC_ROUTE_PERSON_PROPERTY_NAME = "newAdHocRoutePerson"; 216 public static final String NEW_AD_HOC_ROUTE_WORKGROUP_PROPERTY_NAME = "newAdHocRouteWorkgroup"; 217 public static final String EXISTING_AD_HOC_ROUTE_PERSON_PROPERTY_NAME = "adHocRoutePerson"; 218 public static final String EXISTING_AD_HOC_ROUTE_WORKGROUP_PROPERTY_NAME = "adHocRouteWorkgroup"; 219 public static final String NEW_SOURCE_ACCT_LINE_PROPERTY_NAME = "newSourceLine"; 220 public static final String NEW_TARGET_ACCT_LINES_PROPERTY_NAME = "newTargetLines"; 221 public static final String NEW_TARGET_ACCT_LINE_PROPERTY_NAME = "newTargetLine"; 222 public static final String DOCUMENT_PROPERTY_NAME = "document"; 223 public static final String DOCUMENT_TYPE_NAME = "docTypeName"; 224 public static final String EDIT_PREFIX = "edit"; 225 public static final String DASH = "-"; 226 public static final String EMPTY_STRING = ""; 227 public static final String ENCUMBRANCE = "Encumbrance"; 228 public static final String EXPENSE = "Expense"; 229 public static final String FIELD_CONVERSION_PAIR_SEPERATOR = ":"; 230 public static final String FIELD_CONVERSIONS_SEPERATOR = ","; 231 public static final String REFERENCES_TO_REFRESH_SEPARATOR = ","; 232 public static final String FIELD_CONVERSION_PREFIX_PARAMETER = "fieldConversionPrefix"; 233 public static final String FINANCIAL_OBJECT_CODE_PROPERTY_NAME = "financialObjectCode"; 234 public static final String FINANCIAL_OBJECT_LEVEL_CODE_PROPERTY_NAME = "financialObjectLevelCode"; 235 public static final String FINANCIAL_SUB_OBJECT_CODE_PROPERTY_NAME = "financialSubObjectCode"; 236 public static final String FISCAL_CHART_NAME = "fiscalChartOfAccountsCode"; 237 public static final String FISCAL_ORG_NAME = "fiscalOrganizationCode"; 238 public static final String FROM = "From"; 239 public static final String GENERIC_FIELD_NAME = "Field"; 240 public static final String GENERIC_CODE_PROPERTY_NAME = "code"; 241 public static final String GL_BALANCE_INQUIRY_FLAG = "inquiryFlag"; 242 public static final String GL_ACCOUNT_BALANCE_BY_CONSOLIDATION_LOOKUP_ACTION = "glAccountBalanceByConsolidationLookup.do"; 243 public static final String AR_CUSTOMER_AGING_REPORT_LOOKUP_ACTION = "arCustomerAgingReportLookup.do"; 244 public static final String GL_BALANCE_INQUIRY_ACTION = "glBalanceInquiry.do"; 245 public static final String GL_MODIFIED_INQUIRY_ACTION = "glModifiedInquiry.do"; 246 public static final String GL_PE_OFFSET_STRING = "TP Generated Offset"; 247 public static final String SUB_OBJECT_CODE_PROPERTY_NAME = "subObjectCode"; 248 public static final String SUB_ACCOUNT_PROPERTY_NAME = "subAccount"; 249 public static final String ACCOUNT_PROPERTY_NAME = "account"; 250 public static final String CHART_PROPERTY_NAME = "chart"; 251 public static final String PROJECT_PROPERTY_NAME = "project"; 252 public static final String REF_ORIGIN_PROPERTY_NAME = "referenceOrigin"; 253 public static final String UNIVERSITY_FISCAL_YEAR_PROPERTY_NAME = "universityFiscalYear"; 254 public static final String UNIVERSITY_FISCAL_PERIOD_CODE_PROPERTY_NAME = "universityFiscalPeriodCode"; 255 public static final String FINANCIAL_BALANCE_TYPE_CODE_PROPERTY_NAME = "financialBalanceTypeCode"; 256 public static final String ACCOUNT_SUFFICIENT_FUNDS_CODE_PROPERTY_NAME = "accountSufficientFundsCode"; 257 public static final String CURRENT_BUDGET_BALANCE_AMOUNT_PROPERTY_NAME = "currentBudgetBalanceAmount"; 258 public static final String ACCOUNT_ENCUMBRANCE_AMOUNT_PROPERTY_NAME = "accountEncumbranceAmount"; 259 public static final String TRANSACTION_DEBIT_CREDIT_CODE = "transactionDebitCreditCode"; 260 public static final String TRANSACTION_LEDGER_ENTRY_AMOUNT = "transactionLedgerEntryAmount"; 261 public static final String ACCOUNT_SUFFICIENT_FUNDS_FINANCIAL_OBJECT_CODE_PROPERTY_NAME = "acctSufficientFundsFinObjCd"; 262 public static final String FINANCIAL_OBJECT_TYPE_CODE = "financialObjectTypeCode"; 263 public static final String FINANCIAL_DOCUMENT_TYPE_CODE = "financialDocumentTypeCode"; 264 public static final String ORGANIZATION_CODE_PROPERTY_NAME = "organizationCode"; 265 public static final String ORIGIN_CODE_KUALI = "01"; 266 public static final String TRANSFER_FUNDS = "TF"; 267 public static final String[] ENCUMBRANCE_BALANCE_TYPE = new String[] { BALANCE_TYPE_EXTERNAL_ENCUMBRANCE, BALANCE_TYPE_INTERNAL_ENCUMBRANCE, BALANCE_TYPE_PRE_ENCUMBRANCE }; 268 public static final String STAND_IN_BUSINESS_OBJECT_FOR_ATTRIBUTES = "GenericAttributes"; 269 public static final String EMPLOYEE_FUNDING_INQUIRY_ACTION = "employeeFundingInquiry.do"; 270 public static final String OVERRIDE_KEYS = "overrideKeys"; 271 public static final String PERCENTAGE_SIGN = "%"; 272 public static final String RICE_PATH_PREFIX = "kr/"; 273 public static final String USE_CONTINUATION_BANK_QUESTION = "UseContinuationBankQuestion"; 274 public static final String NEW_WINDOW_URL_TARGET = "_blank"; 275 public static final String AND = "and"; 276 public static final String COMMA = ","; 277 public static final String PERFORMANCE_BALANCE_INQUIRY_FOR_METHOD = "performBalanceInquiryFor"; 278 public static final String INSERT_METHOD = "insert"; 279 public static final String SOURCE_ACCOUNTING_LINES_GROUP_NAME = "source"; 280 public static final String TARGET_ACCOUNTING_LINES_GROUP_NAME = "target"; 281 public static final String SUB_ACCOUNT_EDIT_CG_ICR_SECTION_ID = "Edit CG ICR"; 282 public static final String INITIATE_LICENSE_REQUEST = "ILR"; 283 public static final String OLE_WEB_SERVICE_PROVIDER = "oleWebServiceProvider"; 284 public static final String OLE_NMSPC="OLE-SYS"; 285 public static final String OLE_CMPNT="OLE"; 286 public static final String APPL_ID="KUALI"; 287 288 public static final String SCRIPT_CONFIGURATION_FILES_LIST_NAME = "scriptConfigurationFilePaths"; 289 /** 290 * This value denotes that a max length has not been defined for a given lookup results field 291 */ 292 public static final int LOOKUP_RESULT_FIELD_MAX_LENGTH_NOT_DEFINED = -1; 293 294 /** 295 * The number of levels BusinessObjectDictionaryServiceImpl will recurse. If this number is high, it may lead to serious 296 * performance problems 297 */ 298 public static final int BUSINESS_OBJECT_DICTIONARY_SERVICE_PERFORM_FORCE_UPPERCASE_RECURSION_MAX_DEPTH = 3; 299 300 301 /** 302 * When checkboxes are rendered on the form, a hidden field will also be rendered corresponding to each checkbox with the 303 * checkbox's name suffixed with the value of this constant. No real fields should have names that contain this suffix, since 304 * this may lead to undesired results. 305 */ 306 public static final String CHECKBOX_PRESENT_ON_FORM_ANNOTATION = "{CheckboxPresentOnFormAnnotation}"; 307 308 public static class OrgReversion { 309 public static final String VALID_PREFIX = "EXTENDED_DEFINITIONS_INCLUDE_"; 310 public static final String INVALID_PREFIX = "EXTENDED_DEFINITIONS_EXCLUDE_"; 311 public static final String OBJECT_CONSOL_PARAM_SUFFIX = "OBJECT_CONSOLIDATIONS_BY_ORGANIZATION_REVERSION_CATEGORY"; 312 public static final String OBJECT_LEVEL_PARAM_SUFFIX = "OBJECT_LEVELS_BY_ORGANIZATION_REVERSION_CATEGORY"; 313 public static final String OBJECT_TYPE_PARAM_SUFFIX = "OBJECT_TYPES_BY_ORGANIZATION_REVERSION_CATEGORY"; 314 public static final String OBJECT_SUB_TYPE_PARAM_SUFFIX = "OBJECT_SUB_TYPES_BY_ORGANIZATION_REVERSION_CATEGORY"; 315 public static final String IS_EXPENSE_PARAM = "EXTENDED_DEFINITIONS_EXPENSE_CATEGORIES"; 316 } 317 318 // CR doc properties 319 public static final String NEW_CHECK_PROPERTY_NAME = "newCheck"; 320 public static final String EXISTING_CHECK_PROPERTY_NAME = "check"; 321 322 public static final int DOCUMENT_ANNOTATION_MAX_LENGTH = 2000; 323 324 // TRN_LDGR_DEBIT_CRDT_CD valid values 325 public static final String GL_DEBIT_CODE = "D"; 326 public static final String GL_CREDIT_CODE = "C"; 327 public static final String GL_BUDGET_CODE = " "; 328 329 // TRN_ENCUM_UPDT_CD value values 330 public static final String ENCUMB_UPDT_DOCUMENT_CD = "D"; 331 public static final String ENCUMB_UPDT_REFERENCE_DOCUMENT_CD = "R"; 332 public static final String ENCUMB_UPDT_NO_ENCUMBRANCE_CD = "N"; 333 334 // GL Reversal Generated Entry Description Prefix 335 public static final String GL_REVERSAL_DESCRIPTION_PREFIX = "AUTO REVERSAL-"; 336 337 // Misc GL text. 338 public static final String PLANT_INDEBTEDNESS_ENTRY_DESCRIPTION = "GENERATED TRANSFER TO NET PLANT"; 339 340 // Sufficient Funds Type Codes 341 public static final String SF_TYPE_NO_CHECKING = "N"; 342 public static final String SF_TYPE_OBJECT = "O"; 343 public static final String SF_TYPE_LEVEL = "L"; 344 public static final String SF_TYPE_CONSOLIDATION = "C"; 345 public static final String SF_TYPE_CASH_AT_ACCOUNT = "H"; 346 public static final String SF_TYPE_ACCOUNT = "A"; 347 public static final String NOTIFICATION_APPROVER = "ole-butt"; 348 349 public static final String GRANT = "Grant"; 350 public static final String HIDE_LOOKUP_RETURN_LINK = "hideReturnLink"; 351 public static final String SUPPRESS_ACTIONS = "suppressActions"; 352 public static final String REFERENCES_TO_REFRESH = "referencesToRefresh"; 353 public static final String CHECK_IN_OPERATION = "checkIn"; 354 public static final String INCOME = "Income"; 355 public static final String INITIAL_KUALI_DOCUMENT_STATUS_CD = "?"; 356 public static final String INSERT_SOURCE_LINE_METHOD = "insertSourceLine"; 357 public static final String INSERT_TARGET_LINE_METHOD = "insertTargetLine"; 358 public static final String ICR = "Receipt"; 359 public static final String PROJECT_CODE_PROPERTY_NAME = "projectCode"; 360 361 public static final String INQUIRY_ACTION = "kr/inquiry.do"; 362 public static final String JOURNAL_VOUCHER_CHANGE_BALANCE_TYPE_QUESTION = "JournalVoucherChangeBalanceTypeQuestion"; 363 public static final String JOURNAL_VOUCHER_ROUTE_OUT_OF_BALANCE_DOCUMENT_QUESTION = "JournalVoucherRouteOutOfBalanceDocumentQuestion"; 364 public static final String JOURNAL_LINE_HELPER_PROPERTY_NAME = "journalLineHelper"; 365 public static final String AUXILIARY_LINE_HELPER_PROPERTY_NAME = "auxiliaryLineHelper"; 366 public static final String VOUCHER_LINE_HELPER_CREDIT_PROPERTY_NAME = ".credit"; 367 public static final String VOUCHER_LINE_HELPER_DEBIT_PROPERTY_NAME = ".debit"; 368 public static final String LOOKUP_ACTION = "kr/lookup.do"; 369 public static final String LOOKUP_RESULTS_SEQUENCE_NUMBER = "lookupResultsSequenceNumber"; 370 public static final String LOOKUP_RESULTS_BO_CLASS_NAME = "lookupResultsBOClassName"; 371 public static final String LOOKED_UP_COLLECTION_NAME = "lookedUpCollectionName"; 372 public static final String MULTIPLE_VALUE_LOOKUP_PREVIOUSLY_SELECTED_OBJ_IDS_PARAM = "previouslySelectedObjectIds"; 373 public static final String MULTIPLE_VALUE_LOOKUP_DISPLAYED_OBJ_ID_PARAM_PREFIX = "displayedObjId-"; 374 public static final String MULTIPLE_VALUE_LOOKUP_SELECTED_OBJ_ID_PARAM_PREFIX = "selectedObjId-"; 375 public static final String LOOKUP_ANCHOR = "lookupAnchor"; 376 public static final String LOOKUPABLE_IMPL_ATTRIBUTE_NAME = "lookupableImplServiceName"; 377 public static final String LOOKUPABLE_SUFFIX = "Lookupable"; 378 public static final String KUALI_LOOKUPABLE_IMPL = "kualiLookupable"; 379 public static final String KUALI_DISBURSEMENT_PAYEE_LOOKUPABLE_IMPL = "disbursementPayeeLookupable"; 380 public static final String KUALI_VENDOR_ADDRESS_LOOKUPABLE_IMPL = "vendorAddressLookupable"; 381 public static final String DOC_HANDLER_ACTION = "DocHandler.do"; 382 public static final String DOC_HANDLER_METHOD = "docHandler"; 383 public static final String DOC_HANDLER_URL ="/kew/DocHandler.do?command=displayDocSearchView&docId"; 384 public static final String PARAMETER_DOC_ID = "docId"; 385 public static final String PARAMETER_COMMAND = "command"; 386 public static final String METHOD_DISPLAY_DOC_SEARCH_VIEW = "displayDocSearchView"; 387 public static final String MAINTENANCE_ACTION = "maintenance.do"; 388 public static final String MAINTENANCE_ADD_PREFIX = "add."; 389 public static final String MAINTENANCE_COPY_ACTION = "Copy"; 390 public static final String MAINTENANCE_EDIT_ACTION = "Edit"; 391 public static final String MAINTENANCE_NEW_ACTION = "New"; 392 public static final String MAINTENANCE_COPY_METHOD_TO_CALL = "copy"; 393 public static final String MAINTENANCE_EDIT_METHOD_TO_CALL = "edit"; 394 public static final String MAINTENANCE_NEW_METHOD_TO_CALL = "start"; 395 public static final String MAINTENANCE_NEWWITHEXISTING_ACTION = "newWithExisting"; 396 public static final String MAINTENANCE_NEW_MAINTAINABLE = "document.newMaintainableObject."; 397 public static final String MAINTENANCE_OLD_MAINTAINABLE = "document.oldMaintainableObject."; 398 public static final String MAPPING_BASIC = "basic"; 399 public static final String MAPPING_VIEW = "view"; 400 public static final String MAPPING_CANCEL = "cancel"; 401 public static final String MAPPING_CLOSE = "close"; 402 public static final String MAPPING_ERROR = "error"; 403 public static final String MAPPING_PORTAL = "portal"; 404 public static final String MAPPING_BALANCE_INQUIRY_REPORT_MENU = "balanceInquiryReportMenu"; 405 public static final String MAPPING_DV_PER_DIEM_LINKS = "dvPerDiemLinks"; 406 public static final String METHOD_TO_CALL_ATTRIBUTE = "methodToCallAttribute"; 407 public static final String METHOD_TO_CALL_PATH = "methodToCallPath"; 408 public static final String METHOD_TO_CALL_BOPARM_LEFT_DEL = "(!!"; 409 public static final String METHOD_TO_CALL_BOPARM_RIGHT_DEL = "!!)"; 410 public static final String METHOD_TO_CALL_PARM1_LEFT_DEL = "((("; 411 public static final String METHOD_TO_CALL_PARM1_RIGHT_DEL = ")))"; 412 public static final String METHOD_TO_CALL_PARM2_LEFT_DEL = "((#"; 413 public static final String METHOD_TO_CALL_PARM2_RIGHT_DEL = "#))"; 414 public static final String METHOD_TO_CALL_PARM3_LEFT_DEL = "((<"; 415 public static final String METHOD_TO_CALL_PARM3_RIGHT_DEL = ">))"; 416 public static final String METHOD_TO_CALL_PARM4_LEFT_DEL = "((["; 417 public static final String METHOD_TO_CALL_PARM4_RIGHT_DEL = "]))"; 418 public static final String METHOD_TO_CALL_PARM5_LEFT_DEL = "((*"; 419 public static final String METHOD_TO_CALL_PARM5_RIGHT_DEL = "*))"; 420 public static final String METHOD_TO_CALL_PARM6_LEFT_DEL = "((%"; 421 public static final String METHOD_TO_CALL_PARM6_RIGHT_DEL = "%))"; 422 public static final String METHOD_TO_CALL_PARM7_LEFT_DEL = "((^"; 423 public static final String METHOD_TO_CALL_PARM7_RIGHT_DEL = "^))"; 424 public static final String METHOD_TO_CALL_PARM8_LEFT_DEL = "((&"; 425 public static final String METHOD_TO_CALL_PARM8_RIGHT_DEL = "&))"; 426 public static final String METHOD_TO_CALL_PARM9_LEFT_DEL = "((~"; 427 public static final String METHOD_TO_CALL_PARM9_RIGHT_DEL = "~))"; 428 public static final String METHOD_TO_CALL_PARM10_LEFT_DEL = "((/"; 429 public static final String METHOD_TO_CALL_PARM10_RIGHT_DEL = "/))"; 430 public static final String METHOD_TO_CALL_PARM11_LEFT_DEL = "(:;"; 431 public static final String METHOD_TO_CALL_PARM11_RIGHT_DEL = ";:)"; 432 public static final String METHOD_TO_CALL_PARM12_LEFT_DEL = "(::;"; 433 public static final String METHOD_TO_CALL_PARM12_RIGHT_DEL = ";::)"; 434 public static final String METHOD_TO_CALL_PARM13_LEFT_DEL = "(:::;"; 435 public static final String METHOD_TO_CALL_PARM13_RIGHT_DEL = ";:::)"; 436 // if more strings needed, then add more colons to the PARM11 strings above, e.g. (::; (:::;, etc. 437 438 public static final String ACTION_EXTENSION_DOT_DO = ".do"; 439 public static final String ANCHOR = "anchor"; 440 public static final String ANCHOR_TOP_OF_FORM = "topOfForm"; 441 public static final String NOT_AVAILABLE_STRING = "N/A"; 442 public static final int NEGATIVE_ONE = -1; 443 @Deprecated 444 public static final String OBJECT_TYPE_CODE_PROPERTY_NAME = OLEPropertyConstants.OBJECT_TYPE_CODE; 445 public static final String QUESTION_CLICKED_BUTTON = "buttonClicked"; 446 public static final String QUESTION_INST_ATTRIBUTE_NAME = "questionIndex"; 447 public static final String QUESTION_REFRESH = "QuestionRefresh"; 448 public static final String QUESTION_CONTEXT = "context"; 449 public static final String QUESTION_REASON_ATTRIBUTE_NAME = "reason"; 450 public static final String RELOAD_METHOD_TO_CALL = "reload"; 451 public static final String REFRESH_CALLER = "refreshCaller"; 452 public static final String REQUIRED_FIELD_SYMBOL = "*"; 453 public static final String RETURN_LOCATION_PARAMETER = "returnLocation"; 454 public static final String RETURN_METHOD_TO_CALL = "refresh"; 455 public static final String ROUTE_METHOD = "route"; 456 public static final String SAVE_METHOD = "save"; 457 public static final String START_METHOD = "start"; 458 public static final String SEARCH_METHOD = "search"; 459 public static final String COPY_METHOD = "copy"; 460 public static final String ERRORCORRECT_METHOD = "correct"; 461 public static final String SOURCE = "Source"; 462 public static final String SQUARE_BRACKET_LEFT = "["; 463 public static final String SQUARE_BRACKET_RIGHT = "]"; 464 @Deprecated 465 public static final String SUB_ACCOUNT_NUMBER_PROPERTY_NAME = OLEPropertyConstants.SUB_ACCOUNT_NUMBER; 466 public static final String TARGET = "Target"; 467 public static final String TO = "To"; 468 public static final String USER_SESSION_KEY = "UserSession"; 469 public static final String VERSION_NUMBER = "versionNumber"; 470 471 public static final String SEARCH_LIST_REQUEST_KEY = "searchResultKey"; 472 473 public static final int CORRECTION_RECENT_GROUPS_DAY = 10; 474 475 public static final String GLOBAL_ERRORS = "GLOBAL_ERRORS"; 476 public static final String GLOBAL_MESSAGES = "GlobalMessages"; 477 public static final String DOCUMENT_DOCUMENT_ERRORS = "document.document*"; 478 public static final String DOCUMENT_EXPLANATION_ERRORS = "document.explanation*"; 479 public static final String DOCUMENT_REVERSAL_ERRORS = "document.reversal*"; 480 public static final String DOCUMENT_SELECTED_ERRORS = "document.selected*"; 481 public static final String DOCUMENT_HEADER_ERRORS = "document.header*"; 482 public static final String DOCUMENT_ERRORS_LESS_DOCUMENT = DOCUMENT_EXPLANATION_ERRORS + "," + DOCUMENT_REVERSAL_ERRORS + "," + DOCUMENT_SELECTED_ERRORS + "," + DOCUMENT_HEADER_ERRORS; 483 public static final String DOCUMENT_ERRORS = DOCUMENT_DOCUMENT_ERRORS + "," + DOCUMENT_EXPLANATION_ERRORS + "," + DOCUMENT_REVERSAL_ERRORS + "," + DOCUMENT_SELECTED_ERRORS + "," + DOCUMENT_HEADER_ERRORS; 484 public static final String DOCUMENT_NOTES_ERRORS = "newDocumentNote*"; 485 486 public enum NoteTypeEnum { 487 BUSINESS_OBJECT_NOTE_TYPE("BO", "documentBusinessObject"), DOCUMENT_HEADER_NOTE_TYPE("DH", "documentHeader"); 488 private String noteTypeCode; 489 private String noteTypePath; 490 491 private NoteTypeEnum(String noteTypeCode, String noteTypePath) { 492 this.noteTypeCode = noteTypeCode; 493 this.noteTypePath = noteTypePath; 494 } 495 496 public String getCode() { 497 return this.noteTypeCode; 498 } 499 500 public String getPath() { 501 return this.noteTypePath; 502 } 503 504 public String getFullPath() { 505 return OLEConstants.DOCUMENT_PROPERTY_NAME + "." + getPath(); 506 } 507 } 508 509 public static final String EDIT_JOURNAL_VOUCHER_ERRORS = "EditJournalVoucherErrors"; 510 public static final String EDIT_AUXILIARY_VOUCHER_ERRORS = "EditAuxiliaryVoucherErrors"; 511 public static final String EDIT_PRE_ENCUMBRANCE_ERRORS = "EditPreEncumbranceErrors"; 512 513 public static final String ACCOUNTING_LINE_ERRORS = "document.accountingLines"; 514 public static final String OHQ_REQUISITION_STATUS = "OLE_REQS"; 515 //cannot use SOURCE_ACCOUNTING_LINE_ERROR_PATTERN due to doubled error displayed in checking already added source accounting line 516 public static final String NEW_SOURCE_LINE_ERRORS = "newSourceLine*"; 517 public static final String SOURCE_ACCOUNTING_LINE_ERROR_PATTERN = "document.sourceAccounting*,sourceAccountingLines,newSourceLine*,journalLineHelper*,auxiliaryLineHelper*"; 518 public static final String TARGET_ACCOUNTING_LINE_ERROR_PATTERN = "document.targetAccounting*,targetAccountingLines,newTargetLine*"; 519 public static final String ACCOUNTING_LINE_GROUP_SUFFIX = "s"; 520 public static final String SOURCE_ACCOUNTING_LINE_ERRORS = EXISTING_SOURCE_ACCT_LINE_PROPERTY_NAME + ACCOUNTING_LINE_GROUP_SUFFIX; 521 public static final String TARGET_ACCOUNTING_LINE_ERRORS = EXISTING_TARGET_ACCT_LINE_PROPERTY_NAME + ACCOUNTING_LINE_GROUP_SUFFIX; 522 public static final String ITEM_LINE_ERRORS = "newItem*,document.item*"; 523 524 public static final String CREDIT_CARD_RECEIPTS_LINE_ERRORS = "newCreditCardReceipt*,document.creditCardReceipt*"; 525 public static final String ADVANCE_DEPOSITS_LINE_ERRORS = "newAdvanceDeposit*,document.advanceDeposit*"; 526 public static final String GENERAL_LEDGER_PENDING_ENTRIES_TAB_ERRORS = "document.generalLedgerPendingEntr*"; 527 528 public static final String WILDCARD_CHARACTER = "*"; 529 public static final String WILDCARD_NOT_ALLOWED_ON_FIELD = "error.fieldDoNotAllowWildcard"; 530 531 // disbursement voucher error fields 532 public static final String DV_PAYEE_TAB_ERRORS = "DVPayeeErrors,document.dvPayeeDetail.disbVchrPayeeIdNumber,document.dvPayeeDetail.disbVchrPayeeCityName,document.dvPayeeDetail.disbVchrPayeePersonName," + "document.dvPayeeDetail.disbVchrPayeeStateCode,document.dvPayeeDetail.disbVchrPayeeLine1Addr,document.dvPayeeDetail.disbVchrPayeeZipCode,document.dvPayeeDetail.disbVchrPayeeLine2Addr,document.dvPayeeDetail.disbVchrPayeeCountryCode,document.dvPayeeDetail.disbursementVoucherPayeeTypeCode,"; 533 public static final String DV_PAYEE_INIT_TAB_ERRORS = "DVPayeeErrors,payeeIdNumber,payeePersonName,payeeTypeCode"; 534 public static final String DV_PAYMENT_TAB_ERRORS = "DVPaymentErrors,document.dvPayeeDetail.disbVchrPaymentReasonCode,document.disbVchrCheckTotalAmount,document.disbursementVoucherDueDate,document.dvPayeeDetail.disbVchrAlienPaymentCode," + "document.dvPayeeDetail.disbVchrPayeeEmployeeCode,document.disbVchrAttachmentCode,document.disbVchrSpecialHandlingCode,document.disbVchrPayeeW9CompleteCode" + "document.disbVchrPaymentMethodCode,document.disbursementVoucherDocumentationLocationCode,document.disbVchrCheckStubText"; 535 public static final String DV_NRATAX_TAB_ERRORS = "DVNRATaxErrors,document.dvNonResidentAlienTax.incomeClassCode,document.dvNonResidentAlienTax.incomeTaxTreatyExemptCode,document.dvNonResidentAlienTax.federalIncomeTaxPercent," + "document.dvNonResidentAlienTax.foreignSourceIncomeCode,document.dvNonResidentAlienTax.stateIncomeTaxPercent,document.dvNonResidentAlienTax.incomeTaxGrossUpCode,document.dvNonResidentAlienTax.postalCountryCode," + "document.dvNonResidentAlienTax.referenceFinancialDocumentNumber"; 536 public static final String DV_FOREIGNDRAFTS_TAB_ERRORS = "DVForeignDraftErrors,document.dvWireTransfer.disbursementVoucherForeignCurrencyTypeCode,document.dvWireTransfer.disbursementVoucherForeignCurrencyTypeName"; 537 public static final String DV_CONTACT_TAB_ERRORS = "DVContactErrors,document.disbVchrContact*"; 538 public static final String DV_SPECHAND_TAB_ERRORS = "DVSpecialHandlingErrors,document.dvPayeeDetail.disbVchrSpecialHandlingPersonName,document.dvPayeeDetail.disbVchrSpecialHandlingCityName,document.dvPayeeDetail.disbVchrSpecialHandlingLine1Addr,document.dvPayeeDetail.disbVchrSpecialHandlingStateCode," + "document.dvPayeeDetail.disbVchrSpecialHandlingLine2Addr,document.dvPayeeDetail.disbVchrSpecialHandlingZipCode,document.dvPayeeDetail.disbVchrSpecialHandlingCountryName"; 539 public static final String DV_WIRETRANSFER_TAB_ERRORS = "DVWireTransfersErrors,document.dvWireTransfer.disbursementVoucherBankName,document.dvWireTransfer.disbVchrBankRoutingNumber,document.dvWireTransfer.disbVchrBankCityName,document.dvWireTransfer.disbVchrBankStateCode," + "document.dvWireTransfer.disbVchrBankCountryCode,document.dvWireTransfer.disbVchrAttentionLineText,document.dvWireTransfer.disbVchrAdditionalWireText,document.dvWireTransfer.disbVchrPayeeAccountNumber,document.dvWireTransfer.disbVchrCurrencyTypeName,document.dvWireTransfer.disbVchrCurrencyTypeCode," + "document.dvWireTransfer.disbursementVoucherWireTransferFeeWaiverIndicator,document.dvWireTransfer.disbursementVoucherPayeeAccountName,document.dvWireTransfer.disbursementVoucherPayeeAccountTypeCode,document.dvWireTransfer.disbursementVoucherAutomatedClearingHouseProfileNumber"; 540 public static final String DV_NON_EMPL_TRAVEL_TAB_ERRORS = "DVNonEmployeeTravelErrors,newPrePaidNonEmployeeExpenseLine.*,newNonEmployeeExpenseLine.*,document.dvNonEmployeeTravel.*"; 541 public static final String DV_PREPAID_TAB_ERRORS = "DVPrePaidTravelErrors,newPreConferenceRegistrantLine.*,document.dvPreConferenceDetail.*"; 542 public static final String GENERAL_PAYMENT_TAB_ERRORS = "DVPaymentErrors"; 543 public static final String GENERAL_NRATAX_TAB_ERRORS = "DVNRATaxErrors"; 544 public static final String GENERAL_SPECHAND_TAB_ERRORS = "DVSpecialHandlingErrors"; 545 public static final String GENERAL_PREPAID_TAB_ERRORS = "DVPrePaidTravelErrors"; 546 public static final String GENERAL_NONEMPLOYEE_TAB_ERRORS = "DVNonEmployeeTravelErrors,document.dvNonEmployeeTravel.totalTravelAmount"; 547 public static final String DV_CHECK_TRAVEL_TOTAL_ERROR = "document.dvNonEmployeeTravel.totalTravelAmount"; 548 549 // country 550 public static final String COUNTRY_CODE_UNITED_STATES = "US"; 551 552 // CashManagement tab errors 553 public static final String CASH_MANAGEMENT_DEPOSIT_ERRORS = "document.deposit*"; 554 555 // Coin and Currency Amounts 556 public static class CoinTypeAmounts { 557 public static final KualiDecimal HUNDRED_CENT_AMOUNT = new KualiDecimal(1.0); 558 public static final KualiDecimal FIFTY_CENT_AMOUNT = new KualiDecimal(0.5); 559 public static final KualiDecimal TWENTY_FIVE_CENT_AMOUNT = new KualiDecimal(0.25); 560 public static final KualiDecimal TEN_CENT_AMOUNT = new KualiDecimal(0.1); 561 public static final KualiDecimal FIVE_CENT_AMOUNT = new KualiDecimal(0.05); 562 public static final KualiDecimal ONE_CENT_AMOUNT = new KualiDecimal(0.01); 563 } 564 565 public static class CurrencyTypeAmounts { 566 public static final KualiDecimal HUNDRED_DOLLAR_AMOUNT = new KualiDecimal(100.0); 567 public static final KualiDecimal FIFTY_DOLLAR_AMOUNT = new KualiDecimal(50.0); 568 public static final KualiDecimal TWENTY_DOLLAR_AMOUNT = new KualiDecimal(20.0); 569 public static final KualiDecimal TEN_DOLLAR_AMOUNT = new KualiDecimal(10.0); 570 public static final KualiDecimal FIVE_DOLLAR_AMOUNT = new KualiDecimal(5.0); 571 public static final KualiDecimal TWO_DOLLAR_AMOUNT = new KualiDecimal(2.0); 572 public static final KualiDecimal ONE_DOLLAR_AMOUNT = new KualiDecimal(1.0); 573 } 574 575 // Cashiering source constants 576 public static class CurrencyCoinSources { 577 public static final String CASH_MANAGEMENT_IN = "R"; // money coming in through cashiering activity 578 public static final String DEPOSITS = "D"; // money going out through deposits 579 public static final String CASH_RECEIPTS = "C"; // money coming in through cash receipts 580 public static final String CASH_MANAGEMENT_OUT = "O"; // money going out through cashiering activity 581 public static final String CASH_MANAGEMENT_MASTER = "M"; // an amalgamation of a cashiering transaction 582 public static final String CASH_CHANGE_REQUEST = "Q"; // requesting some change money back 583 public static final String CASH_CHANGE_GRANTED = "G"; // verified change request 584 } 585 586 // Constants for check sources 587 // Why are these constants different from the Currency/Coin constants? 588 // Why, I ask you in return, is the sky blue? That's right, because of 589 // the effect of Rayleigh scattering on atmospheric particles. That's why. 590 public static class CheckSources { 591 public static final String CASH_RECEIPTS = "C"; 592 public static final String CASH_MANAGEMENT = "R"; 593 } 594 595 public static final String CASHIERING_TRANSACTION_OPEN_ITEM_IN_PROCESS_PROPERTY = "document.currentTransaction.openItemInProcess"; 596 597 // Tab error patterns must be at the top level; JSPs do not have access to the nested classes. 598 public static final String EDIT_CASH_RECEIPT_CASH_RECONCILIATION_ERRORS = "document.totalCashAmount,document.totalCheckAmount,document.totalCoinAmount,document.sumTotalAmount"; 599 public static final String EDIT_CASH_RECEIPT_CHECK_DETAIL_ERRORS = "newCheck*,document.check*"; 600 public static final String EDIT_CASH_RECEIPT_CURRENCY_COIN_ERRORS = "document.currencyDetail.*,document.coinDetail.*"; 601 public static final String EDIT_CASH_MANAGEMENT_CASHIERING_TRANSACTION_ERRORS = "document.currentTransaction.*"; 602 public static final String EDIT_CAPITAL_ASSET_INFORMATION_ERRORS = "document.capitalAssetInformation*"; 603 public static final String EDIT_CAPITAL_ASSET_MODIFY_ERRORS = "document.capitalAssetModify*"; 604 public static final String EDIT_ACCOUNTING_LINES_FOR_CAPITALIZATION_ERRORS = "document.capitalAccountingLines*"; 605 606 public static final String MULTIPLE_VALUE = "multipleValues"; 607 608 // special chars that I don't know how to put into string literals in JSP expression language 609 public static final String NEWLINE = "\n"; 610 611 // Workflow constants 612 613 public static final String IS_FAILURE_RECORDS = "IsFailureRecords"; 614 615 @Deprecated 616 public static final String WORKFLOW_FYI_REQUEST = KewApiConstants.ACTION_REQUEST_FYI_REQ; 617 618 public static class DocumentStatusCodes { 619 public static final String INITIATED = "?"; 620 public static final String CANCELLED = "X"; 621 public static final String ENROUTE = "R"; 622 public static final String DISAPPROVED = "D"; 623 public static final String APPROVED = "A"; 624 625 public static class CashReceipt { 626 // once a CashReceipt gets approved, its financialDocumentStatus goes to "verified" 627 public static final String VERIFIED = "V"; 628 629 // when a CashReceipt associated with a Deposit, its financialDocumentStatus changes to "interim" or "final" 630 public static final String INTERIM = "I"; 631 public static final String FINAL = "F"; 632 633 // when the CMDoc is finalized, the CRs of its Deposits change to status "approved" 634 } 635 } 636 637 public static class AuxiliaryVoucher { 638 public static final String ADJUSTMENT_DOC_TYPE = "OLE_AVAD"; 639 public static final String ADJUSTMENT_DOC_TYPE_NAME = "Adjustment"; 640 public static final String RECODE_DOC_TYPE = "OLE_AVRC"; 641 public static final String RECODE_DOC_TYPE_NAME = "Recode"; 642 public static final String ACCRUAL_DOC_TYPE = "OLE_AVAE"; 643 public static final String ACCRUAL_DOC_TYPE_NAME = "Accrual"; 644 public static final int ACCRUAL_DOC_DAY_OF_MONTH = 15; 645 public static final String ERROR_DOCUMENT_RECODE_DISTRIBUTION_OF_INCOME_AND_EXPENSE_UNSUCCESSFUL = "Unable to auto-generate Distribution of Income and Expense for document with number \"%s.\" Please contact your System Administrator for a Distribution of Income and Expense to be created manually."; 646 public static final String ERROR_DOCUMENT_HAS_TARGET_LINES = "AV document doesn't have target accounting lines. This method should have never been entered"; 647 public static final String RECODE_DISTRIBUTION_OF_INCOME_AND_EXPENSE_DESCRIPTION = "Auto-generated for Auxiliary Voucher"; 648 public static final String RECODE_DISTRIBUTION_OF_INCOME_AND_EXPENSE_EXPLANATION = "Auxiliary Voucher recode document type was chosen. A Distribution of Income And Expense needs to be routed to FINAL along with it. This Document is routed by Auxiliary Voucher \"%s\"."; 649 public static final String CHANGE_VOUCHER_TYPE = "changeVoucherType"; 650 } 651 652 public static class CashDrawerConstants { 653 public static final String STATUS_CLOSED = "C"; 654 public static final String STATUS_OPEN = "O"; 655 public static final String STATUS_LOCKED = "L"; 656 } 657 658 public static class CashReceiptConstants { 659 public static final String DEFAULT_CASH_RECEIPT_CAMPUS_LOCATION_CODE = "??"; 660 661 public static final String CASH_RECEIPT_CAMPUS_LOCATION_CODE_PROPERTY_NAME = "campusLocationCode"; 662 public static final String CASH_RECEIPT_DOC_HEADER_STATUS_CODE_PROPERTY_NAME = OLEConstants.DOCUMENT_HEADER_PROPERTY_NAME + "." + OLEConstants.DOCUMENT_HEADER_DOCUMENT_STATUS_CODE_PROPERTY_NAME; 663 } 664 665 public static class DepositConstants { 666 public static final String DEPOSIT_TYPE_VERIFIED = "V"; 667 public static final String DEPOSIT_TYPE_INTERIM = "I"; 668 public static final String DEPOSIT_TYPE_FINAL = "F"; 669 670 public static final String DEPOSIT_WIZARD_CASHRECEIPT_ERROR = "cashReceiptErrors"; 671 public static final String DEPOSIT_WIZARD_DEPOSITHEADER_ERROR = "depositHeaderErrors"; 672 } 673 674 public static class BudgetAdjustmentDocumentConstants { 675 public static final String SOURCE_BA = "From/Decrease"; 676 public static final String TARGET_BA = "To/Increase"; 677 public static final String GENERATE_BENEFITS_QUESTION_ID = "GenerateBenefitsQuestion"; 678 public static final String ADJUSTMENT_RESTRICTION_LEVEL_FUND = "F"; 679 public static final String ADJUSTMENT_RESTRICTION_LEVEL_CHART = "C"; 680 public static final String ADJUSTMENT_RESTRICTION_LEVEL_ORGANIZATION = "O"; 681 public static final String ADJUSTMENT_RESTRICTION_LEVEL_ACCOUNT = "A"; 682 public static final String ADJUSTMENT_RESTRICTION_LEVEL_SUBFUND = "S"; 683 public static final String ADJUSTMENT_RESTRICTION_LEVEL_NONE = "N"; 684 public static final String CROSS_INCOME_STREAM_GLPE_TRANSFER_GENERATING_FUND_GROUPS = "CROSS_INCOME_STREAM_GLPE_TRANSFER_GENERATING_FUND_GROUPS"; 685 public static final String CROSS_INCOME_STREAM_GLPE_TRANSFER_GENERATING_SUB_FUND_GROUPS = "CROSS_INCOME_STREAM_GLPE_TRANSFER_GENERATING_SUB_FUND_GROUPS"; 686 } 687 688 public static class DisbursementVoucherDocumentConstants { 689 public static final String CLEAR_NON_EMPLOYEE_TAB_QUESTION_ID = "ClearNonEmplTravTabQuestion"; 690 public static final String CLEAR_WIRE_TRANSFER_TAB_QUESTION_ID = "ClearWireTransferTabQuestion"; 691 public static final String CLEAR_FOREIGN_DRAFT_TAB_QUESTION_ID = "ClearForeignDraftTabQuestion"; 692 } 693 694 public static final String ACCOUNTING_LINE_IMPORT_MAX_FILE_SIZE_PARM_NM = "MAX_FILE_SIZE_ACCOUNTING_LINE_IMPORT"; 695 public static final String ORIGIN_ENTRY_IMPORT_MAX_FILE_SIZE_PARM_NM = "MAX_FILE_SIZE_ORIGIN_ENTRY_IMPORT"; 696 697 public static class ChartApcParms { 698 699 public static final String FISCAL_YEAR_MAKER_REPLACE_MODE = "OVERRIDE_TARGET_YEAR_DATA_IND"; 700 public static final String FISCAL_YEAR_MAKER_SOURCE_FISCAL_YEAR = "SOURCE_FISCAL_YEAR"; 701 702 // added from parameter refactoring. 703 public static final String APC_HRMS_ACTIVE_KEY = "USE_HRMS_ORGANIZATION_ATTRIBUTES_IND"; 704 public final static String OBJECT_CODE_ILLEGAL_VALUES = "OBJECT_CODES"; 705 public static final String DOCTYPE_AND_OBJ_CODE_ACTIVE = "DOCUMENT_TYPES_REQUIRING_ACTIVE_OBJECT_CODES"; 706 public static final String CG_ALLOWED_SUBACCOUNT_TYPE_CODES = "SUB_ACCOUNT_TYPES"; 707 708 // Account parms 709 public static final String INCOME_STREAM_ACCOUNT_REQUIRING_FUND_GROUPS = "INCOME_STREAM_ACCOUNT_REQUIRING_FUND_GROUPS"; 710 public static final String INCOME_STREAM_ACCOUNT_REQUIRING_SUB_FUND_GROUPS = "INCOME_STREAM_ACCOUNT_REQUIRING_SUB_FUND_GROUPS"; 711 712 // Org parms 713 public static final String DEFAULT_ACCOUNT_NOT_REQUIRED_ORG_TYPES = "ORGANIZATION_TYPES_NOT_REQUIRING_DEFAULT_ACCOUNT"; 714 public static final String ORG_MUST_REPORT_TO_SELF_ORG_TYPES = "ORGANIZATION_TYPES_THAT_MUST_REPORT_TO_SELF"; 715 716 public static final String ACCOUNT_FUND_GROUP_DENOTES_CG = "FUND_GROUP_DENOTES_CG_IND"; 717 public static final String ACCOUNT_CG_DENOTING_VALUE = "CG_DENOTING_VALUE"; 718 719 // newly created prior year accounts to be added 720 public static final String PRIOR_YEAR_ACCOUNTS_TO_BE_ADDED = "PRIOR_YEAR_ACCOUNTS_TO_BE_ADDED"; 721 } 722 723 public static class FinancialApcParms { 724 public static final String ACCOUNTING_LINE_IMPORT_HELP = "ACCOUNTING_LINE_IMPORT"; 725 } 726 727 public static class SystemGroupParameterNames { 728 729 public static final String FLEXIBLE_OFFSET_ENABLED_FLAG = "USE_FLEXIBLE_OFFSET_IND"; 730 public static final String PURGE_GL_ACCT_BALANCES_T_BEFORE_YEAR = "PRIOR_TO_YEAR"; 731 public static final String PURGE_GL_ENCUMBRANCE_T_BEFORE_YEAR = "PRIOR_TO_YEAR"; 732 public static final String PURGE_GL_SF_BALANCES_T_BEFORE_YEAR = "PRIOR_TO_YEAR"; 733 public static final String PURGE_GL_BALANCE_T_BEFORE_YEAR = "PRIOR_TO_YEAR"; 734 public static final String PURGE_GL_ENTRY_T_BEFORE_YEAR = "PRIOR_TO_YEAR"; 735 public static final String PURGE_GL_ID_BILL_T_BEFORE_YEAR = "PRIOR_TO_YEAR"; 736 737 public static final String GL_ANNUAL_CLOSING_DOC_TYPE = "ANNUAL_CLOSING_DOCUMENT_TYPE"; 738 public static final String GL_INDIRECT_COST_RECOVERY = "INDIRECT_COST_RECOVERY_DOCUMENT_TYPE"; 739 public static final String GL_ORIGINATION_CODE = "MANUAL_FEED_ORIGINATION"; 740 public static final String GL_SCRUBBER_VALIDATION_DAYS_OFFSET = "CG_ACCOUNT_EXPIRATION_EXTENSION_DAYS"; 741 742 public static final String MULTIPLE_VALUE_LOOKUP_RESULTS_PER_PAGE = "MULTIPLE_VALUE_RESULTS_PER_PAGE"; 743 public static final String MULTIPLE_VALUE_LOOKUP_RESULTS_EXPIRATION_AGE = "MULTIPLE_VALUE_RESULTS_EXPIRATION_SECONDS"; 744 745 public static final String ACTIVE_INPUT_TYPES_PARAMETER_NAME = "ACTIVE_FILE_TYPES"; 746 747 public static final String COLLECTOR_VALIDATOR_EMAIL_SUBJECT_PARAMETER_NAME = "VALIDATION_EMAIL_SUBJECT_LINE"; 748 public static final String COLLECTOR_VALIDATOR_ERROR_EMAIL_SUBJECT_PARAMETER_NAME = "VALIDATION_ERROR_EMAIL_SUBJECT_LINE"; 749 public static final String COLLECTOR_DEMERGER_EMAIL_SUBJECT_PARAMETER_NAME = "ERROR_EMAIL_SUBJECT_LINE"; 750 public static final String COLLECTOR_EQUAL_DC_TOTAL_DOCUMENT_TYPES = "EQUAL_DEBIT_CREDIT_TOTAL_DOCUMENT_TYPES"; 751 public static final String COLLECTOR_PERFORM_DUPLICATE_HEADER_CHECK = "PERFORM_DUPLICATE_HEADER_CHECK_IND"; 752 753 public static final String BATCH_SCHEDULE_CUTOFF_TIME = "CUTOFF_TIME"; 754 public static final String BATCH_SCHEDULE_CUTOFF_TIME_IS_NEXT_DAY = "CUTOFF_TIME_NEXT_DAY_IND"; 755 public static final String BATCH_SCHEDULE_STATUS_CHECK_INTERVAL = "STATUS_CHECK_INTERVAL"; 756 757 /** 758 * Used by PurgePendingAttachmentsJob to compute the maximum amount of time a pending attachment is allowed to persist on 759 * the file system before being deleted. 760 */ 761 public static final String PURGE_PENDING_ATTACHMENTS_STEP_MAX_AGE = "MAX_AGE"; 762 763 public static final String NUMBER_OF_DAYS_SINCE_LAST_UPDATE = "NUMBER_OF_DAYS_SINCE_LAST_UPDATE"; 764 765 public static final String ACCOUNTS_CAN_CROSS_CHARTS_IND = "ACCOUNTS_CAN_CROSS_CHARTS_IND"; 766 767 public static final String BATCH_CONTAINER_SEMAPHORE_PROCESSING_INTERVAL = "SEMAPHORE_PROCESSING_INTERVAL"; 768 } 769 770 public static class GeneralLedgerApplicationParameterKeys { 771 public static final String INCOME_OBJECT_TYPE_CODES = "INCOME_OBJECT_TYPE_CODES"; 772 public static final String INCOME_TRANSFER_OBJECT_TYPE_CODES = "INCOME_TRANSFER_OBJECT_TYPE_CODES"; 773 public static final String EXPENSE_OBJECT_TYPE_CODES = "EXPENSE_OBJECT_TYPE_CODES"; 774 public static final String EXPENSE_TRANSFER_OBJECT_TYPE_CODES = "EXPENSE_TRANSFER_OBJECT_TYPE_CODES"; 775 } 776 777 public static class GeneralLedgerCorrectionProcessApplicationParameterKeys { 778 public static final String RECORD_COUNT_FUNCTIONALITY_LIMIT = "RECORD_COUNT_FUNCTIONALITY_LIMIT"; 779 public static final String RECORDS_PER_PAGE = "RECORDS_PER_PAGE"; 780 } 781 782 public static class EnterpriseFeederApplicationParameterKeys { 783 public static final String TO_ADDRESS = "INVALID_FILE_TO_EMAIL_ADDRESSES"; 784 } 785 786 public static class ParameterValues { 787 public static final String YES = "Y"; 788 public static final String NO = "N"; 789 } 790 791 public static class Maintenance { 792 public static final String AFTER_CLASS_DELIM = "!!"; 793 public static final String AFTER_FIELDNAME_DELIM = "^^"; 794 public static final String AFTER_VALUE_DELIM = "::"; 795 } 796 797 public static class ObjectCodeConstants { 798 public static final String INACTIVE_OBJECT_LEVEL_QUESTION_ID = "InactiveObjectLevelQuestion"; 799 public static final String SECTION_ID_RESEARCH_ADMIN_ATTRIBUTES = "researchAdminAttributes"; 800 } 801 802 public static final String MONTH1 = "01"; 803 public static final String MONTH2 = "02"; 804 public static final String MONTH3 = "03"; 805 public static final String MONTH4 = "04"; 806 public static final String MONTH5 = "05"; 807 public static final String MONTH6 = "06"; 808 public static final String MONTH7 = "07"; 809 public static final String MONTH8 = "08"; 810 public static final String MONTH9 = "09"; 811 public static final String MONTH10 = "10"; 812 public static final String MONTH11 = "11"; 813 public static final String MONTH12 = "12"; 814 public static final String MONTH13 = "13"; 815 public static final String PERIOD_CODE_ANNUAL_BALANCE = "AB"; 816 public static final String PERIOD_CODE_BEGINNING_BALANCE = "BB"; 817 public static final String PERIOD_CODE_CG_BEGINNING_BALANCE = "CB"; 818 819 public static final String REQUEST_SEARCH_RESULTS = "reqSearchResults"; 820 public static final String REQUEST_SEARCH_RESULTS_SIZE = "reqSearchResultsSize"; 821 public static final String GL_COLLECTOR_STAGING_DIRECTORY = "collector.staging.directory"; 822 823 public static final String DISBURSEMENT_VOUCHER_DOCUMENTATION_LOCATION_CODE_PROPERTY_NAME = "disbursementVoucherDocumentationLocationCode"; 824 public static final String FUND_GROUP_CODE_PROPERTY_NAME = "code"; 825 public static final String SUB_FUND_GROUP_CODE_PROPERTY_NAME = "subFundGroupCode"; 826 827 public static final String RULE_CODE_R1 = "R1"; 828 public static final String RULE_CODE_R2 = "R2"; 829 public static final String RULE_CODE_N1 = "N1"; 830 public static final String RULE_CODE_N2 = "N2"; 831 public static final String RULE_CODE_C1 = "C1"; 832 public static final String RULE_CODE_C2 = "C2"; 833 public static final String RULE_CODE_A = "A"; 834 public static final String TRANSACTION_DT = "TRANSACTION_DT"; 835 public static final String UNALLOC_OBJECT_CD = "UNALLOC_OBJECT_CD"; 836 public static final String BEG_BUD_CASH_OBJECT_CD = "BEG_BUD_CASH_OBJECT_CD"; 837 public static final String FUND_BAL_OBJECT_CD = "FUND_BAL_OBJECT_CD"; 838 public static final String UNIV_FISCAL_YR = "UNIV_FISCAL_YR"; 839 840 public static final String EMPLOYEE_LOOKUP_ERRORS = "document.employeeLookups,document.emplid,universityFiscalYear"; 841 842 public static class BudgetConstructionConstants { 843 844 /* OLEConstants for the budget construction flag names */ 845 public final static String BUDGET_ADMINSTRATION_ACTIVE = "BAACTV"; 846 public final static String BASE_BUDGET_UPDATES_OK = "BASEAD"; 847 public final static String BUDGET_BATCH_SYNCHRONIZATION_OK = "BSSYNC"; 848 public final static String CSF_UPDATES_OK = "CSFUPD"; 849 public final static String BUDGET_CONSTRUCTION_ACTIVE = "BCACTV"; 850 public final static String BUDGET_CONSTRUCTION_GENESIS_RUNNING = "BCGENE"; 851 public final static String BUDGET_CONSTRUCTION_UPDATES_OK = "BCUPDT"; 852 public final static String BUDGET_ON_LINE_SYNCHRONIZATION_OK = "PSSYNC"; 853 854 /* 855 * object code which stores amounts by which pending general ledger rows in budget construction are out of balance 856 */ 857 @Deprecated 858 public final static String OBJECT_CODE_2PLG = "2PLG"; 859 860 } 861 862 public static class OperationType { 863 public static final String READ = "read"; 864 public static final String REPORT_ERROR = "with error"; 865 public static final String INSERT = "insert"; 866 public static final String UPDATE = "update"; 867 public static final String DELETE = "delete"; 868 public static final String SELECT = "select"; 869 public static final String BYPASS = "bypassed"; 870 } 871 872 public static class PENDING_ENTRY_APPROVED_STATUS_CODE { 873 public static final String APPROVED = "A"; 874 public static final String PROCESSED = "X"; 875 } 876 877 public static class TableRenderConstants { 878 public static final String SWITCH_TO_PAGE_METHOD = "switchToPage"; 879 public static final String SORT_METHOD = "sort"; 880 881 public static final String PREVIOUSLY_SORTED_COLUMN_INDEX_PARAM = "previouslySortedColumnIndex"; 882 public static final String VIEWED_PAGE_NUMBER = "viewedPageNumber"; 883 } 884 885 public static final String PCDO_FILE_TYPE_INDENTIFIER = "procurementCardInputFileType"; 886 public static final String COLLECTOR_XML_FILE_TYPE_INDENTIFIER = "collectorXmlInputFileType"; 887 public static final String COLLECTOR_FLAT_FILE_TYPE_INDENTIFIER = "collectorFlatFileInputFileType"; 888 public static final String ENTERPRISE_FEEDER_FILE_SET_TYPE_INDENTIFIER = "enterpriseFeederFileSetType"; 889 890 //variables for upload of vendor information relating to OLE Select batch upload 891 public static final String REQUISITION_FILE_TYPE_INDENTIFIER = "requisitionInputFileType"; 892 public static final String MARC_FILE_TYPE_INDENTIFIER = "marcInputFileType"; 893 public static final String ORD_FILE_TYPE_INDENTIFIER = "ordInputFileType"; 894 // next 2 variables for the enterprise feeder batch upload 895 public static final String DATA_FILE_TYPE = "DATA"; 896 public static final String RECON_FILE_TYPE = "RECON"; 897 898 // next variable used by the batch upload framework 899 public static final String DONE_FILE_TYPE = "DONE_FILE"; 900 901 // variables for batch upload inquiry 902 public static final String BATCH_UPLOAD_ACTION_PATH = "acqBatchUpload.do"; 903 904 /** 905 * The base implementation of {@link org.kuali.ole.gl.batch.service.impl.EnterpriseFeederStatusBase} uses strings contained within 906 * ApplicationResources.properties to store the human-readable descriptions of each status object. The fully qualified class 907 * name is appended to the end of this key to generate the true key. For example, 908 * gl.EnterpriseFeeder.StatusDescriptionPrefix.org.kuali.ole.gl.batch.service.impl.FileReconBadLoadAbortedStatus 909 */ 910 public static final String ENTERPRISE_FEEDER_STATUS_DESCRIPTION_PREFIX = "gl.EnterpriseFeeder.StatusDescription."; 911 912 public static final String BATCH_STEP_RUNNER_JOB_NAME = "stepRunByBatchStepRunner"; 913 914 // Some static method calls below that could be done in static variables instead but isn't safe to do during class loading 915 // w/SpringContext. 916 private static String DASH_FINANCIAL_OBJECT_CODE = null; 917 918 public static String getDashFinancialObjectCode() { 919 if (DASH_FINANCIAL_OBJECT_CODE == null) { 920 DASH_FINANCIAL_OBJECT_CODE = StringUtils.rightPad("", SpringContext.getBean(DataDictionaryService.class).getAttributeMaxLength(OriginEntryFull.class, OLEPropertyConstants.FINANCIAL_OBJECT_CODE), '-'); 921 } 922 return DASH_FINANCIAL_OBJECT_CODE; 923 } 924 925 private static String DASH_FINANCIAL_SUB_OBJECT_CODE = null; 926 927 public static String getDashFinancialSubObjectCode() { 928 if (DASH_FINANCIAL_SUB_OBJECT_CODE == null) { 929 DASH_FINANCIAL_SUB_OBJECT_CODE = StringUtils.rightPad("", SpringContext.getBean(DataDictionaryService.class).getAttributeMaxLength(OriginEntryFull.class, OLEPropertyConstants.FINANCIAL_SUB_OBJECT_CODE), '-'); 930 } 931 return DASH_FINANCIAL_SUB_OBJECT_CODE; 932 } 933 934 private static String DASH_SUB_ACCOUNT_NUMBER = null; 935 936 public static String getDashSubAccountNumber() { 937 if (DASH_SUB_ACCOUNT_NUMBER == null) { 938 DASH_SUB_ACCOUNT_NUMBER = StringUtils.rightPad("", SpringContext.getBean(DataDictionaryService.class).getAttributeMaxLength(OriginEntryFull.class, OLEPropertyConstants.SUB_ACCOUNT_NUMBER), '-'); 939 } 940 return DASH_SUB_ACCOUNT_NUMBER; 941 } 942 943 private static String SPACE_SUB_ACCOUNT_NUMBER = null; 944 945 public static String getSpaceSubAccountNumber() { 946 if (SPACE_SUB_ACCOUNT_NUMBER == null) { 947 SPACE_SUB_ACCOUNT_NUMBER = StringUtils.rightPad("", SpringContext.getBean(DataDictionaryService.class).getAttributeMaxLength(OriginEntryFull.class, OLEPropertyConstants.SUB_ACCOUNT_NUMBER), ' '); 948 } 949 return SPACE_SUB_ACCOUNT_NUMBER; 950 } 951 952 private static String DASH_PROJECT_CODE = null; 953 954 public static String getDashProjectCode() { 955 if (DASH_PROJECT_CODE == null) { 956 DASH_PROJECT_CODE = StringUtils.rightPad("", SpringContext.getBean(DataDictionaryService.class).getAttributeMaxLength(OriginEntryFull.class, OLEPropertyConstants.PROJECT_CODE), '-'); 957 } 958 return DASH_PROJECT_CODE; 959 } 960 961 public static final class ReportGeneration{ 962 public final static String PARAMETER_NAME_SUBREPORT_DIR = "SUBREPORT_DIR"; 963 public final static String PARAMETER_NAME_SUBREPORT_TEMPLATE_NAME = "SUBREPORT_TEMPLATE_NAMES"; 964 public final static String DESIGN_FILE_EXTENSION = ".jrxml"; 965 public final static String JASPER_REPORT_EXTENSION = ".jasper"; 966 public final static String PDF_FILE_EXTENSION = ".pdf"; 967 public final static String PDF_MIME_TYPE = "application/pdf"; 968 public final static String TEXT_MIME_TYPE = "text/plain"; 969 public final static String ACCOUNT_EXPORT_FILE_NAME = "account_export.txt"; 970 public final static String MONTHLY_EXPORT_FILE_NAME = "monthly_export.txt"; 971 public final static String FUNDING_EXPORT_FILE_NAME = "funding_export.txt"; 972 } 973 974 public final static KualiInteger ONE_HUNDRED = new KualiInteger(100); 975 public final static KualiInteger ONE = new KualiInteger(1); 976 977 // effort certification period status codes 978 public static final class PeriodStatusCodes { 979 public static final String CLOSED = "C"; 980 public static final String NOT_OPEN = "N"; 981 public static final String OPEN = "O"; 982 } 983 984 public static final class CustomerParameter { 985 public static final String TAX_NUMBER_REQUIRED_IND = "TAX_NUMBER_REQUIRED_IND"; 986 } 987 988 // financial document type codes 989 public static final class FinancialDocumentTypeCodes { 990 public static final String ALL = "ALL"; 991 992 // financial processing 993 public static final String GENERAL_ERROR_CORRECTION = "OLE_GEC"; 994 public static final String YEAR_END_GENERAL_ERROR_CORRECTION = "OLE_YEGE"; 995 public static final String DISTRIBUTION_OF_INCOME_AND_EXPENSE = "OLE_DI"; 996 public static final String YEAR_END_DISTRIBUTION_OF_INCOME_AND_EXPENSE = "OLE_YEDI"; 997 public static final String SERVICE_BILLING = "OLE_SB"; 998 public static final String INTERNAL_BILLING = "OLE_IB"; 999 public static final String CASH_RECEIPT = "OLE_CR"; 1000 public static final String PROCUREMENT_CARD = "OLE_PCDO"; 1001 public static final String ADVANCE_DEPOSIT = "OLE_AD"; 1002 public static final String CASH_MANAGEMENT = "OLE_CMD"; 1003 public static final String CREDIT_CARD_RECEIPT = "OLE_CCR"; 1004 public static final String NON_CHECK_DISBURSEMENT = "OLE_ND"; 1005 1006 // purap 1007 public static final String REQUISITION = "OLE_REQS"; 1008 public static final String REQUESTOR = "OLE_REQSTR"; 1009 public static final String PAYMENT_REQUEST = "OLE_PREQ"; 1010 public static final String INVOICE = "OLE_PRQS"; 1011 public static final String PURCHASE_ORDER = "OLE_PO"; 1012 public static final String PURCHASE_ORDER_AMENDMENT = "OLE_POA"; 1013 public static final String PURCHASE_ORDER_CLOSE = "OLE_POC"; 1014 public static final String PURCHASE_ORDER_SPLIT = "OLE_POSP"; 1015 public static final String PURCHASE_ORDER_REOPEN = "OLE_POR"; 1016 public static final String PURCHASE_ORDER_PAYMENT_HOLD = "OLE_POPH"; 1017 public static final String PURCHASE_ORDER_REMOVE_HOLD = "OLE_PORH"; 1018 public static final String PURCHASE_ORDER_RETRANSMIT = "OLE_PORT"; 1019 public static final String PURCHASE_ORDER_VOID = "OLE_POV"; 1020 public static final String LINE_ITEM_RECEIVING = "OLE_RCVL"; 1021 public static final String CORRECTION_RECEIVING = "OLE_RCVC"; 1022 public static final String VENDOR_CREDIT_MEMO = "OLE_CM"; 1023 public static final String BULK_RECEIVING = "OLE_RCVB"; 1024 public static final String ELECTRONIC_INVOICE_REJECT = "OLE_EIRT"; 1025 public static final String ACQ_BATCH_UPLOAD = "OLE_ACQBTHUPLOAD"; 1026 } 1027 1028 // financial document type names 1029 @Deprecated 1030 public static final class FinancialDocumentTypeNames { 1031 public static final String GENERAL_ERROR_CORRECTION = "General Error Correction"; 1032 public static final String YEAR_END_GENERAL_ERROR_CORRECTION = "Year End General Error Correction"; 1033 public static final String DISTRIBUTION_OF_INCOME_AND_EXPENSE = "Distribution of Income and Expense"; 1034 public static final String YEAR_END_DISTRIBUTION_OF_INCOME_AND_EXPENSE = "Year End Distribution of Income and Expense"; 1035 public static final String SERVICE_BILLING = "Service Billing"; 1036 public static final String INTERNAL_BILLING = "Internal Billing"; 1037 public static final String CASH_RECEIPT = "Cash Receipt"; 1038 public static final String PROCUREMENT_CARD = "Procurement Card"; 1039 } 1040 1041 public static final class AccountingLineViewStandardBlockNames { 1042 public static final String ACTION_BLOCK = "actions"; 1043 public static final String SEQUENCE_NUMBER_BLOCK = "sequenceNumber"; 1044 public static final String SALES_TAX_BLOCK = "salesTaxInformation"; 1045 } 1046 1047 public static final class TaxRegionConstants { 1048 public static final String TAX_REGION_RATES = "taxRegionRates"; 1049 public static final String TAX_REGION_COUNTIES = "taxRegionCounties"; 1050 public static final String TAX_REGION_STATES = "taxRegionStates"; 1051 public static final String TAX_REGION_POSTAL_CODES = "taxRegionPostalCodes"; 1052 public static final String TAX_REGION_STATE_CODE = "stateCode"; 1053 public static final String TAX_REGION_COUNTY_CODE = "countyCode"; 1054 public static final String TAX_REGION_POSTAL_CODE = "postalCode"; 1055 public static final String TAX_REGION_TAX_RATE = "taxRate"; 1056 public static final String TAX_REGION_EFFECTIVE_DATE = "effectiveDate"; 1057 public static final String TAX_REGION_TYPE_CODE = "taxRegionTypeCode"; 1058 public static final String TAX_REGION_COUNTIES_SECTION_ID = "TaxRegionCounties"; 1059 public static final String TAX_REGION_STATES_SECTION_ID = "TaxRegionStates"; 1060 public static final String TAX_REGION_POSTAL_CODES_SECTION_ID = "TaxRegionPostalCodes"; 1061 public static final String TAX_REGION_RATES_SECTION_ID = "TaxRegionRates"; 1062 public static final String TAX_REGION_CREATE_SECTION_ID = "CreateTaxRegion"; 1063 1064 public static final String TAX_REGION_TYPE_CODE_COUNTY = "CNTY"; 1065 public static final String TAX_REGION_TYPE_CODE_POSTAL_CODE = "POST"; 1066 public static final String TAX_REGION_TYPE_CODE_STATE = "ST"; 1067 } 1068 1069 public static final class SubAccountType { 1070 public static final String COST_SHARE = "CS"; 1071 public static final String EXPENSE = "EX"; 1072 1073 public static final List<String> ELIGIBLE_SUB_ACCOUNT_TYPE_CODES = getEligibleSubAccountTypeCodes(); 1074 1075 private static final List<String> getEligibleSubAccountTypeCodes(){ 1076 List<String> subAccountTypeCodesList = new ArrayList<String>(); 1077 subAccountTypeCodesList.add(OLEConstants.SubAccountType.COST_SHARE); 1078 subAccountTypeCodesList.add(OLEConstants.SubAccountType.EXPENSE); 1079 return subAccountTypeCodesList; 1080 } 1081 } 1082 1083 @Deprecated // move to PDP 1084 public static final class PdpConstants { 1085 public static final String PAYMENT_OPEN_STATUS_CODE = "OPEN"; 1086 } 1087 1088 // define a set of indicators related to payments, including payee types, tax review requirements and others 1089 public static class AdHocPaymentIndicator{ 1090 public static final String EMPLOYEE_VENDOR = "E"; 1091 public static final String ALIEN_VENDOR = "A"; 1092 public static final String EMPLOYEE_PAYEE = "E"; 1093 public static final String ALIEN_PAYEE = "A"; 1094 public static final String TAX_CONTROL_REQUIRING_TAX_REVIEW = "T"; 1095 public static final String PAYMENT_REASON_REQUIRING_TAX_REVIEW = "P"; 1096 public static final String OTHER = "N"; 1097 } 1098 1099 public static class SysKimApiConstants{ 1100 public static final String ACCOUNT_SUPERVISOR_KIM_ROLE_NAME = "Account Supervisor"; 1101 public static final String CONTRACTS_AND_GRANTS_PROJECT_DIRECTOR = "Contracts & Grants Project Director"; 1102 public static final String FISCAL_OFFICER_KIM_ROLE_NAME = "Fiscal Officer"; 1103 public static final String FISCAL_OFFICER_PRIMARY_DELEGATE_KIM_ROLE_NAME = "Fiscal Officer Primary Delegate"; 1104 public static final String FISCAL_OFFICER_SECONDARY_DELEGATE_KIM_ROLE_NAME = "Fiscal Officer Secondary Delegate"; 1105 public static final String AWARD_SECONDARY_DIRECTOR_KIM_ROLE_NAME = "Award Project Director"; 1106 public static final String ACTIVE_FACULTY_OR_STAFF_KIM_ROLE_NAME = "Active Faculty or Staff"; 1107 public static final String ACTIVE_PROFESSIONAL_EMPLOYEE_KIM_ROLE_NAME = "Active Professional Employee"; 1108 public static final String ACTIVE_EMPLOYEE_AND_KFS_USER_KIM_ROLE_NAME = "Active Employee & Financial System User"; 1109 public static final String ACTIVE_PROFESSIONAL_EMPLOYEE_AND_KFS_USER_KIM_ROLE_NAME = "Active Professional Employee & Financial System User"; 1110 public static final String CHART_MANAGER_KIM_ROLE_NAME = "Chart Manager"; 1111 public static final String ORGANIZATION_REVIEWER_ROLE_NAMESPACECODE = CoreModuleNamespaces.OLE; 1112 public static final String ACCOUNTING_REVIEWER_ROLE_NAMESPACECODE = CoreModuleNamespaces.OLE; 1113 public static final String ACCOUNTING_REVIEWER_ROLE_NAME = "Accounting Reviewer"; 1114 public static final String ORGANIZATION_REVIEWER_ROLE_NAME = "Organization Reviewer"; 1115 public static final String KFS_USER_ROLE_NAME = "User"; 1116 } 1117 1118 public enum PermissionAttributeValue { 1119 SOURCE_ACCOUNTING_LINES("sourceAccountingLines"), TARGET_ACCOUNTING_LINES("targetAccountingLines"); 1120 1121 public final String value; 1122 1123 private PermissionAttributeValue(String value) { 1124 this.value = value; 1125 } 1126 } 1127 1128 public enum PermissionTemplate { 1129 DEFAULT( KRADConstants.DEFAULT_NAMESPACE, "Default"), 1130 ERROR_CORRECT_DOCUMENT( OLEConstants.CoreModuleNamespaces.OLE, "Error Correct Document"), 1131 MODIFY_ACCOUNTING_LINES(OLEConstants.CoreModuleNamespaces.OLE, "Modify Accounting Lines"), 1132 CLAIM_ELECTRONIC_PAYMENT(OLEConstants.CoreModuleNamespaces.OLE, "Claim Electronic Payment"), 1133 MODIFY_BATCH_JOB(OLEConstants.CoreModuleNamespaces.OLE, "Modify Batch Job"), 1134 EDIT_BANK_CODE(OLEConstants.CoreModuleNamespaces.OLE, "Edit Bank Code"), 1135 ADMINISTER_ROUTING_FOR_DOCUMENT(KRADConstants.KUALI_RICE_WORKFLOW_NAMESPACE, "Administer Routing for Document"), 1136 VIEW_BATCH_FILES(OLEConstants.CoreModuleNamespaces.OLE, "Administer Batch File"), 1137 UPLOAD_BATCH_INPUT_FILES(OLEConstants.CoreModuleNamespaces.OLE, "Upload Batch Input File(s)"); 1138 1139 public final String name; 1140 public final String namespace; 1141 private PermissionTemplate(String namespace, String name) { 1142 this.namespace = namespace; 1143 this.name = name; 1144 } 1145 } 1146 1147 public enum PermissionNames { 1148 EDIT_INACTIVE_ACCOUNT( OLEConstants.CoreModuleNamespaces.CHART, "Edit Inactive Account" ), 1149 SERVE_AS_ACCOUNT_MANAGER( OLEConstants.CoreModuleNamespaces.CHART, "Serve As Account Manager" ), 1150 SERVE_AS_ACCOUNT_SUPERVISOR( OLEConstants.CoreModuleNamespaces.CHART, "Serve As Account Supervisor" ), 1151 SERVE_AS_FISCAL_OFFICER( OLEConstants.CoreModuleNamespaces.CHART, "Serve As Fiscal Officer" ), 1152 SERVE_AS_FISCAL_OFFICER_DELEGATE( OLEConstants.CoreModuleNamespaces.CHART, "Serve As Fiscal Officer Delegate" ); 1153 1154 public final String name; 1155 public final String namespace; 1156 private PermissionNames(String namespace, String name) { 1157 this.namespace = namespace; 1158 this.name = name; 1159 } 1160 } 1161 1162 public static final String KFS_ACTION_CAN_ERROR_CORRECT = "canErrorCorrect"; 1163 public static final String KFS_ACTION_CAN_EDIT_BANK = "canEditBank"; 1164 1165 1166 public static final String AMOUNT_TOTALING_EDITING_MODE = "amountTotaling"; 1167 public static final String BANK_ENTRY_VIEWABLE_EDITING_MODE = "bankEntryViewable"; 1168 public static final String BANK_ENTRY_EDITABLE_EDITING_MODE = "bankEntry"; 1169 1170 public class RouteLevelNames { 1171 public static final String ACCOUNT = "Account"; 1172 public static final String ACCOUNTING_ORGANIZATION_HIERARCHY = "AccountingOrganizationHierarchy"; 1173 public static final String ACCOUNT_REVIEW_FULL_EDIT = "AccountFullEdit"; 1174 public static final String PROJECT_MANAGEMENT = "ProjectManagement"; 1175 public static final String ORGANIZATION_HIERARCHY = "OrganizationHierarchy"; 1176 } 1177 1178 public static final String ROOT_DOCUMENT_TYPE = "OLE"; 1179 public static final String FINANCIAL_SYSTEM_LEDGER_ONLY_ROOT_DOCUMENT_TYPE = "OpenLibraryEnvironmentLedgerOnlyDocument"; 1180 1181 public static class COAConstants{ 1182 public static final String FINANCIAL_SYSTEM_DOCUMENT = ROOT_DOCUMENT_TYPE; 1183 public static final String FINANCIAL_SYSTEM_TRANSACTIONAL_DOCUMENT = "OpenLibraryEnvironmentTransactionalDocument"; 1184 public static final String FINANCIAL_SYSTEM_COMPLEX_MAINTENANCE_DOCUMENT = "OpenLibraryEnvironmentComplexMaintenanceDocument"; 1185 public static final String FINANCIAL_SYSTEM_SIMPLE_MAINTENANCE_DOCUMENT = "OpenLibraryEnvironmentSimpleMaintenanceDocument"; 1186 1187 public static final String NODE_NAME_ORGANIZATION_HIERARCHY = "OrganizationHierarchy"; 1188 public static final String NODE_NAME_ACCOUNTING_ORGANIZATION_HIERARCHY = "AccountingOrganizationHierarchy"; 1189 1190 public static final String ORG_REVIEW_ROLE_ORG_ACC_ONLY_CODE = "A"; 1191 public static final String ORG_REVIEW_ROLE_ORG_ACC_ONLY_TEXT = "Organization Accounting Only"; 1192 public static final String ORG_REVIEW_ROLE_ORG_ONLY_CODE = "O"; 1193 public static final String ORG_REVIEW_ROLE_ORG_ONLY_TEXT = "Organization Only"; 1194 public static final String ORG_REVIEW_ROLE_ORG_ACC_BOTH_CODE = "B"; 1195 public static final String ORG_REVIEW_ROLE_ORG_ACC_BOTH_TEXT = "Both"; 1196 public static final String ORG_REVIEW_ROLE_DOCUMENT_TYPE_NAME = "OLE_ORR"; 1197 public static final String ORG_REVIEW_ROLE_CREATE_DELEGATION_DISPLAY_TEXT = "create delegation"; 1198 1199 } 1200 1201 public static class ReportConstants{ 1202 public static final String EMPTY_CELL_ENTRY_KEY_PREFIX = "EMPTY_CELL"; 1203 1204 public static final String TABLE_HEADER_LINE_KEY = "tableHeaderLine"; 1205 public static final String SEPARATOR_LINE_KEY = "separatorLine"; 1206 public static final String TABLE_CELL_FORMAT_KEY = "tableCellFormat"; 1207 public static final String[] FORMAT_ESCAPE_CHARACTERS = new String[]{"%", "\\"}; 1208 } 1209 1210 public static final String DOCUMENT_LOCKOUT_PARM_NM = "LOCKOUT_IND"; 1211 public static final String DOCUMENT_LOCKOUT_PARM_DESC = "This parameter is to lock document during the lockout time."; 1212 public static final String DOCUMENT_LOCKOUT_DEFAULT_MESSAGE = "DOCUMENT_LOCKOUT_DEFAULT_MESSAGE"; 1213 public static final String FROM_EMAIL_ADDRESS_PARM_NM = "FROM_EMAIL_ADDRESS"; 1214 1215 1216 // System Parameters 1217 public static final String RESULT_SUMMARY_TO_EMAIL_ADDRESSES = "RESULT_SUMMARY_TO_EMAIL_ADDRESSES"; 1218 public static final String SOURCE_URL_PARAMETER = "SOURCE_URL"; 1219 1220 public static final String REPORT_WRITER_SERVICE_PAGE_NUMBER_PLACEHOLDER = "${pageNumber}"; 1221 1222 public static class SchemaBuilder { 1223 public static final String SCHEMA_FILE_DD_VALIDATION_PLACEHOLDER_BEGIN = "${"; 1224 public static final String SCHEMA_FILE_DD_VALIDATION_PLACEHOLDER_END = "}"; 1225 public static final String XSD_VALIDATION_PREFIX = "xsd:"; 1226 public static final String DD_VALIDATION_PREFIX = "dd:"; 1227 } 1228 1229 public static class CapitalAssets { 1230 //C ==> create asset action, M ==> modify asset action 1231 public static final String CAPITAL_ASSET_CREATE_ACTION_INDICATOR = "C"; 1232 public static final String CAPITAL_ASSET_MODIFY_ACTION_INDICATOR = "M"; 1233 public static final String CAPITAL_ASSET_TAB_STATE_OPEN = "OPEN"; 1234 public static final String CAPITAL_ASSET_TAB_STATE_CLOSE = "CLOSE"; 1235 public static final String CAPITAL_ASSET_PROCESSED_IND = "N"; 1236 1237 public static final String ACCOUNTING_LINES_FOR_CAPITALIZATION_TAB_TITLE = "Accounting Lines for Capitalization"; 1238 public static final String CREATE_CAPITAL_ASSETS_TAB_TITLE = "Create Capital Assets"; 1239 public static final String MODIFY_CAPITAL_ASSETS_TAB_TITLE = "Modify Capital Assets"; 1240 1241 public static final String DISTRIBUTE_COST_EQUALLY_CODE = "2"; 1242 public static final String DISTRIBUTE_COST_EQUALLY_DESCRIPTION = "Distribute cost evenly"; 1243 public static final String DISTRIBUTE_COST_BY_INDIVIDUAL_ASSET_AMOUNT_CODE = "1"; 1244 public static final String DISTRIBUTE_COST_BY_INDIVIDUAL_ASSET_AMOUNT_DESCRIPTION = "Distribute cost by amount"; 1245 1246 public static final Integer PERCENT_SCALE = new Integer(2); 1247 public static final Integer CAPITAL_ACCOUNT_LINE_PERCENT_SCALE = new Integer(20); 1248 } 1249 1250 public static final String CREATE_TAX_REGION_FROM_LOOKUP_PARM = "createTaxRegionFromLookup"; 1251 1252 public static class OleRequisitionItem{ 1253 public static final String ORDER_HOLD_QUEUE_ROLE = "OLE_ORDQU-User"; 1254 public static final String ORDER_HOLD_QUEUE_ROLE_NAMESPACE = CoreModuleNamespaces.SELECT; 1255 public static final String ORDER_HOLD_QUEUE_ASSIGN_PERMISSION = "Assign To Others"; 1256 public static final String ORDER_HOLD_QUEUE_FROM_DATE_LAST_MODIFIED = "fromDateLastModified"; 1257 public static final String ORDER_HOLD_QUEUE_TO_DATE_LAST_MODIFIED = "toDateLastModified"; 1258 public static final String ORDER_HOLD_QUEUE_SELECTOR = "selector"; 1259 public static final String ORDER_HOLD_QUEUE_EXTERNAL_REQUESTOR = "externalRequestorName"; 1260 public static final String ORDER_HOLD_QUEUE_INTERNAL_REQUESTOR = "internalRequestorName"; 1261 public static final String ORDER_HOLD_QUEUE_EXTERNAL_REQUESTORID = "requestorId"; 1262 public static final String ORDER_HOLD_QUEUE_INTERNAL_REQUESTORID = "internalRequestorId"; 1263 public static final String ORDER_HOLD_QUEUE_REQUESTOR_FNAME = "requestorFirstName"; 1264 public static final String ORDER_HOLD_QUEUE_ASSIGN_OWN_REQ = "Assign own Requisition"; 1265 public static final String ORDER_HOLD_QUEUE_APPROVE_REQ = "Approve REQ"; 1266 } 1267 1268 public static class OleLineItemReceiving{ 1269 public static final String ADD_NEW_LINE_ITEM = "Add New Line Item"; 1270 public static final String LINE_ITEM_RECEIVING_NAMESPACE = CoreModuleNamespaces.SELECT; 1271 public static final String RECEIVED_STATUS = "Received"; 1272 public static final String SEE_COPIES_SECTION = "See Copies Section"; 1273 public static final String NOT_APPLICABLE = "N/A"; 1274 public static final String NOT_RECEIVED_STATUS="Not Received"; 1275 1276 } 1277 1278 public static class OlePaymentRequest{ 1279 public static final String CAN_CLOSE_PO = "Close Purchase Order"; 1280 public static final String PAYMENT_REQUEST_NAMESPACE = CoreModuleNamespaces.SELECT; 1281 public static final String HAS_INVOICE_TYPE = "HasInvoiceType"; 1282 public static final String HAS_PREPAID_INVOICE_TYPE = "HasPrepaidInvoiceType"; 1283 public static final String HAS_PAYMENT_METHOD = "HasPaymentMethod"; 1284 } 1285 1286 public static class OleInvoice{ 1287 public static final String INVOICE_SAVED = "Saved"; 1288 public static final String CAN_CLOSE_PO = "Close Purchase Order"; 1289 public static final String PAYMENT_REQUEST_NAMESPACE = CoreModuleNamespaces.SELECT; 1290 public static final String HAS_INVOICE_TYPE = "HasInvoiceType"; 1291 public static final String HAS_PREPAID_INVOICE_TYPE = "HasPrepaidInvoiceType"; 1292 public static final String HAS_PAYMENT_METHOD = "HasPaymentMethod"; 1293 } 1294 1295 public static class OleRequisition{ 1296 public static final String FIRM_TYPE_ORDERS = "Firm Type Requisition Edit"; 1297 public static final String OTHER_TYPE_ORDERS = "Other Type Requisition Edit"; 1298 public static final String REQUISITION_NAMESPACE = CoreModuleNamespaces.SELECT; 1299 public static final String REQUISITION = "OLE_REQS"; 1300 public static final String EDIT_OWN_DOCUMENT = "Edit Own Requisition Document"; 1301 public static final String EDIT_OWN_ASSIGNED_DOCUMENT = "Edit Own Assigned Requisition Document"; 1302 public static final String CREATE_BIBEDITOR = "Create BibEditor"; 1303 public static final String EDIT_BIBEDITOR = "Edit BibEditor"; 1304 1305 } 1306 1307 public static class OleLoadSummary{ 1308 public static final String CAN_VIEW_LOAD_SUMMARY = "View Load Summary"; 1309 public static final String CAN_SEARCH_LOAD_SUMMARY = "Search Load Summary"; 1310 public static final String LOAD_SUMMARY_NAMESPACE = CoreModuleNamespaces.SELECT; 1311 public static final String LOAD_SUMMARY = "OLE_LOADSUM"; 1312 1313 1314 } 1315 1316 public static class Vendor{ 1317 public static final String DOCUMENT_TYPE = "OLE_PVEN"; 1318 public static final String VENDOR_NAMESPACE = CoreModuleNamespaces.SELECT; 1319 public static final String BLANKET_APPROVE = "Blanket Approve Document"; 1320 public static final String VENDOR_REVIEW = "Review"; 1321 public static final String VENDOR_MANAGEMENT="Management"; 1322 public static final String BLANKET_APPROVE_VENDOR_DOCUMENT = "Blanket Approve Vendor Document"; 1323 public static final String VENDOR_REVIEW_DOCUMENT= "Review PVEN Management"; 1324 public static final String DEACTIVATE_VENDOR = "Deactivate Vendor"; 1325 public static final String CREATE_VENDOR_DIVISION = "Create Vendor Division"; 1326 public static final String EDIT_VENDOR_LINKING_NUM = "Edit Vendor Linking Number"; 1327 } 1328 1329 public static class OlePurchaseOrder{ 1330 public static final String PRINT_PURCHASE_ORDER = "Print Purchase Order"; 1331 public static final String PO_NAMESPACE = CoreModuleNamespaces.SELECT; 1332 public static final String PO_DOCUMENT_TYPE = "OLE_PO"; 1333 public static final String POR_DOCUMENT_TYPE = "OLE_POR"; 1334 public static final String POSP_DOCUMENT_TYPE = "OLE_POSP"; 1335 public static final String POV_DOCUMENT_TYPE = "OLE_POV"; 1336 public static final String EDIT_OWN_DOCUMENT = "Edit Own Requisition Document"; 1337 public static final String EDIT_VOID_DOCUMENT = "Edit Void Document"; 1338 public static final String EDIT_SPLIT_DOCUMENT = "Edit Split Document"; 1339 public static final String EDIT_REOPEN_DOCUMENT = "Edit Reopen Document"; 1340 public static final String CREATE_APO = "Create APO"; 1341 1342 } 1343 1344 1345 1346 1347 public static class BibInfoBean{ 1348 public static final String ITEM_AUTHOR = "author"; 1349 public static final String ITEM_TITLE = "title"; 1350 } 1351 public static class OrderQueue{ 1352 public static final String PRINCIPAL_NAME = "document.principalName"; 1353 public static final String TOTAL_PRICE = "TOTAL_PRICE"; 1354 public static final String DOCUMENT_TYPE = "OLE_ORDQU"; 1355 public static final String SUBMIT_ANNOTATION = "Completed from Order Hold Queue"; 1356 public static final String CANCEL_ANNOTATION = "Cancelled from Order Hold Queue"; 1357 public static final String APPROVE_ANNOTATION = " approved for "; 1358 public static final String CONSTANTS = "OrderQueueConstants"; 1359 public static final String OBJECT_ID = "objectId"; 1360 public static final String REQUISITIONS = "requisitions"; 1361 public static final String CHART_CODE = "Chart Code"; 1362 public static final String OBJECT_CODE = "Object Code"; 1363 1364 1365 // Added for OLE-1976 Order Queue Search Enhancements Starts 1366 public static final String ORDQ_REQ_DOC_NUMBER = "requisitionDocNumber"; 1367 public static final String REQ_ITM_REQ_DOC_NUMBER = "requisition.documentNumber"; 1368 public static final String ORDQ_REQ_STATUS = "requisitionStatusCode"; 1369 public static final String REQ_ITM_REQ_STATUS = "requisition.documentHeader.workflowDocument.applicationDocumentStatus"; 1370 public static final String ORDQ_VND_NAME = "vendorName"; 1371 public static final String REQ_ITM_VND_NAME = "requisition.vendorName"; 1372 public static final String ORDQ_INT_REQID = "internalRequestorId"; 1373 public static final String REQ_ITM_INT_REQID = "internalRequestorId"; 1374 public static final String ORDQ_EXT_REQID = "externalRequestorId"; 1375 public static final String REQ_ITM_EXT_REQID = "requestorId"; 1376 public static final String ORDQ_FMT_TYP_ID = "formatTypeId"; 1377 public static final String REQ_ITM_FMT_TYP_ID = "formatTypeId"; 1378 public static final String ORDQ_TITLE = "title"; 1379 public static final String REQ_ITM_TITLE = "docData.title"; 1380 public static final String ORDQ_AUTHOR = "author"; 1381 public static final String REQ_ITM_AUTHOR = "docData.author"; 1382 public static final String ORDQ_PUBLISHER = "publisher"; 1383 public static final String REQ_ITM_PUBLISHER = "docData.publisher"; 1384 public static final String ORDQ_ISBN = "isbn"; 1385 public static final String REQ_ITM_ISBN = "docData.isbn"; 1386 public static final String OLE_SUPER_SELECTOR = "OLE_Super-Selectors"; 1387 public static final String REQ_ACCT_NUM = "sourceAccountingLines.accountNumber"; 1388 public static final String ORDQ_ACCT_NUM = "accountNumber"; 1389 public static final String REQ_CHART_CODE = "sourceAccountingLines.chartOfAccountsCode"; 1390 public static final String ORDQ_CHART_CODE = "chartOfAccountsCode"; 1391 public static final String REQ_OBJ_CODE = "sourceAccountingLines.financialObjectCode"; 1392 public static final String ORDQ_OBJ_CODE = "objectCode"; 1393 1394 public static final Map<String, String> getRequisitionFieldNames() { 1395 Map<String, String> requisitionFields = new HashMap<String, String>(); 1396 requisitionFields.put(ORDQ_REQ_DOC_NUMBER, REQ_ITM_REQ_DOC_NUMBER); 1397 // requisitionFields.put(ORDQ_REQ_STATUS, REQ_ITM_REQ_STATUS); 1398 requisitionFields.put(ORDQ_VND_NAME, REQ_ITM_VND_NAME); 1399 requisitionFields.put(ORDQ_INT_REQID, REQ_ITM_INT_REQID); 1400 requisitionFields.put(ORDQ_EXT_REQID, REQ_ITM_EXT_REQID); 1401 requisitionFields.put(ORDQ_FMT_TYP_ID, REQ_ITM_FMT_TYP_ID); 1402 requisitionFields.put(ORDQ_TITLE, REQ_ITM_TITLE); 1403 requisitionFields.put(ORDQ_AUTHOR, REQ_ITM_AUTHOR); 1404 requisitionFields.put(ORDQ_ACCT_NUM, REQ_ACCT_NUM); 1405 requisitionFields.put(ORDQ_CHART_CODE, REQ_CHART_CODE); 1406 requisitionFields.put(ORDQ_OBJ_CODE, REQ_OBJ_CODE); 1407 requisitionFields.put(ORDQ_PUBLISHER, REQ_ITM_PUBLISHER); 1408 requisitionFields.put(ORDQ_ISBN, REQ_ITM_ISBN); 1409 return Collections.unmodifiableMap(requisitionFields); 1410 } 1411 1412 public static final Map<String, String> REQUISITION_FIELDS = getRequisitionFieldNames(); 1413 public static final String selectorField = "selectorUserId"; 1414 public static final String workflowStatusChangeDateFrom = "workflowStatusChangeDateFrom"; 1415 public static final String workflowStatusChangeDateTo = "workflowStatusChangeDateTo"; 1416 // Added for OLE-1976 Order Queue Search Enhancements Ends 1417 } 1418 1419 public static final String DOCSTORE_URL_KEY = "ole.docstore.url"; 1420 public static final String DOCSTORE_URL_KEY_FOR_POS = "docstore.url"; 1421 public static final String DOCSTORE_APP_URL_KEY = "ole.docstoreapp.url"; 1422 public static final String DOCSTORE_VIEW_URL_KEY = "ole.docstoreviewapp.url"; 1423 public static final String BIBEDITOR_URL_KEY = "ole.bibeditor.url"; 1424 public static final String DUBLINEDITOR_URL_KEY = "ole.dublineditor.url"; 1425 public static final String INSTANCEEDITOR_URL_KEY = "ole.instanceEditor.url"; 1426 public static final String BIBEDITOR_CREATE_URL_KEY = "ole.bibeditor.create.url"; 1427 public static final String BIBEDITOR_SEARCH_URL_KEY = "ole.bibsearch.url"; 1428 public static final String DOCSEARCH_URL_KEY = "ole.docsearch.url"; 1429 public static final String DOCSEARCH_APP_URL_KEY = "ole.docsearch.app.url"; 1430 public static final String DOCSTORE_APP_CONTENT_TYPE_KEY = "ole.docstoreapp.contenttype"; 1431 public static final String DOCSTORE_APP_CHARSET_CONTENT_TYPE_KEY = "ole.docstoreapp.charset.contenttyp"; 1432 public static final String DOCSTORE_APP_POST_DATA_KEY = "ole.docstoreapp.postdata"; 1433 public static final String DOCSTORE_APP_POST_DATA_EDIT_KEY = "ole.docstoreapp.edit.postdata"; 1434 public static final String DOCSTORE_APP_POST_DATA_DELETE_KEY = "ole.docstoreapp.delete.postdata"; 1435 public static final String DOCSTORE_FILE_KEY = "ole.docstore.file"; 1436 public static final String DOCSEARCH_ORDERQUEUE_LIMIT_KEY = "orderqueue.docsearch.maxLimit"; 1437 public static final String SPECIAL_CONDITIONS_NOTE = "Special Conditions Note"; 1438 public static final String SPECIAL_PROCESSING_INSTRUCTION_NOTE = "Special Processing Instruction Note"; 1439 public static final String PR_LOOKUP_ACTION = "prlookup.do"; 1440 public static final String BIB_LOOKUP_ACTION = "bibLookUp.do"; 1441 public static final String MANUAL_INGEST_DOCUMENT_DESCRIPTION = "YBP_Firm_Ingest"; 1442 public static final String DOCUMENT_DESCRIPTION = "YBP"; 1443 public static final String ORDER_TYPE="Firm"; 1444 1445 public static final String DOCSEARCH_LIMIT_KEY = "docsearch.noOfRows"; 1446 1447 public static final String INSTANCE_MARC_XML_STRING= "<instanceCollection>\n" + 1448 " <instance>\n" + 1449 " <instanceIdentifier></instanceIdentifier>\n" + 1450 " <oleHoldings primary=\"true\">\n" + 1451 " <holdingsIdentifier></holdingsIdentifier>\n" + 1452 " <receiptStatus></receiptStatus>\n" + 1453 " <uri></uri>\n" + 1454 " <note type=\"public\"></note>\n" + 1455 " <location primary=\"true\" status=\"permanent\">\n" + 1456 " <locationLevel>\n" + 1457 " <name></name>\n" + 1458 " <level></level>\n" + 1459 " <locationLevel>\n" + 1460 " <name></name>\n" + 1461 " <level></level>\n" + 1462 " <locationLevel>\n" + 1463 " <name></name>\n" + 1464 " <level></level>\n" + 1465 " <locationLevel>\n" + 1466 " <name></name>\n" + 1467 " <level></level>\n" + 1468 " </locationLevel>\n" + 1469 " </locationLevel>\n" + 1470 " </locationLevel>\n" + 1471 " </locationLevel>\n" + 1472 " </location>\n" + 1473 " <extension>\n" + 1474 " <additionalAttributes>\n" + 1475 " <createdBy></createdBy>\n" + 1476 " <dateEntered></dateEntered>\n" + 1477 " </additionalAttributes>\n" + 1478 " </extension>\n" + 1479 " <callNumber>\n" + 1480 " <type></type>\n" + 1481 " <prefix></prefix>\n" + 1482 " <number></number>\n" + 1483 " <shelvingScheme>\n" + 1484 " <codeValue></codeValue>\n" + 1485 " </shelvingScheme>\n" + 1486 " <shelvingOrder>\n" + 1487 " <codeValue></codeValue>\n" + 1488 " </shelvingOrder>\n" + 1489 " </callNumber>\n" + 1490 " </oleHoldings>\n" + 1491 " <items>\n" + 1492 " <item>\n" + 1493 " <staffOnlyFlag>false</staffOnlyFlag>\n" + 1494 " <fastAddFlag>false</fastAddFlag>\n" + 1495 " <extension reference=\"../../../oleHoldings/extension\"/>\n" + 1496 " </item>\n" + 1497 " </items>\n" + 1498 " </instance>\n" + 1499 "</instanceCollection>" ; 1500 1501 1502 public static final String BIB_CATEGORY_WORK = "work"; 1503 public static final String BIB_TYPE_BIBLIOGRAPHY = "bibliographic"; 1504 public static final String BIB_TYPE_INSTANCE = "instance"; 1505 public static final String BIB_FORMAT_MARC = "marc"; 1506 public static final String BIB_FORMAT_OLEML = "oleml"; 1507 public static final String ITEM_DOC_TYPE = "item"; 1508 public static final String HOLDING_DOC_TYPE = "holdings"; 1509 public static final String NEW_ITEM_ID = "NEW_ITEM"; 1510 public static final String INGEST_OPERATION = "ingest"; 1511 1512 public static final String PRORATE_BY_QTY = "QTY"; 1513 public static final String PRORATE_BY_DOLLAR = "DOLLAR"; 1514 public static final String MANUAL_PRORATE = "MANUAL"; 1515 public static final String NO_PRORATE = "NO_PRORATE"; 1516 public static final String DEFAULT_PRORATE_BY_INVOICE = "DOLLAR"; 1517 public static final String RCV_LN_ITM_IDN = "receivingLineItemIdentifier"; 1518 public static final String LN_ITM_IDN= "itemIdentifier"; 1519 1520 public static final String YEAR_END_ACCOUNTING_PERIOD_EDIT_PERMISSION = "Edit Accounting Period"; 1521 public static final String YEAR_END_ACCOUNTING_PERIOD_VIEW_PERMISSION = "View Accounting Period"; 1522 public static final String YEAR_END_ACCOUNTING_PERIOD_EDIT_DOCUMENT_ACTION = "AccountingPeriodEditAction"; 1523 public static final String YEAR_END_ACCOUNTING_PERIOD_VIEW_DOCUMENT_ACTION = "AccountingPeriodViewAction"; 1524 1525 public static class LicenseRequest{ 1526 public static final String CANCEL_ANNOTATION = "Cancelled from License Request"; 1527 public static final String APPROVE_ANNOTATION = " approved for "; 1528 public static final String REQUISITIONS = "requisitions"; 1529 public static final String REQUISITIONS_DOC_NUMBER = "documentNumber"; 1530 1531 } 1532 1533 public static final String REQ_SRC_CD = "STAN"; 1534 public static final String OLE_FS_KEYSTORE_FILE_PROPERTY = "keystore.file"; 1535 public static final String OLE_FS_DEFAULT_KEYSTORE_FILE_LOCATION_PROPERTY = "keystore.file.default"; 1536 public static final String ORD_TYPE_FIRM_FIX = "Firm, Fixed"; 1537 public static final String ITEM = "ITEM"; 1538 public static final String APPROVAL = "Approval"; 1539 public static final String FIRM_MUL_PART = "Firm (multi part)"; 1540 1541 public static final String OVER = "Over"; 1542 public static final String UNDER = "Under"; 1543 public static final String NONE = "None"; 1544 public static final String PERCENTAGE = "%"; 1545 public static final String HASH = "#"; 1546 1547 public static final String NOTES_TAB_ERROR= "document.oleFinancialNotes"; 1548 1549 public static final String HAS_VENDOR_DEPOSIT_ACCOUNT = "HasVendorDepositAccount"; 1550 public static final String CLEARING_ACCOUNT_CODE = "CLRREV"; 1551 public static final String OLE_PREPAYMENT = "OLE_Prepayment"; 1552 public static final String REQUIRES_SEPARATION_OF_DUTIES= "RequiresSeparationOfDutiesReview"; 1553 public static final String OLE_FUND_LOOKUP = "oleFundLookup.do"; 1554 public static final int START_INDEX = 24; 1555 public static final int END_INDEX = 28; 1556 public static final String BAL_TYP_CD = "CB"; 1557 public static final String FIN_DOC_STS_CD="R"; 1558 public static final String FIN_DOC_STS_APP_CD = "A"; 1559 public static final String ERROR_MSG_FOR_INSUFF_FUND = "insuff.fund.preq"; 1560 public static final String INSUFF_FUND = "Insufficient fund to continue PREQ for this account number "; 1561 1562 public static class Account { 1563 public static final String ACCOUNT_NAMESPACE = CoreModuleNamespaces.SELECT; 1564 public static final String ACCOUNT_RESTRICTIONS= "Edit Restriction"; 1565 public static final String ACCOUNT_SUFFICIENT_FUND = "Edit Sufficient fund check"; 1566 public static final String ACCOUNT_RESTRICTED_STATUS_CD = "accountRestrictedStatusCode"; 1567 public static final String ACCOUNT_SUFFICIENT_FUND_CODE = "accountSufficientFundsCode"; 1568 public static final String UPLOAD_BUDGET = "Upload Budget"; 1569 public static final String LABOR_BENEFIT_RATE_CATEGORY_CODE = "--"; 1570 1571 } 1572 1573 public static final String ERROR_AMOUNT = "error.amount"; 1574 public static final String ACCOUNT_NEW_SRC_LINE = "newSourceLine"; 1575 public static final String ACCOUNT_NEW_TRGT_LINE = "newTargetLine"; 1576 1577 1578 // Added for Jira OLE-1900 Starts 1579 1580 public static final String ITEM_LOCATION_REQUIRED = "error.itemLocation.required"; 1581 1582 public static final String ITEM_COPIESANDPARTS_SHOULDNOT_BE_GREATERTHAN_ONE_EINSTANCE = "item.Copiesandparts.shouldnot.be.greatethanone.einstance"; 1583 1584 public static final String PART_ENUMERATION_COPY = "ole.partEnumeration.copy"; 1585 1586 public static final String PART_ENUMERATION_VOLUME = "ole.partEnumeration.volume"; 1587 1588 public static final String ITEM_COPIES_ITEMCOPIES_GREATERTHAN_ITEMCOPIESORDERED = "item.copies.itemCopies.greatethan.itemCopiesOrdered"; 1589 1590 public static final String TOTAL_OF_ITEM_COPIES_ITEMCOPIES_GREATERTHAN_ITEMCOPIESORDERED = "total.of.item.copies.itemCopies.greatethan.itemCopiesOrdered"; 1591 1592 public static final String ITEM_STARTINGCOPYNUMBER_SHOULDNOT_BE_GREATERTHAN_ITEMCOPIESORDERED = "item.copies.startingCopyNumber.shouldnot.be.greatethan.itemCopiesOrdered"; 1593 1594 public static final String ADDITION_OF_ITEM_STARTINGCOPYNUMBER_AND_ITEMCOPIES_SHOULDNOT_BE_GREATERTHAN_ITEMCOPIESORDERED = "addition.of.item.startingCopyNumber.and.item.itemcopies.shouldnot.be.greatethan.itemCopiesOrdered"; 1595 1596 public static final String ITEM_ITEMCOPIES_OR_LOCATIONCOPIES_SHOULDNOT_BE_NULL = "item.itemCopies.or.locationCopies.shouldnot.be.null"; 1597 1598 public static final String ADD_COPIES_AT_LINE_ITEM_WHEN_COPIESORDERED_AND_PARTSORDERED_GREATERTHAN_1 = "add.copies.at.lineItem.when.copiesOrdered.and.partsOrdered.greaterThan.1"; 1599 1600 public static final String TOTAL_OF_ITEMCOPIES_SHOULDNOT_BE_LESSTHAN_ITEMQUANTITY = "total.of.itemcopies.shouldnot.be.lessthan.itemQuantity"; 1601 1602 public static final String LOCATION_LEVEL_CODE_INSTITUTION = "Institution"; 1603 1604 public static final String LOCATION_LEVEL_CODE_LIBRARY = "Library"; 1605 1606 public static final String LOCATION_LEVEL_CODE_CAMPUS = "Campus"; 1607 1608 public static final String LOCATION_PRIMARY = "true"; 1609 1610 public static final String LOCATION_STATUS = "temporary"; 1611 1612 public static final String OLE_DOCSTORE_RESTFUL_URL = "ole.docstore.restful.url"; 1613 1614 public static final String IDENTIFIER_TYPE = "identifierType"; 1615 1616 public static final String UUID = "UUID"; 1617 1618 public static final String OPERATION = "operation"; 1619 1620 public static final String DELETE = "delete"; 1621 1622 public static final String DOC_CATEGORY = "docCategory"; 1623 1624 public static final String DOC_TYPE = "docType"; 1625 1626 public static final String DOC_FORMAT = "docFormat"; 1627 1628 public static final String PO_RECEIPT_STATUS_PARTIALLY_RECEIVED = "PR"; 1629 1630 public static final String PO_RECEIPT_STATUS_FULLY_RECEIVED = "FR"; 1631 1632 public static final String PO_RECEIPT_STATUS_NOT_RECEIVED = "NR"; 1633 1634 public static final String DOC_NUMBER = "documentNumber"; 1635 1636 public static final String RCPT_STATUS_CD = "receiptStatusCd"; 1637 1638 public static final String PO_IDNTFR = "purchaseOrderIdentifier"; 1639 1640 public static final String RCPT_STS_DOC_TYP = "receiptStatusDocType"; 1641 1642 public static final String RCV_RCPT_STS_DOC_TYP = "RCV"; 1643 1644 public static final String RCV_RECEIPT_STATUS_RCVD = "RCVD"; 1645 1646 public static final String RCV_RECEIPT_STATUS_EXPTD = "EXP"; 1647 1648 public static final String RCV_RECEIPT_STATUS_NONE = "NON"; 1649 1650 public static final String COMMA_TO_SEPARATE_ENUMERATION = ", "; 1651 1652 public static final String DOT_TO_SEPARATE_COPIES_PARTS = "."; 1653 1654 // Added for Jira OLE-1900 Ends 1655 1656 public static final String VOLUME_NUMBER_VALIDATIONS = "error.volumeNumber.validations"; 1657 1658 public static final String VOLUME_NUMBER_REGEX_VALIDATIONS = "error.volumeNumber.regex.validations"; 1659 1660 public static final String VOLUME_NUMBER_PATTERN = "^([0-9]+,?)+$"; 1661 1662 public static final String USER_ID = "userId"; 1663 1664 public static class OlePersonRequestorLookupable { 1665 public static final String FIRST_NAME = "firstName"; 1666 public static final String LAST_NAME = "lastName"; 1667 public static final String EMAIL = "email"; 1668 public static final String EMAIL_ADDRESS = "emailAddress"; 1669 public static final String PHONE_NUMBER = "phoneNumber"; 1670 public static final String ID = "id"; 1671 public static final String REQUESTOR_TYPE_ID = "requestorTypeId"; 1672 public static final String REF_KRIM_ID = "refKrimId"; 1673 public static final String PRINCIPAL_ID = "principalId"; 1674 public static final String REQUESTOR_FIRST_NAME = "requestorFirstName"; 1675 public static final String REQUESTOR_LAST_NAME = "requestorLastName"; 1676 public static final String REQUESTOR_EMAIL = "requestorEmail"; 1677 public static final String REQUESTOR_PHONE_NUMBER = "requestorPhoneNumber"; 1678 public static final String REQUESTOR_ID = "requestorId"; 1679 public static final String NULLSTRING = "null"; 1680 public static final String EMPTY = ""; 1681 } 1682 1683 public static final String ACCOUNT_FUND_CODE = "A"; 1684 1685 public static final String OBJECT_FUND_CODE = "O"; 1686 1687 public static final int DATE_START_INDEX = 6; 1688 1689 public static final int DATE_END_INDEX = 10; 1690 1691 public static final String BLOCK_USR_KEY = "block_user"; 1692 public static final String BLOCK_USR_VAL = "Block User"; 1693 public static final String WAR_USR_KEY = "warning"; 1694 public static final String WAR_USR_VAL = "Warning"; 1695 public static final String NOT_USR_KEY = "notification"; 1696 public static final String NOT_USR_VAL = "Notification"; 1697 public static final String ROU_USR_KEY = "routing"; 1698 public static final String ROU_USR_VAL = "Routing"; 1699 public static final String ACC_NUM = "Account number "; 1700 public static final String EXC_BUD_AMT = " exceeds budget amount"; 1701 public static final String ITM_TYP_CD = "ITEM"; 1702 public static final String ITM_TYP_CD_KEY = "itemTypeCode"; 1703 public static final String PUR_AP_IDEN = "purapDocumentIdentifier"; 1704 1705 public static class SufficientFundCheck { 1706 public static String REQUISITION_SFC_CHECKING = "message.requisition.sfc.checking"; 1707 public static String INVOICE_SFC_CHECKING = "message.invoice.sfc.checking"; 1708 public static String REQUISITION_SFC_CHECKING_STRING = "Sufficient Fund Check"; 1709 public static final String ERROR_MSG_FOR_INSUFF_FUND = "insuff.fund.req"; 1710 public static final String INSUFF_FUND_REQ = "Insufficient fund to continue Requisition for this account number "; 1711 public static final String INSUFF_FUND_INV = "Insufficient fund to continue Invoice for this account number "; 1712 public static final String DATE_FORMAT = "MM/dd/yyyy"; 1713 public static final String REQ_NOTE = "Routed this document to budget approval due to insufficient fund"; 1714 public static final String PO_NOTE = "Routed this document to budget approval due to insufficient fund"; 1715 public static final String POA_NOTE = "Routed this document to budget approval due to insufficient fund"; 1716 public static final String PREQ_NOTE = "Routed this document to budget approval due to insufficient fund"; 1717 public static final String INV_NOTE = "Routed this document to budget approval due to insufficient fund"; 1718 public static final String INSUFF_FUND_POA = "Insufficient fund to continue POA for this account number "; 1719 public static final String FYI_NOTE = "Sent FYI to budget reviewer due to insufficient fund"; 1720 1721 } 1722 1723 public static class OleCopy { 1724 public static final String BIB_ID = "bibId"; 1725 public static final String LOC = "location"; 1726 public static final String INSTANCE_ID = "instanceId"; 1727 public static final String REQ_ITM_ID = "reqItemId"; 1728 public static final String PO_DOC_NUM = "poDocNum"; 1729 public static final String PO_ITM_ID = "poItemId"; 1730 public static final String COPY_NUM = "copyNumber"; 1731 public static final String COPY_ID = "copyId"; 1732 1733 1734 } 1735 public static class InvoiceDocument { 1736 public static final String VENDOR_HEADER_IDENTIFIER="vendorHeaderGeneratedIdentifier"; 1737 public static final String VENDOR_DETAIL_IDENTIFIER="vendorDetailAssignedIdentifier"; 1738 public static final String VENDOR_NUMBER="vendorNumber"; 1739 public static final String TITLE="title"; 1740 public static final String AUTHOR="author"; 1741 public static final String ISBN="isbn"; 1742 public static final String VENDOR_NAME="vendorName"; 1743 public static final String INVOICE_DOCUMENT_NUMBER = "documentNumber"; 1744 public static final String INVOICE_PURAP_DOCUMENT_IDENTIFIER = "purapDocumentIdentifier"; 1745 public static final String FDOC_NBR = "FDOC_NBR"; 1746 public static final String PO_ID = "PO_ID"; 1747 public static final String CMPNT_CD = "Invoice"; 1748 public static final String VENDOR_NOT_FOUND = "Vendor not selected"; 1749 public static final String ERROR_SELECT_INVOICE_ITEM = "error.select.invoiceItem"; 1750 public static final String ERROR_DUPLICATE_INVOICE_DATE_NUMBER_VND = "error.duplicate.invoice.date.number"; 1751 public static final String INVOICE_NUMBER = "invoiceNumber"; 1752 public static final String INVOICE_DATE = "invoiceDate"; 1753 public static final String VENDOR_GENERATED_IDENTIFIER = "vendorHeaderGeneratedIdentifier"; 1754 public static final String VENDOR_DETAIL_ASSIGNED_GENERATED_IDENTIFIER = "vendorDetailAssignedIdentifier"; 1755 public static final String INVOICE_DOCUMENT_INITIATED="Initiated"; 1756 public static final String INVOICE_DOCUMENT_STATUS_IND="purchaseOrderCurrentIndicator"; 1757 public static final String INVOICE_IDENTIFIER = "invoiceIdentifier"; 1758 public static final List<String> getItemtypeCodes() { 1759 List<String> itemTypeCodes = new ArrayList<String>(); 1760 itemTypeCodes.add(PurapConstants.ItemTypeCodes.ITEM_TYPE_FREIGHT_CODE); 1761 itemTypeCodes.add(PurapConstants.ItemTypeCodes.ITEM_TYPE_SHIP_AND_HAND_CODE); 1762 itemTypeCodes.add(PurapConstants.ItemTypeCodes.ITEM_TYPE_MIN_ORDER_CODE); 1763 itemTypeCodes.add(PurapConstants.ItemTypeCodes.ITEM_TYPE_MISC_CODE); 1764 return Collections.unmodifiableList(itemTypeCodes); 1765 } 1766 } 1767 1768 public static final String VENDOR_NOT_FOUND = "error.vendor.notFound"; 1769 public static final String NO_VENDOR = "error.no.vendor"; 1770 public static final String NO_ACC_LINE = "error.no.acc.line"; 1771 public static final String NO_ADD_ACC_LINE = "error.no.add.acc.line"; 1772 public static final String NO_RECEIVING_ADDR = "error.no.recv.addr"; 1773 public static final String NO_DELIVERY_ADDR = "error.no.delv.addr"; 1774 public static final String VENDOR_NOT_SAME = "error.vendor.notSame"; 1775 public static final String VENDOR_SELECT ="error.vendor.select"; 1776 public static final String REFRESH_VENDOR_CALLER = "vendorLookupable"; 1777 public static final String VENDOR_HEADER_IDENTIFIER="vendorHeaderGeneratedIdentifier"; 1778 public static final String VENDOR_DETAIL_IDENTIFIER="vendorDetailAssignedIdentifier"; 1779 public static final String VENDOR_ALIAS_NAME="vendorAliasName"; 1780 public static final String VENDOR_DETAILS="vendorDetail"; 1781 public static final String VENDOR_CONTRACT="vendorContract"; 1782 public static final String REFRESH_DV_VENDOR_CALLER="disbursementPayeeLookupable"; 1783 public static final String SFC_INSUFF_WARN = "Insufficient Fund to continue invoice for this account number "; 1784 public static final String ERROR_RECEIVING_EXIST="error.receiving.exist"; 1785 public static final String ERROR_SELECT_PO_ITM="error.select.purchaseOrderItem"; 1786 public static final String ERROR_SELECT_PO_ITM_FORMAT="error.select.purchaseOrderItem.format"; 1787 public static final String SUFF_FUND_CHECK = "oleSufficientFundCheck"; 1788 public static final String ERROR_SELECT_EMCUM_METHOD = "error.document.encum.required"; 1789 public static final String ERROR_SELECT_EMCUM_CON_TYP = "error.document.con.typ.required"; 1790 public static final String ERROR_SELECT_EMCUM_AMT = "error.document.enc.amt.required"; 1791 public static final String ERROR_SELECT_EXP_AMT = "error.document.exp.amt.required"; 1792 public static final String ERROR_SELECT_NOT_TYP = "error.document.not.typ.required"; 1793 public static final String ERROR_SELECT_INVALID_DATE = "error.document.invalid.date"; 1794 1795 public static final String PATRON_ID = "olePatronId"; 1796 public static final String PO_ITEM_ID = "itemIdentifier"; 1797 public static final String PO_LINE_ITEM_URL = "/" + "DocHandler.do?command=displayDocSearchView&docId="; 1798 public static final String INV_INSUFF_FUND = "Insufficient fund to continue invoice for this account number "; 1799 1800 public static final String TITLE_SORT = "Title_sort"; 1801 public static final String TITLE_DISPLAY = "Title_display"; 1802 public static final String UUID_FOR_TITLE_SORT = "uuid"; 1803 public static final String ERR_MSG_FOR_ACC_LINE =" is Restricted Account"; 1804 public static final String DOC_TYP_CD = "OLE_BA"; 1805 public static final String FDOC_APPR_CD = "A"; 1806 public static final String DOCFORMAT = "DocFormat"; 1807 1808 public static final String INVOICE_COLLAPSE_SECTIONS_ON_PO_ADD = "COLLAPSE_SECTIONS_ON_PO_ADD"; 1809 public static final String INITIAL_COLLAPSE_SECTIONS = "INITIAL_COLLAPSE_SECTIONS"; 1810 public static final String OVERVIEW_SECTION= "Document Overview"; 1811 public static final String VENDOR_INFO_SECTION = "Vendor Info"; 1812 public static final String INVOICE_INFO_SECTION = "Invoice Info"; 1813 public static final String PROCESS_TITLES_SECTION = "Process Titles"; 1814 public static final String CURRENT_ITEM_SECTION= "Current Items"; 1815 public static final String ADDITIONAL_CHARGES_SECTION = "Additional Charges"; 1816 public static final String ACCOUNT_SUMMARY_SECTION = "Account Summary"; 1817 public static final String NOTES_AND_ATTACH_SECTION = "Notes and Attachments"; 1818 public static final String ADHOC_RECIPIENT_SECTION = "Ad Hoc Recipients"; 1819 public static final String ROUTE_LOG_SECTION = "Route Log"; 1820 public static final String DELIVERY_SECTION= "Delivery"; 1821 public static final String VENDOR_SECTION= "Vendor"; 1822 public static final String TITLES_SECTION= "Titles"; 1823 public static final String PAYMENT_INFO_SECTION= "Payment Info"; 1824 public static final String ADDITIONAL_INSTUT_SECTION= "Additional Institutional Info"; 1825 public static final String RELATED_DOCUMENT_SECTION= "View Related Documents"; 1826 public static final String PAYMENT_HISTORY_SECTION= "View Payment History"; 1827 public static final String INVOICE_SECTION= "Invoice Info"; 1828 public static final String PROCESS_ITEM_SECTION= "Process Items"; 1829 public static final String GENERAL_ENTRY_SECTION= "General Ledger Pending Entries"; 1830 public static final String CREDIT_MEMO_INFO_SECTION= "Credit Memo Info"; 1831 public static final String ITEMS_SECTION= "Items"; 1832 1833 1834 public static final String DONOR_CODE = "donorCode"; 1835 public static final String OLEInvoiceView_ProcessItems_AccountingLines = "OLEInvoiceView-processItems-accountingLines_line0_line0"; 1836 public static final String ERROR_CHART_CODE_REQ = "error.required.field"; 1837 public static final String ERROR_ACC_NUMB_REQ = "error.required.field"; 1838 public static final String ERROR_OBJECT_CODE_REQ = "error.required.field"; 1839 public static final String ERROR_DONOR_CODE = "error.donor.code.doesnt.exist"; 1840 public static final String DONOR_CODE_EXISTS = "error.donor.code.exist"; 1841 public static final String DEPOSIT = "Deposit"; 1842 1843 public static final String ERROR_REASON = "error.reason"; 1844 public static final String ERROR_CANCELLATION_REASON_REQUIRED = "error.cancellation.reason.required"; 1845 public static final String QUESTION_ACTION = "/oleReqPOAskQuestion.do"; 1846 public static final String TRUE = "true"; 1847 public static final String FALSE = "false"; 1848 public static final String NON_PUBLIC = "nonPublic"; 1849 public static final String NULL = "null"; 1850 public static final String REQUISITION_CANCEL_NOTE_PREFIX = "Note entered while cancelling a Requisition :"; 1851 public static final String CANCEL_TEXT = "document.question.cancel.text"; 1852 public static final String DEFAULT_ORDER_TYPE_VALUE = "1"; 1853 public static final String ASK_LOCATION_CHANGE = "document.ask.location.change"; 1854 public static final String ITEM_LOCATION_CHANGE = "Item Location Change"; 1855 1856 public static final String ITEM_CATEGORY = "work"; 1857 public static final String ITEM_TYPE = "item"; 1858 public static final String ITEM_FORMAT = "oleml"; 1859 public static final String INVALID_ACQUISITION_NUMBER = "error.invalid.acquisition.number"; 1860 public static final String ITEM_WITHOUT_PO = "error.invalid.item.without.po"; 1861 public static final String VENDOR_CUSTOMER_NUMBER = "vendorCustomerNumber"; 1862 public static final String DOCSTORE_NODE= "-"; 1863 1864 public static final int ZERO = 0; 1865 public static final String PRINT = "print"; 1866 public static final String ELECTRONIC = "electronic"; 1867 public static final String NB_PRINT = "NB_PRINT"; 1868 public static final String NB_ELECTRONIC = "NB_ELECTRONIC"; 1869 public static final String EB_PRINT = "EB_PRINT"; 1870 public static final String EB_ELECTRONIC = "EB_ELECTRONIC"; 1871 1872 public static final String OLE_MAILER = "oleMailer"; 1873 public static final String OLE_VENDOR_EMAIL_OPTION = "Email"; 1874 public static final String OLE_VENDOR_PDF_OPTION = "Pdf"; 1875 public static final String MAIL_SUBJECT = " Purchase Order Document"; 1876 public static final String MAIL_MESSAGE_BODY = "Hi,"+"\n\n"+" Kindly find the attached Purchase Order Document."; 1877 public static final String VENDOR_TRANS_FORMAT_ID = "vendorTransmissionFormatId"; 1878 public static final String VENDOR_TRANS_TYPE_ID = "vendorTransmissionTypeId"; 1879 public static final String OLE_VENDOR_EDI_OPTION = "Edi"; 1880 public static final String PO_ID = "poItemId"; 1881 public static final String VENDOR_HDR_GEN_ID = "vendorHeaderGeneratedIdentifier"; 1882 public static final String ALIAS_TYP_ID = "aliasTypeId"; 1883 public static final String EXTERNAL_VNDR_CD = "External Vendor Code"; 1884 public static final String PRINCIPAL_ID="principalId"; 1885 public static final String FINAL_STATUS="F"; 1886 public static final String ACCOUNT_NUMBER = "accountNumber"; 1887 public static final String CHART_CODE = "chartOfAccountsCode"; 1888 public static final String FISCAL_YEAR = "universityFiscalYear"; 1889 public static final String OBJECT_CODE = "objectCode"; 1890 public static final String CHART_CODE_NOT_FOUND = "The requested Chart Code does not exist"; 1891 public static final String CHART_CODE_WILDCARD_SEARCH = "Wildcard search not applicable to chart code"; 1892 public static final String ACC_NO_NOT_FOUND = "The requested Account Number does not exist"; 1893 public static final String OBJ_CODE_NOT_FOUND = "The requested Object Code does not exist"; 1894 public static final String UNIV_FIS_YR_FOUND = "No result found for requested fiscal year"; 1895 1896 public static final String REQ_DESC="REQ_DESC"; 1897 public static final String OPERATOR_INITIALS="{OPERATOR_INITIALS}"; 1898 public static final String CURRENT_DATE_TIME="{CURRENT_DATE_TIME}"; 1899 public static final String INV_DESC = "INV_DESC"; 1900 public static final String LINE_ITEM_RCV_DESC = "LINE_ITEM_RCV_DESC"; 1901 public static final String PREQ_DESC = "PREQ_DESC"; 1902 public static final String PO_DOC_ID = "{PO_DOC_ID}"; 1903 public static final String VENDOR_NAME = "{VENDOR_NAME}"; 1904 public static final String ORDER_TYP = "{ORDER_TYPE}"; 1905 public static final String VND_ITM_ID = "{VND_ITM_ID}"; 1906 public static final String ORDER_IMPORT_REQ_DESC = "ORDER_IMPORT_REQ_DESC"; 1907 public static final String BILL_PHN_NBR = "BILL_PHN_NBR"; 1908 public static final String DELIVERY_TO_NAME = "DELIVERY_TO_NAME"; 1909 public static final String UOM = "UOM"; 1910 public static final String REQUESTOR_PERSON_NAME = "REQUESTOR_PERSON_NAME"; 1911 public static final String REQUESTOR_PERSON_PHONE_NUMBER = "REQUESTOR_PERSON_PHONE_NUMBER"; 1912 public static final String REQUESTOR_PERSON_EMAIL_ADDRESS = "REQUESTOR_PERSON_EMAIL_ADDRESS"; 1913 public static final String VENDOR_CONTRACT_DEFAULT_APO_LIMIT = "VENDOR_CONTRACT_DEFAULT_APO_LIMIT"; 1914 public static final String PURCHASE_ORDER_AUTOMATIC_INDICATIOR = "PURCHASE_ORDER_AUTOMATIC_INDICATIOR"; 1915 public static final String FIN_YEAR = "FIN_YEAR"; 1916 public static final String CHART_OF_ACC_CD = "CHART_OF_ACC_CD"; 1917 public static final String ORG_CODE = "ORG_CODE"; 1918 public static final String FUND_SRC_CD = "FUND_SRC_CD"; 1919 public static final String USE_TAX_IND = "USE_TAX_IND"; 1920 public static final String DLVR_CMPS_CD = "DLVR_CMPS_CD"; 1921 public static final String DLVR_BLDNG_OTHR_IND = "DLVR_BLDNG_OTHR_IND"; 1922 public static final String DLVR_BLDNG_CD = "DLVR_BLDNG_CD"; 1923 public static final String DLVR_BLDNG_LN_ADDR = "DLVR_BLDNG_LN_ADDR"; 1924 public static final String DLVR_BLDNG_ROOM_NBR = "DLVR_BLDNG_ROOM_NBR"; 1925 public static final String DLVR_CITY_NM = "DLVR_CITY_NM"; 1926 public static final String DLVR_STATE_CD = "DLVR_STATE_CD"; 1927 public static final String DLVR_POSTAL_CD = "DLVR_POSTAL_CD"; 1928 public static final String DLVR_CNTRY_CD = "DLVR_CNTRY_CD"; 1929 public static final String ITEM_TYPE_CD = "ITEM_TYPE_CD"; 1930 public static final String LIST_PRICE = "LIST_PRICE"; 1931 public static final String QTY = "QTY"; 1932 public static final String PO_TRNS_MTH_CD = "PO_TRNS_MTH_CD"; 1933 public static final String PO_CST_SRC_CD = "PO_CST_SRC_CD"; 1934 public static final String LOCATION = "LOCATION"; 1935 public static final String ORG_PO_LMT = "ORG_PO_LMT"; 1936 public static final String RCV_REQ_INT = "RCV_REQ_INT"; 1937 public static final String PREQ_APPRL_INT = "PREQ_APPRL_INT"; 1938 public static final String BILL_NM = "BILL_NM"; 1939 public static final String BILL_CITY_NM = "BILL_CITY_NM"; 1940 public static final String BILL_CNTRY_CD = "BILL_CNTRY_CD"; 1941 public static final String BILL_LIN_ADDR = "BILL_LIN_ADDR"; 1942 public static final String BILL_POSTAL_CD = "BILL_POSTAL_CD"; 1943 public static final String BILL_STATE_CD = "BILL_STATE_CD"; 1944 1945 public static final String ANGLE_BRACKET_LESS_THAN = "<"; 1946 public static final String ANGLE_BRACKET_GREATER_THAN = ">"; 1947 public static final String ALL_OBJ_CD = "*ALL*"; 1948 public static final String ALL = "*"; 1949 public static class OleFundLookupDocument { 1950 public static final String ACC_NAME = "accountName"; 1951 public static final String ORG_CODE = "organizationCode"; 1952 public static final String CHART_CODE = "chartOfAccountsCode"; 1953 public static final String ACC_NO = "accountNumber"; 1954 } 1955 1956 public static final String VENDOR_LINK = "/kr/inquiry.do?methodToCall=start&businessObjectClassName=org.kuali.ole.vnd.businessobject.VendorDetail&vendorHeaderGeneratedIdentifier="; 1957 public static final String VENDOR_TYPE = "Vendor Instructions Note"; 1958 public static final String NOTE_ID = "noteTypeId"; 1959 1960 public static final String CURRENCY_OVERRIDE = "error.currency.override"; 1961 1962 public static final String SOURCE_FOLDER = "SOURCE_FOLDER"; 1963 public static final String LOG_FOLDER = "LOG_FOLDER"; 1964 public static final String DESTINATION_FOLDER = "DESTINATION_FOLDER"; 1965 public static final String BACKUP_FOLDER = "BACKUP_FOLDER"; 1966 public static final String VENDOR_TRANSMISSION_FILE = "VENDOR_TRANSMISSION_FILE"; 1967 public static final String VENDOR_DIRECTORY = "VENDOR_DIRECTORY"; 1968 public static final String PARENT_FOLDER = "PARENT_FOLDER"; 1969 public static final String LIQUIBASE_GL_ACCT_BAL_LOC = "/ole-app/ole-db/ole-liquibase/ole-liquibase-changeset/src/main/resources/ole-demo/general-ledger/GL_ACCT_BALANCES_T.csv"; 1970 public static final String USER_DIR = "user.dir"; 1971 public static final String SOURCE_FISCAL_YR = "sourceFiscalYear"; 1972 public static final String DEST_FISCAL_YR = "destFiscalYear"; 1973 public static final String RUN = "run"; 1974 public static final String CARRY_FORWARD = "carryForward"; 1975 public static final String SUB_ACCT_NO = "-----"; 1976 public static final String SUB_OBJECT_CD = "---"; 1977 public static final String XLS_FORMAT = ".xls"; 1978 public static final String ROLLOVER_INGEST_SUCCESS = "ingest.successfull"; 1979 public static final String FISCAL_YR_CONTROLLER = "OLEFiscalYearRolloverController.class"; 1980 public static final String OLE_APP = "ole-app"; 1981 public static final String SAMPLE_FILE = "/Sample.xls"; 1982 public static final String PENDING_ENTRY_OPTION = "dummyBusinessObject.pendingEntryOption"; 1983 public static final String CONSOLIDATION_OPTION = "dummyBusinessObject.consolidationOption"; 1984 public static final String SUB_ACCT_NUMBER = "subAccountNumber"; 1985 public static final String BACK_LOC= "backLocation"; 1986 public static final String DOC_FORM_VALUE = "88888888"; 1987 public static final String SUB_OBJ_CD = "subObjectCode"; 1988 public static final String CONSOLIDATION = "Consolidation"; 1989 public static final String ALL_VALUE = "All"; 1990 public static final String PORTAL = "portal.do"; 1991 public static final String OLE_COPY_CSV = "OleCopyFiscalYearCSVData.groovy"; 1992 public static final String OLE_COPY_SCHEMA = "OleCopyFiscalYearData.groovy"; 1993 public static final String INVALID_FILE = "invalid.file"; 1994 public static final String REENCUM_RECURR = "ReEncumberRecuring"; 1995 public static final String ROLLOVER_DIRECTORY = "/rollover"; 1996 public static final String PO_BULK_AMEND_OUT_FILE_NM = "PurchaseOrderBulkAmendmentLog.txt"; 1997 public static final String POBA_DIRECTORY = "/poba"; 1998 public static final String POBA_FILE = "PurchaseOrderBulkAmendmentFile"; 1999 public static final String POBA_LOG_FILE = "PurchaseOrderBulkAmendmentLog"; 2000}