View Javadoc
1   /*
2    * Copyright 2007 The Kuali Foundation
3    * 
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl2.php
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.ole.vnd;
17  
18  
19  /**
20   * Holds constants for Vendor.
21   */
22  public class VendorConstants {
23  
24      public static class VendorTypes {
25          public static final String DISBURSEMENT_VOUCHER = "DV";
26          public static final String PURCHASE_ORDER = "PO";
27          public static final String SUBJECT_PAYMENT = "SP";
28          public static final String REVOLVING_FUND = "RF";
29      }
30  
31      public static final String CHANGE_TO_PARENT_QUESTION_ID = "confirmVendorChangeToParent";
32      public static final String ACKNOWLEDGE_NEW_VENDOR_INFO_TEXT = "document.vendor.question.acknolwege.text";
33      public static final String ACKNOWLEDGE_NEW_VENDOR_INFO = "NewVendorAcknowledgeQuestion";
34  
35      // Miscellaneous generic constants
36      public static final String NONE = "NONE";
37      public static final String CREATE_DIVISION = "create division";
38      public static final String NAME_DELIM = ", ";
39      public static final String DASH = "-";
40      public static final String VENDOR_HEADER_ATTR = "vendorHeader";
41      public static final String VENDOR_LOOKUPABLE_IMPL = "vendorLookupable";
42      public static final String VENDOR_ADDRESS_LOOKUPABLE_IMPL = "vendorAddressLookupable";
43      public static final String VENDOR_CONTRACT_LOOKUPABLE_IMPL = "vendorContractLookupable";
44      public static final int MAX_VENDOR_NAME_LENGTH = 45;
45      public static final String VENDOR_EXCLUDE_FILE_TYPE_INDENTIFIER = "vendorExcludeInputFileType";
46      public static final String EXCLUDED_MATCHED_VENDOR_STATUS = "M";
47      public static final String NON_EXCLUDED_MATCHED_VENDOR_STATUS = "N";
48      public static final String DEBARRED_VENDOR_UNPROCESSED = "U";
49      public static final String DEBARRED_VENDOR_CONFIRMED = "C";
50      public static final String DEBARRED_VENDOR_DENIED = "D";
51      public static final String DEBARRED_VENDOR_UNPROCESSED_LABEL = "Unprocessed";
52      public static final String DEBARRED_VENDOR_CONFIRMED_LABEL = "Confirmed";
53      public static final String DEBARRED_VENDOR_DENIED_LABEL = "Denied";
54  
55      // Vendor Tax Types
56      public static final String TAX_TYPE_FEIN = "FEIN";
57      public static final String TAX_TYPE_SSN = "SSN";
58      public static final String TAX_TYPE_TAX = "TAX";
59  
60      // VENDOR PHONE TYPES
61      public static class PhoneTypes {
62          public static final String TOLL_FREE = "TF";
63          public static final String PHONE = "PH";
64          public static final String FAX = "FX";
65          public static final String PO = "PO";
66      }
67  
68      public static class AddressTypes {
69          public static final String QUOTE = "QT";
70          public static final String PURCHASE_ORDER = "PO";
71          public static final String REMIT = "RM";
72      }
73  
74      // Vendor Ownership Types
75      public static class OwnerTypes {
76          public static final String NR = "NR";
77      }
78  
79      public static class VendorCreateAndUpdateNotePrefixes {
80          public static final String ADD = "Add";
81          public static final String CHANGE = "Change";
82      }
83  }