01: /*
02: * Copyright 2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
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.module.vendor;
17:
18: /**
19: * Holds constants for Vendor.
20: */
21: public class VendorConstants {
22:
23: public static class Workgroups {
24: public static final String WORKGROUP_PURCHASING = "PURCHASING_GROUP";
25: public static final String WORKGROUP_VENDOR_CONTRACT = "VENDOR_CONTRACT_GROUP";
26: public static final String WORKGROUP_TAXNBR_ACCESSIBLE = "TAXNBR_ACCESSIBLE_GROUP";
27: }
28:
29: public static final String ACKNOWLEDGE_NEW_VENDOR_INFO_TEXT = "document.vendor.question.acknolwege.text";
30: public static final String ACKNOWLEDGE_NEW_VENDOR_INFO = "NewVendorAcknowledgeQuestion";
31:
32: // Miscellaneous generic constants
33: public static final String NONE = "NONE";
34: public static final String CREATE_NEW_DIVISION = "create division";
35: public static final String NAME_DELIM = ", ";
36: public static final String DASH = "-";
37: public static final String VENDOR_HEADER_ATTR = "vendorHeader";
38: public static final String VENDOR_LOOKUPABLE_IMPL = "vendorLookupable";
39: public static final String VENDOR_ADDRESS_LOOKUPABLE_IMPL = "vendorAddressLookupable";
40: public static final String VENDOR_CONTRACT_LOOKUPABLE_IMPL = "vendorContractLookupable";
41:
42: // Vendor Tax Types
43: public static final String TAX_TYPE_FEIN = "FEIN";
44: public static final String TAX_TYPE_SSN = "SSN";
45:
46: // VENDOR PHONE TYPES
47: public static class PhoneTypes {
48: public static final String TOLL_FREE = "TF";
49: public static final String PHONE = "PH";
50: public static final String FAX = "FX";
51: public static final String PO = "PO";
52: }
53:
54: public static class AddressTypes {
55: public static final String PURCHASE_ORDER = "PO";
56: public static final String REMIT = "RM";
57: }
58:
59: // Vendor Ownership Types
60: public static class OwnerTypes {
61: public static final String NR = "NR";
62: }
63:
64: public static class VendorCreateAndUpdateNotePrefixes {
65: public static final String ADD = "Add";
66: public static final String CHANGE = "Change";
67: }
68: }
|