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.vnd;
017
018
019/**
020 * Holds constants for Vendor.
021 */
022public class VendorConstants {
023
024    public static class VendorTypes {
025        public static final String DISBURSEMENT_VOUCHER = "DV";
026        public static final String PURCHASE_ORDER = "PO";
027        public static final String SUBJECT_PAYMENT = "SP";
028        public static final String REVOLVING_FUND = "RF";
029    }
030
031    public static final String CHANGE_TO_PARENT_QUESTION_ID = "confirmVendorChangeToParent";
032    public static final String ACKNOWLEDGE_NEW_VENDOR_INFO_TEXT = "document.vendor.question.acknolwege.text";
033    public static final String ACKNOWLEDGE_NEW_VENDOR_INFO = "NewVendorAcknowledgeQuestion";
034
035    // Miscellaneous generic constants
036    public static final String NONE = "NONE";
037    public static final String CREATE_DIVISION = "create division";
038    public static final String NAME_DELIM = ", ";
039    public static final String DASH = "-";
040    public static final String VENDOR_HEADER_ATTR = "vendorHeader";
041    public static final String VENDOR_LOOKUPABLE_IMPL = "vendorLookupable";
042    public static final String VENDOR_ADDRESS_LOOKUPABLE_IMPL = "vendorAddressLookupable";
043    public static final String VENDOR_CONTRACT_LOOKUPABLE_IMPL = "vendorContractLookupable";
044    public static final int MAX_VENDOR_NAME_LENGTH = 45;
045    public static final String VENDOR_EXCLUDE_FILE_TYPE_INDENTIFIER = "vendorExcludeInputFileType";
046    public static final String EXCLUDED_MATCHED_VENDOR_STATUS = "M";
047    public static final String NON_EXCLUDED_MATCHED_VENDOR_STATUS = "N";
048    public static final String DEBARRED_VENDOR_UNPROCESSED = "U";
049    public static final String DEBARRED_VENDOR_CONFIRMED = "C";
050    public static final String DEBARRED_VENDOR_DENIED = "D";
051    public static final String DEBARRED_VENDOR_UNPROCESSED_LABEL = "Unprocessed";
052    public static final String DEBARRED_VENDOR_CONFIRMED_LABEL = "Confirmed";
053    public static final String DEBARRED_VENDOR_DENIED_LABEL = "Denied";
054
055    // Vendor Tax Types
056    public static final String TAX_TYPE_FEIN = "FEIN";
057    public static final String TAX_TYPE_SSN = "SSN";
058    public static final String TAX_TYPE_TAX = "TAX";
059
060    // VENDOR PHONE TYPES
061    public static class PhoneTypes {
062        public static final String TOLL_FREE = "TF";
063        public static final String PHONE = "PH";
064        public static final String FAX = "FX";
065        public static final String PO = "PO";
066    }
067
068    public static class AddressTypes {
069        public static final String QUOTE = "QT";
070        public static final String PURCHASE_ORDER = "PO";
071        public static final String REMIT = "RM";
072    }
073
074    // Vendor Ownership Types
075    public static class OwnerTypes {
076        public static final String NR = "NR";
077    }
078
079    public static class VendorCreateAndUpdateNotePrefixes {
080        public static final String ADD = "Add";
081        public static final String CHANGE = "Change";
082    }
083}