001 /*
002 * Copyright 2011 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 */
016 package org.kuali.kfs.vnd;
017
018
019 /**
020 * Holds constants for Vendor.
021 */
022 public 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
045 // Vendor Tax Types
046 public static final String TAX_TYPE_FEIN = "FEIN";
047 public static final String TAX_TYPE_SSN = "SSN";
048 public static final String TAX_TYPE_TAX = "TAX";
049
050 // VENDOR PHONE TYPES
051 public static class PhoneTypes {
052 public static final String TOLL_FREE = "TF";
053 public static final String PHONE = "PH";
054 public static final String FAX = "FX";
055 public static final String PO = "PO";
056 }
057
058 public static class AddressTypes {
059 public static final String QUOTE = "QT";
060 public static final String PURCHASE_ORDER = "PO";
061 public static final String REMIT = "RM";
062 }
063
064 // Vendor Ownership Types
065 public static class OwnerTypes {
066 public static final String NR = "NR";
067 }
068
069 public static class VendorCreateAndUpdateNotePrefixes {
070 public static final String ADD = "Add";
071 public static final String CHANGE = "Change";
072 }
073 }