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.module.endow;
017    
018    
019    public class EndowKeyConstants {
020    
021        public static class SecurityReportingGroupConstants {
022            public static final String ERROR_SECURITY_REPORTING_GROUP_ORDER_DUPLICATE_VALUE = "error.document.securityReportingGroupOrder.duplicateValue";
023        }
024    
025        public static class ClassCodeConstants {
026            public static final String ERROR_ENDOWMENT_TRANSACTION_TYPE_ASSET_OR_LIABILITY = "error.docreument.classCode.endowmentTransactionType.assesOrLiability";
027            public static final String ERROR_INCOME_ENDOWMENT_TRANSACTION_POST_TYPE_INCOME = "error.document.classCode.incomeEndowmentTransactionType.income";
028            public static final String ERROR_CLASS_CODE_TYPE_CASH_EQ_REP_GRPCASH_EQ = "error.document.classCode.classCodeTypeCashEqMustHaveRepGrpCashEq";
029            public static final String ERROR_CLASS_CODE_TYPE_POOLED_INVESTMENT_MUST_HAVE_VLTN_MTHD_UNITS = "error.document.classCode.classCodeTypePooledInvestmentsMustHaveVltnMthdUnits";
030            public static final String ERROR_CLASS_CODE_TYPE_LIABILITY_MUST_HAVE_SEC_ETRAN_TYPE_LIABILITY = "error.document.classCode.classCodeTypeLiabilityMustHaveSecurityEtranTypeLiability";
031            public static final String ERROR_CLASS_CODE_TYPE_CASHEQ_OR_LIABILITY_MUST_HAVE_TAX_LOT_IND_NO = "error.document.classCode.classCodeTypeCashEqOrLiabilityMustHaveTaxLotIndicatorNo";
032        }
033    
034        public static class SecurityConstants {
035            public static final String ERROR_SECURITY_UNIT_VALUE_LESS_THAN_OR_EQ_ZERO_FOR_LIABILITIES = "error.document.security.unitValueForLiabilities";
036            public static final String ERROR_SECURITY_UNIT_VALUE_LESS_THAN_OR_EQ_ZERO_FOR_NON_LIABILITIES = "error.document.security.unitValueForNonLiabilities";
037            public static final String MESSAGE_SECURITY_IS_NINTH_DIGIT_CORRECT = "error.document.security.isNinthDigitCorrect";
038            public static final String GENERATE_SECURITY_ID_QUESTION_ID = "GenerateSecurityQuestionID";
039            public static final String ERROR_ENTERED_SECURITY_ID_SHOULD_BE_8_CHARS = "error.document.security.id";
040            public static final String EROR_NEW_SECURITY_CLASS_CODE_TYPE_MUST_EQUAL_OLD_SEC_CLASS_CODE_TYPE = "error.document.security.classCode.newClassCodeTypeMustEqOldType";
041            public static final String ERROR_SECURITY_VAL_BY_MKT_MUST_BE_EMPTY_WHEN_VAL_MTHD_UNITS = "error.document.security.valueByMarket.mustBeEmptyWhenValMthdUnits";
042            public static final String ERROR_SECURITY_UNIT_VAL_MUST_BE_EMPTY_WHEN_VAL_MTHD_MARKET = "error.document.security.unitValue.mustBeEmptyWhenValMthdMarket";
043            public static final String ERROR_SECURITY_INCOME_PAY_FREQUENCY_CODE_NOT_ENTERED = "error.document.security.mustEnterFrequnecyCode.whenPooledFundClasscodeUsed";
044        }
045    
046        public static class EndowmentTransactionConstants {
047            public static final String ERROR_GL_LINK_WITH_SAME_CHART_ALREADY_EXISTS = "error.document.endowmentTransaction.glLink.alreadyExists";
048            public static final String ERROR_ENDOWMENT_TRANSACTION_MUST_HAVE_AT_LEAST_ONE_GLLINK = "error.document.endowmentTransaction.atLeastOneGLLink";
049            public static final String ERROR_GL_LINK_CHART_CD_MUST_EQUAL_OBJECT_CHART_CD = "error.document.endowmentTransaction.glLink.chart.mustEqualObjectCodeChart";
050            public static final String ERROR_GL_LINK_OBJ_CD_ACC_CATEGORY_MUST_EQUAL_ETRAN_TYPE = "error.document.endowmentTransaction.glLink.objectCode.accCategory.mustEqualEtranType";
051        }
052    
053        public static class PooledFundValueConstants {
054            public static final String ERROR_VALUATION_DATE_IS_NOT_THE_END_OF_MONTH = "error.document.pooledFundValue.valuationDate.notTheEndOfMonth";
055            public static final String ERROR_VALUATION_DATE_IS_NOT_LATEST_ONE = "error.document.pooledFundValue.valuationDate.notTheLatestOne";
056            public static final String ERROR_UNIT_VALUE_IS_NOT_POSITIVE = "error.document.pooledFundValue.unitValue.notPositive";
057            public static final String ERROR_INCOME_DISTRIBUTION_PER_UNIT_IS_NOT_POSITIVE = "error.document.pooledFundValue.incomeDistributionPerUnit.notPositive";
058            public static final String ERROR_DISTRIBUTE_INCOME_ON_DATE_IS_REQUIRED_FIELD = "error.document.pooledFundValue.distributeIncomeOnDate.isRequiredField";
059            public static final String ERROR_DISTRIBUTE_LONG_TERM_GAIN_LOSS_ON_DATE_IS_REQUIRED_FIELD = "error.document.pooledFundValue.distributeLongTermGainLossOnDate.isRequiredField";
060            public static final String ERROR_DISTRIBUTE_SHORT_TERM_GAIN_LOSS_ON_DATE_IS_REQUIRED_FIELD = "error.document.pooledFundValue.distributeShortTermGainLossOnDate.isRequiredField";
061        }
062    
063        public static class ACIModelConstants {
064            public static final String ERROR_TOTAL_OF_ALL_PERCENTAGES_NOT_EQUAL_ONE = "error.document.aciModel.totalPercentages.notEqualOne";
065        }
066    
067        public static class PurposeConstants {
068            public static final String ERROR_INCOME_CAE_CODE_TYPE_CANNOT_BE_PRINCIPAL = "error.document.purposeCode.incomeCAECode.typeCannotBePrincipal";
069            public static final String ERROR_PRINCIPAL_CAE_CODE_TYPE_CANNOT_BE_INCOME = "error.document.purposeCode.incomeCAECode.typeCannotBeIncome";
070        }
071    
072        public static class TypeRestrictionCodeConstants {
073            public static final String ERROR_PERMANENT_INDICATOR_CANNOT_BE_NO_WHEN_TYPE_RESTRICTION_CODE_IS_P = "error.document.code.indicatorCannotBeNoWhenTypeRestrictedCodeIsP";
074            public static final String ERROR_PERMANENT_INDICATOR_CANNOT_BE_YES_WHEN_TYPE_RESTRICTION_CODE_IS_U = "error.document.code.indicatorCannotBeYesWhenTypeRestrictedCodeIsU";
075            public static final String ERROR_PERMANENT_INDICATOR_CANNOT_BE_YES_WHEN_TYPE_RESTRICTION_CODE_IS_NA = "error.document.code.indicatorCannotBeYesWhenTypeRestrictedCodeIsNA";
076            public static final String ERROR_PERMANENT_INDICATOR_CANNOT_BE_YES_WHEN_TYPE_RESTRICTION_CODE_IS_T = "error.document.code.indicatorCannotBeYesWhenTypeRestrictedCodeIsT";
077            public static final String ERROR_PERMANENT_INDICATOR_CANNOT_BE_USED_FOR_TYPE_RESTRICTION_CODE = "error.document.code.indicatorCannotBePForTypeIncRestrcode";
078        }
079    
080        public static class TypeFeeMethodCodeConstants {
081            public static final String ERROR_FEE_METHOD_CODE_CANNOT_BE_BLANK = "error.document.typeFeeMethod.feeMethodCode.cannotBeBlank";
082            public static final String ERROR_DUPLICATE_FEE_METHOD_CODE_ENTERED = "error.document.typeFeeMethod.feeMethodCode.duplicate";
083            public static final String ERROR_INVALID_FEE_METHOD_CODE_ENTERED = "error.document.typeFeeMethod.feeMethodCode.inValid";
084        }
085    
086        public static class TypeCodeConstants {
087            public static final String ERROR_INVALID_PRINCIPAL_ACI_MODEL_ID = "error.document.typeCode.principalACIModelId.indicatorShouldBePrincipal";
088        }
089    
090        public static class FeeMethodConstants {
091            public static final String ERROR_INVALID_FEE_CLASS_CODE_ENTERED = "error.document.feeClassCode.feeClassCode.inValid";
092            public static final String ERROR_BLANK_FEE_CLASS_CODE_ENTERED = "error.document.feeClassCode.feeClassCode.cannotBeBlank";
093            public static final String ERROR_DUPLICATE_FEE_CLASS_CODE_ENTERED = "error.document.feeClassCode.feeClassCode.duplicateEntered";
094            public static final String ERROR_BLANK_FEE_SECURITY_CODE_ENTERED = "error.document.feeSecurity.securityCode.cannotBeBlank";
095            public static final String ERROR_INVALID_FEE_SECURITY_CODE_ENTERED = "error.document.feeSecurity.securityCode.inValid";
096            public static final String ERROR_DUPLICATE_FEE_SECURITY_CODE_ENTERED = "error.document.feeSecurity.securityCode.duplicateEntered";
097            public static final String ERROR_BLANK_TRANSACTION_TYPE_CODE_ENTERED = "error.document.feeTransactions.transactionTypeCode.cannotBeBlank";
098            public static final String ERROR_BLANK_DOCUMENT_TYPE_NAME_ENTERED = "error.document.feeTransactions.documentTypeName.cannotBeBlank";
099            public static final String ERROR_INVALID_TRANSACTION_TYPE_CODE_ENTERED = "error.document.feeTransactions.transactionTypeCode.inValid";
100            public static final String ERROR_DUPLICATE_TRANSACTION_TYPE_CODE_ENTERED = "error.document.feeTransactions.transactionTypeCode.duplicateEntered";
101            public static final String ERROR_DUPLICATE_TRANSACTION_TYPE_NAME_ENTERED = "error.document.feeTransactions.documentTypeName.duplicateEntered";
102            public static final String ERROR_BLANK_ENDOWMENT_TRANSACTION_CODE_ENTERED = "error.document.feeEndowmentTransactionCodes.transactionTypeCode.cannotBeBlank";
103            public static final String ERROR_BLANK_PAYMENT_TYPE_CODE_ENTERED = "error.document.feePaymentType.paymentTypeCode.cannotBeBlank";
104            public static final String ERROR_DUPLICATE_PAYMENT_TYPE_CODE_ENTERED = "error.document.feePaymentType.paymentTypeCode.duplicateEntered";
105            public static final String ERROR_INVALID_ENDOWMENT_TRANSACTION_CODE_ENTERED = "error.document.feeEndowmentTransactionCodes.transactionTypeCode.inValid";
106            public static final String ERROR_DUPLICATE_ENDOWMENT_TRANSACTION_CODE_ENTERED = "error.document.feeEndowmentTransactionCodes.transactionTypeCode.duplicateEntered";
107            public static final String ERROR_INVALID_FEE_TYPE_CODE_FOR_TRANSACTIONS_ENTERED = "error.document.feeMethod.feeTypeCode.invalidValueForTransactions";
108            public static final String ERROR_NO_RECORDS_WITH_YES_IN_FEE_TRANSACTION_TYPE = "error.document.feeMethod.feeByTransactionType.noRecord";
109            public static final String ERROR_RECORDS_WITH_YES_IN_FEE_TRANSACTION_TYPE = "error.document.feeMethod.feeByTransactionType.yesRecord";
110            public static final String ERROR_INVALID_TRANSACTION_DOCUMENT_TYPE_CODE_ENTERED = "error.document.feeMethod.feeByTransactionType.invalid";
111            public static final String ERROR_INVALID_TRANSACTION_TYPE_CODE_FOR_EXPENSE_ETRANCODE = "error.document.feeMethod.feeByTransactionType.expenseTypeCode.shouldBeE";
112            public static final String ERROR_NO_RECORD_IN_ENDOWMENT_TRANSACTION_CODE = "error.document.feeMethod.feeByETranCode.invalidETranCode";
113            public static final String ERROR_NO_RECORDS_WITH_YES_IN_FEE_ENDOWMENT_TRANSACTION_CODE = "error.document.feeMethod.feeByETranCode.noRecord";
114            public static final String ERROR_RECORDS_WITH_YES_IN_FEE_ENDOWMENT_TRANSACTION_CODE = "error.document.feeMethod.feeByETranCode.yesRecord";
115            public static final String ERROR_INVALID_FEE_TYPE_CODE_FOR_BALANCE_ENTERED = "error.document.feeMethod.feeTypeCode.invalidValueForBalance";
116            public static final String ERROR_NO_RECORDS_WITH_YES_IN_FEE_CLASS_CODE = "error.document.feeMethod.feeByClassCode.noRecord";
117            public static final String ERROR_RECORDS_WITH_YES_IN_FEE_CLASS_CODE = "error.document.feeMethod.feeByClassCode.yesRecord";
118            public static final String ERROR_NO_RECORDS_WITH_YES_IN_FEE_SECURITY_CODE = "error.document.feeMethod.feeBySecurityCode.noRecord";
119            public static final String ERROR_RECORDS_WITH_YES_IN_FEE_SECURITY_CODE = "error.document.feeMethod.feeBySecurityCode.yesRecord";
120            public static final String ERROR_INVALID_FEE_BASE_CODE_FOR_PAYMENTS_ENTERED = "error.document.feeMethod.feeBaseCode.invalidValueForPayments";
121            public static final String ERROR_NO_RECORDS_WITH_YES_IN_FEE_PAYMENT_TYPE = "error.document.feeMethod.feePaymentTypes.noRecord";
122            public static final String ERROR_INVALID_FEE_BALANCE_TYPE_CODE_WHEN_COUNT_ENTERED = "error.document.feeMethod.feeBalanceTypeCode.inValidFeeBalanceTypeWhenCount";
123            public static final String ERROR_INVALID_FEE_BALANCE_TYPE_CODE_WHEN_VALUE_ENTERED = "error.document.feeMethod.feeBalanceTypeCode.inValidFeeBalanceTypeWhenValue";
124            public static final String ERROR_CORPUS_PCT_TO_TOLERANCE_NEGATIVE = "error.document.feeMethod.corpusPctTolerance.isNegative";
125            public static final String ERROR_CORPUS_PCT_TO_TOLERANCE_MUST_BE_GREATER_THAN_ONE = "error.document.feeMethod.corpusPctTolerance.shouldBeGreaterThanOne";
126            public static final String ERROR_FIRST_FEE_BREAK_POINT_MUST_BE_LESS_THAN_SECOND_FEE_BREAK_POINT = "error.document.feeMethod.firstFeeBreakpoint.shouldBeLessThan";
127            public static final String ERROR_SECOND_FEE_BREAK_POINT_MUST_BE_LESS_THAN_MAX_FEE_BREAK_POINT = "error.document.feeMethod.firstFeeBreakpoint.shouldBeLessThanMaxlimit";
128            public static final String ERROR_THIRD_FEE_RATE_MUST_BE_GREATER_THAN_ZERO = "error.document.feeMethod.thirdFeeRate.shouldBeGreaterThanZero";
129            public static final String ERROR_FIRST_FEE_RATE_CAN_NOT_BE_NEGATIVE = "error.document.feeMethod.firstFeeRate.canNotBeNegative";
130            public static final String ERROR_FIRST_FEE_BREAK_POINT_MUST_BE_GREATER_THAN_OR_ZERO = "error.document.feeMethod.firstFeeBreakpoint.shouldBeZeroOrGreater";
131            public static final String ERROR_SECOND_FEE_RATE_MUST_BE_GREATER_THAN_OR_ZERO = "error.document.feeMethod.secondFeeRate.shouldBeGreaterThanZero";
132            public static final String ERROR_SECOND_FEE_RATE_CAN_NOT_BE_NEGATIVE = "error.document.feeMethod.secondFeeRate.canNotBeNegative";
133            public static final String ERROR_THIRD_FEE_RATE_CAN_NOT_BE_NEGATIVE = "error.document.feeMethod.thirdFeeRate.canNotBeNegative";
134            public static final String ERROR_SECOND_FEE_BREAK_POINT_MUST_BE_GREATER_THAN_OR_ZERO = "error.document.feeMethod.secondFeeBreakpoint.shouldBeZeroOrGreater";
135            public static final String ERROR_FEE_MTHD_FREQ_CD_CANNOT_BE_CHANGED_IF_FEE_USED_ON_ANY_KEMID = "error.document.feeMethod.frequencyCode.canNotChangeIfFeeUsedOnAnyKemid";
136        }
137    
138        public static class KEMIDConstants {
139            public static final String ERROR_INVALID_CLOSED_CODE = "error.document.kemid.reasonClosed.invalid";
140            public static final String ERROR_HAS_OPEN_RECORDS_IN_CURRENT_CASH = "error.document.kemid.closedIndicator.cannotCloseKemid.hasOpenRecordsInCurrentCash";
141            public static final String ERROR_HAS_OPEN_RECORDS_IN_HOLDING_TAX_LOT = "error.document.kemid.closedIndicator.cannotCloseKemid.hasOpenRecordsInHoldingTaxLot";
142            public static final String ERROR_KEMID_MUST_HAVE_AT_LEAST_ONE_ACTIVE_AGREEMENT = "error.document.kemid.agreements.mustHaveAtLeastOneActiveAgreement";
143            public static final String ERROR_KEMID_ONLY_ONE_AGREEMENT_CAN_BR_MARKED_FOR_TRANSACTION_RESTR_USE = "error.document.kemid.agreements.onlyOneAgreementMarkedForTransactionRestrictionUse";
144            public static final String ERROR_KEMID_MUST_HAVE_AT_LEAST_ONE_ACTIVE_SOURCE_OF_FUNDS = "error.document.kemid.sourceOfFunds.mustHaveAtLeastOneActiveSourceOfFunds";
145            public static final String ERROR_KEMID_MUST_HAVE_AT_LEAST_ONE_ACTIVE_BENEFITTING_ORG = "error.document.kemid.benefittingOrganizations.mustHaveAtLeastOneActiveBenefittingOrg";
146            public static final String ERROR_KEMID_ACTIVE_BENE_ORGS_PCT_SUM_MUST_BE_ONE = "error.document.kemid.benefittingOrganizations.activeBeneOrgsPctSumMustBeOne";
147            public static final String ERROR_KEMID_MUST_HAVE_AT_LEAST_ONE_INCOME_GL_ACC = "error.document.kemid.glAccounts.mustHaveAtLeastOneIncomeGLAcc";
148            public static final String ERROR_KEMID_CAN_ONLY_HAVE_ONE_INCOME_GL_ACC = "error.document.kemid.glAccounts.canOnlyHaveOneIncomeGLAcc";
149            public static final String ERROR_KEMID_MUST_HAVE_AT_LEAST_ONE_ACTIVE_PRINCIPAL_GL_ACC_IF_PRINCIPAL_CD_NOT_NA = "error.document.kemid.glAccounts.mustHaveAtLeastOneActivePrincipalGLAccIfPrincipalRestrCdNotNA";
150            public static final String ERROR_KEMID_CAN_ONLY_HAVE_ONE_PRINCIPAL_GL_ACC = "error.document.kemid.glAccounts.canOnlyHaveOnePrincipalGLAccIfPrincipalRestrCdNotNA";
151            public static final String ERROR_KEMID_CAN_NOT_HAVE_A_PRINCIPAL_GL_ACC_IF_PRINCIPAL_RESTR_CD_IS_NA = "error.document.kemid.glAccounts.canNotHaveAPrincipalGLAccIfPrincipalRestrCdIsNA";
152            public static final String ERROR_KEMID_MUST_HAVE_AT_LEAST_ONE_PAYOUT_INSTRUCTION = "error.document.kemid.payoutInstructions.mustHaveAtLeastOnePayoutInstruction";
153            public static final String ERROR_KEMID_TOTAL_OFF_ALL_PAYOUT_RECORDS_MUST_BE_ONE = "error.document.kemid.payoutInstructions.theTotalOfAllNonterminatedInstructionsMustBeOne";
154            public static final String ERROR_KEMID_PAYOUT_INSTRUCTION_START_DATE_SHOULD_BE_PRIOR_TO_END_DATE = "error.document.kemid.payoutInstructions.startDateShouldBePriorToEndDate";
155            public static final String ERROR_KEMID_DONOR_STMNT_COMBINE_WITH_DONR_MUST_BE_DIFF_FROM_DONOR = "error.document.kemid.donorStatements.donorStatementCombineWithDonorMustBeDiffFromDonr";
156            public static final String ERROR_KEMID_DONOR_STMNT_TERM_RSN_CANT_BE_EMPTY_IS_TERM_DATE_ENTERED = "error.document.kemid.donorStatements.terminationReasonCantBeEmptyIfTermDateEntered";
157            public static final String ERROR_KEMID_FEE_PCT_CHRG_FEE_SUM_MUST_NOT_BE_GREATER_THAN_ONE = "error.document.kemid.fees.percentageChargedToFeeSumMustNotExceedOne";
158            public static final String ERROR_KEMID_FEE_PCT_CHRG_TO_PRIN_CANNOT_EXCEED_ZERO_IF_TYPE_RESTR_CD_NA = "error.document.kemid.fees.percentageOfFeeChargedToPrincCannotExceedZeroIfTypeRestrCdNA";
159            public static final String ERROR_KEMID_FEE_START_DATE_NOT_VALID = "error.document.kemid.fees.feeStartDateNotValid";
160            public static final String ERROR_ENTERED_KEMID_INVALID = "error.document.kemid.invalid";
161            public static final String ERROR_KEMID_MUST_HAVE_AT_LEAST_ONE_ACTIVE_AUTHORIZATION = "error.document.kemid.authorizations.mustHaveAtLeastOneActiveAuthorization";
162            public static final String ERROR_KEMID_AUTHORIZATION_ROLE_NAMESPACE_ENDOW = "error.document.kemid.authorizations.authorizationRoleMustHaveNamespaceEndow";
163        }
164    
165        public static class TicklerConstants {
166            public static final String ERROR_TICKLER_FREQUENCYORNEXTDUEDATEREQUIREMENT = "error.document.tickler.frequencyOrNextDueDateRequirement";
167            public static final String ERROR_TICKLER_FREQUENCY_NEXTDUEDATE_MISMATCH = "error.document.tickler.frequencyNextDueDateMismatch";
168            public static final String ERROR_TICKLER_PRINCIPAL_GROUP_REQUIRED = "error.document.tickler.principalGroupRequired";
169            public static final String ERROR_TICKLER_TERMINATION_DATE_GREATER_SYSTEMDATE = "error.document.tickler.terminationDateGreaterSystemDate";
170    
171    
172        }
173    
174        public static class EndowmentTransactionDocumentConstants {
175            public static final String ERROR_DOCUMENT_CORPUS_ADJUSTMENT_TRANSACTION_LINES_COUNT_GREATER_THAN_ONE = "error.document.corpusAdjustment.transactionLines.atleatOneShouldExist";
176            public static final String ERROR_TRANSACTION_LINE_KEMID_REQUIRED = "error.document.transactionLine.kemid.required";
177            public static final String ERROR_TRANSACTION_LINE_KEMID_INVALID = "error.document.transactionLine.kemid.invalid";
178            public static final String ERROR_TRANSACTION_LINE_KEMID_INACTIVE = "error.document.transactionLine.kemid.inactive";
179            public static final String ERROR_TRANSACTION_LINE_KEMID_NO_TRAN_CODE = "error.document.transactionLine.kemid.notran.code";
180            public static final String ERROR_TRANSACTION_LINE_AMOUNT_GREATER_THAN_ZERO = "error.document.transactionLine.amount.greaterthan.zero";
181            public static final String ERROR_TRANSACTION_LINE_AMOUNT_GREATER_THAN_EQUAL_ZERO = "error.document.transactionLine.amount.greaterthanEqual.zero";
182            public static final String ERROR_TRANSACTION_LINE_AMOUNT_LESS_THAN_ZERO = "error.document.transactionLine.amount.lessthan.zero";
183            public static final String ERROR_TRANSACTION_UNITS_GREATER_THAN_ZERO = "error.document.transactionLine.units.greaterthan.zero";
184            public static final String ERROR_TRANSACTION_UNITS_LESS_THAN_ZERO = "error.document.transactionLine.units.lessthan.zero";
185            public static final String ERROR_TRANSACTION_AMOUNT_UNITS_EQUAL = "error.document.transactionLine.units.amount.equal";
186            public static final String ERROR_TRANSACTION_LINE_ETRAN_REQUIRED = "error.document.transactionLine.etran.required";
187            public static final String ERROR_TRANSACTION_LINE_ETRAN_BLANK = "error.document.transactionLine.etran.blank";
188            public static final String ERROR_TRANSACTION_LINE_ETRAN_INVALID = "error.document.transactionLine.etran.invalid";
189            public static final String ERROR_ENDOWMENT_TRANSACTION_TYPE_CODE_VALIDITY = "error.document.transactionLine.etran.typecode.validity";
190            public static final String ERROR_ENDOWMENT_TRANSACTION_TYPE_CODE_VALIDITY_INCOME_EXPENSE_ASSET = "error.document.transactionLine.etran.typecode.validityIncomeExpenseOrAsset";
191            public static final String ERROR_TRANSACTION_SECURITY_REQUIRED = "error.document.transaction.security.required";
192            public static final String ERROR_TRANSACTION_REGISTRATION_CODE_REQUIRED = "error.document.transaction.registrationCode.required";
193            public static final String ERROR_TRANSACTION_SECURITY_INVALID = "error.document.transaction.security.invalid";
194            public static final String ERROR_TRANSACTION_SECURITY_INACTIVE = "error.document.transaction.security.inactive";
195            public static final String ERROR_TRANSACTION_SECURITY_CLASS_CODE_MISMATCH = "error.document.transaction.security.classCode.mismatch";
196            public static final String ERROR_TRANSACTION_SECURITY_CODE_EQUAL = "error.document.transaction.security.code.equal";
197            public static final String ERROR_TRANSACTION_DETAILS_SUB_TYPE_REQUIRED = "error.document.transaction.detail.subtype.required";
198            public static final String ERROR_TRANSACTION_REGISTRATION_CODE_INVALID = "error.document.transaction.registrationCode.invalid";
199            public static final String ERROR_TRANSACTION_REGISTRATION_CODE_INACTIVE = "error.document.transaction.registrationCode.inactive";
200            public static final String ERROR_TRANSACTION_LINE_KEMID_CAN_NOT_HAVE_A_PRINCIPAL_TRANSACTION = "error.document.transactionLine.kemid.canNotHaveAPrincipalTransaction";
201            public static final String ERROR_TRANSACTION_LINE_CHART_CODE_DOES_NOT_MATCH_FOR_PRINCIPAL = "error.document.transactionLine.etran.chartCodeDoesNotMatchForPrincipal";
202            public static final String ERROR_TRANSACTION_LINE_CHART_CODE_DOES_NOT_MATCH_FOR_INCOME = "error.document.transactionLine.etran.chartCodeDoesNotMatchForIncome";
203            public static final String ERROR_TRANSACTION_LINE_SECURITY_KEMID_CHART_CODE_DOES_NOT_MATCH = "error.document.transactionLine.security.kemid.chartCodeDoesNotMatch";
204            public static final String ERROR_TRANSACTION_LINE_BOTH_AMOUNTS_BLANK = "error.document.transactionLine.both.amountsFields.blank";
205            public static final String ERROR_TRANSACTION_LINE_BOTH_AMOUNTS_ENTERED = "error.document.transactionLine.both.amountsFields.entered";
206    
207            public static final String ERROR_FROM_TRANSACTION_LINE_COUNT_INSUFFICIENT = "error.document.from.transactionLine.count.insufficient";
208            public static final String ERROR_TO_TRANSACTION_LINE_COUNT_INSUFFICIENT = "error.document.to.transactionLine.count.insufficient";
209    
210            public static final String ERROR_TRANSACTION_LINE_TAXLOT_INVALID = "error.document.transactionLine.taxlot.invalid";
211    
212            public static final String ERROR_DELETING_TRANSACTION_LINE = "error.transactionLine.deleteRule.invalid";
213    
214            public static final String WARNING_TRANSACTION_LINE_ENDOWMENT_VALUE_REDUCTION = "warning.transactionLine.endowment.value.reduction";
215    
216            public static final String ERROR_TRANSACTION_LINE_SOURCE_TARGET_UNITS_EQUAL = "error.transactionLine.source.target.unit.equal";
217            public static final String ERROR_TRANSACTION_LINE_SOURCE_TARGET_AMOUNT_EQUAL = "error.transactionLine.source.target.amount.equal";
218    
219            public static final String WARNING_REDUCE_PERMANENTLY_RESTRICTED_FUNDS = "warning.document.transactionLine.reducePermanentlyRestrictedFunds";
220            public static final String WARNING_NO_SUFFICIENT_FUNDS = "warning.document.transactionLine.noSufficientFunds";
221    
222            public static final String ERROR_TRANSACTION_LINE_TAX_LOT_DONT_CORRESPOND = "error.document.transactionLine.taxLotsDontCorrespond";
223    
224            public static final String ERROR_TRANSACTION_LINE_TAX_LOT_UNITS_DONT_CORRESPOND = "error.document.transactionLine.taxLotsUnitsDontCorrespond";
225    
226            // Asset increase constants
227            public static final String ERROR_TRANSACTION_SECURITY_NOT_LIABILITY = "error.assetIncreaseDocument.security.notLiability";
228            public static final String ERROR_TRANSACTION_SECURITY_COMMITMENT_AMT = "error.assetIncreaseDocument.security.commitmentAmountValidation";
229    
230            // Asset decrease constants
231            public static final String ERROR_ASSET_DECREASE_INSUFFICIENT_UNITS = "error.assetDecreaseDocument.insufficientUnits";
232            public static final String ERROR_ASSET_DECREASE_TOTAL_AMOUNT_DOES_NOT_MATCH = "error.assetDecreaseDocument.totalAmountDoesNotMatch";
233            public static final String ERROR_ASSET_DECREASE_TOTAL_UNITS_DO_NOT_MATCH = "error.assetDecreaseDocument.totalUnitsDoNotMatch";
234    
235            // Unit/Share adjustment constants
236            public static final String ERROR_UNIT_SHARE_ADJUSTMENT_ADD_ONLY_SOURCE_OR_TARGET_TRAN_LINES = "error.unitShareAdjustment.addOnlySourceOrTargetTransactionLines";
237            public static final String ERROR_UNIT_SHARE_ADJUSTMENT_NO_TAX_LOTS_FOUND = "error.unitShareAdjustment.noTaxLotsFoundForKemid";
238            public static final String ERROR_UNIT_SHARE_ADJUSTMENT_TRANS_LINE_MUST_HAVE_AT_LEAST_ONE_TAX_LOT = "error.unitShareAdjustment.transactionLineMustHaveAtLeastOneTaxLotLine";
239            public static final String ERROR_UNIT_SHARE_ADJUSTMENT_MUST_HAVE_AT_LEAST_ONE_TRANS_LINE = "error.unitShareAdjustment.mustHaveAtLeastOneTransactionLine";
240            // Parser Errors
241            public static final String ERROR_LINEPARSER_INVALID_PROPERTY_VALUE = "error.lineParser.invalidPropertyValue";
242            public static final String ERROR_TRANSACTION_LINE_PARSE_INVALID = "error.transactionLineParser.line.invalid";
243            public static final String ERROR_LINEPARSER_WRONG_PROPERTY_NUMBER = "error.lineParser.wrongPropertyNumber";
244    
245            // Security Transfer constants
246            public static final String ERROR_SECURITY_TRANSFER_ONE_AND_ONLY_ONE_SOURCE_TRANS_LINE = "error.document.securityTransfer.oneAndOnlyOneTransactionLine";
247            public static final String ERROR_SECURITY_TRANSFER_ENTER_SOURCE_TRANS_LINE = "error.document.securityTransfer.enterSourceTransactionLine";
248    
249    
250            // Accounting Lines
251            public static final String ERROR_ACCT_LINE_COUNT_INSUFFICIENT = "error.document.accountingLine.count.insufficient";
252            public static final String ERROR_DELETING_ACCOUNTING_LINE = "error.accountingLine.deleteRule.invalid";
253            public static final String ERROR_ACCT_LINE_OBJECT_CODE_REQUIRED = "error.accountingLine.objectCode.required";
254            public static final String ERROR_ACCT_LINE_OBJECT_CODE_INVALID = "error.accountingLine.objectCode.invalid";
255            public static final String ERROR_ACCT_LINE_OBJECT_CODE_INACTIVE = "error.accountingLine.objectCode.inactive";
256            public static final String ERROR_ACCT_LINE_OBJECT_CODE_NOT_ASSET_LIABILITY_OR_FUND_BAL = "error.accountingLine.objectCode.notAssetLiabilityOrFundBalance";
257            public static final String ERROR_ACCT_LINE_OBJECT_TYPE_NOT_VALID = "error.accountingLine.objectCode.objectTypeNotValid";
258            public static final String ERROR_ACCT_LINE_CHART_CODE_REQUIRED = "error.accountingLine.chartCode.required";
259            public static final String ERROR_ACCT_LINE_CHART_CODE_INVALID = "error.accountingLine.chartCode.invalid";
260            public static final String ERROR_ACCT_LINE_CHART_CODE_INACTIVE = "error.accountingLine.chartCode.inactive";
261            public static final String ERROR_ACCT_LINE_ACCT_NBR_REQUIRED = "error.accountingLine.accountNumber.required";
262            public static final String ERROR_ACCT_LINE_ACCT_NBR_INVALID = "error.accountingLine.accountNumber.invalid";
263            public static final String ERROR_ACCT_LINE_ACCT_NBR_INACTIVE = "error.accountingLine.account.inactive";
264            public static final String ERROR_ACCT_LINE_ACCT_NBR_EXPIRED = "error.accountingLine.account.expired";
265            public static final String ERROR_ACCT_LINE_AMT_INVALID = "error.accountingLine.amount.invalid";
266        }
267    
268        public static class HoldingHistoryValueAdjustmentConstants {
269            public static final String ERROR_HISTORY_VALUE_ADJUSTMENT_SECURITY_ID_REQUIRED = "error.holdingHistoryValueAdjustment.securityId.required";
270            public static final String ERROR_HISTORY_VALUE_ADJUSTMENT_SECURITY_ID_INVALID = "error.holdingHistoryValueAdjustment.securityId.invalid";
271            public static final String ERROR_HISTORY_VALUE_ADJUSTMENT_SECURITY_ID_INACTIVE = "error.holdingHistoryValueAdjustment.securityId.inactive";
272            public static final String ERROR_HISTORY_VALUE_ADJUSTMENT_SECURITY_ID_NOT_LIABILITY = "error.holdingHistoryValueAdjustment.securityId.notLiability";
273            public static final String ERROR_HISTORY_VALUE_ADJUSTMENT_UNIT_VALUE_NOT_POSITIVE = "error.holdingHistoryValueAdjustment.unitValue.notPositive";
274            public static final String ERROR_HISTORY_VALUE_ADJUSTMENT_MARKET_VALUE_NOT_POSITIVE = "error.holdingHistoryValueAdjustment.marketValue.notPositive";
275            public static final String ERROR_HISTORY_VALUE_ADJUSTMENT_UNIT_VALUE_REQUIRED = "error.holdingHistoryValueAdjustment.unitValue.required";
276            public static final String ERROR_HISTORY_VALUE_ADJUSTMENT_MARKET_VALUE_REQUIRED = "error.holdingHistoryValueAdjustment.marketValue.required";
277            public static final String ERROR_HISTORY_VALUE_ADJUSTMENT_MARKET_VALUE_ENTERED_WHEN_VALUATION_METHOD_IS_UNIT_VALUE = "error.holdingHistoryValueAdjustment.marketValue.entered";
278            public static final String ERROR_HISTORY_VALUE_ADJUSTMENT_UNIT_VALUE_ENTERED_WHEN_VALUATION_METHOD_IS_MARKET_VALUE = "error.holdingHistoryValueAdjustment.unitValue.entered";
279        }
280    
281        public static class HoldingAdjustmentConstants {
282            public static final String ERROR_HOLDING_ADJUSTMENT_ADD_ONLY_SOURCE_OR_TARGET_TRAN_LINES = "error.holdingHistoryAdjustment.addOnlySourceOrTargetTransactionLines";
283            public static final String ERROR_HOLDING_ADJUSTMENT_NO_TAX_LOTS_FOUND = "error.holdingHistoryAdjustment.noTaxLotsFoundForKemid";
284            public static final String ERROR_HOLDING__ADJUSTMENT_TRANS_LINE_MUST_HAVE_AT_LEAST_ONE_TAX_LOT = "error.holdingHistoryAdjustment.transactionLineMustHaveAtLeastOneTaxLotLine";
285            public static final String ERROR_HOLDING_ADJUSTMENT_BOTH_SOURCE_AND_TARGET_TRAN_LINES_BLANK = "error.holdingHistoryAdjustment.bothTransactionLineSections.canNotBeBlank";
286        }
287    
288        public static class HoldingTaxLotRebalanceConstants {
289            public static final String ERROR_HLDG_TAX_LOT_REBALANCE_TOTAL_UNITS_NOT_BALANCED = "error.document.holdingTaxLotRebalance.totalUnits.notBalanced";
290            public static final String ERROR_HLDG_TAX_LOT_REBALANCE_TOTAL_COST_NOT_BALANCED = "error.document.holdingTaxLotRebalance.totalCost.notBalanced";
291            public static final String ERROR_HLDG_TAX_LOT_REBALANCE_UNITS_INVALID = "error.document.holdingTaxLotRebalance.units.invalid";
292            public static final String ERROR_HLDG_TAX_LOT_REBALANCE_COST_INVALID = "error.document.holdingTaxLotRebalance.cost.invalid";
293            public static final String ERROR_HLDG_TAX_LOT_REBALANCE_UNITS_COST_ZERO = "error.document.holdingTaxLotRebalance.unitsAndCost.zero";
294        }
295    
296        public static final class EndowmentAccountingLineParser {
297            public static final String ERROR_INVALID_FILE_FORMAT = "error.endowmentAccountingLineParser.invalidFileFormat";
298            public static final String ERROR_INVALID_PROPERTY_VALUE = "error.endowmentAccountingLineParser.invalidPropertyValue";
299        }
300    
301        public static final String ERROR_ENDOW_ACCOUNTING_LINES_DOCUMENT_ACCOUNTING_LINE_IMPORT_GENERAL = "error.endowmentAccountingLinesDocument.endowmentaccountinglineimport.general";
302    
303        public static final class EndowmentRecurringCashTransfer {
304            public static final String ERROR_DOCUMENT_TARGETOBJECT_EXIST = "error.document.targetObject.exist";
305            public static final String ERROR_DOCUMENT_AMOUNT_SPECIFIED_PERCENT_OR_ETRAN = "error.document.amount.specified.percent.or.etran";
306            public static final String ERROR_DOCUMENT_TOTAL_PERCENT_CANNOT_EXCEED = "error.document.total.percent.cannot.exceed";
307            public static final String ERROR_DOCUMENT_TOTAL_PERCENT_CANNOT_EXCEED_SPECIFIED_ETRAN = "error.document.total.percent.cannot.exceed.specified.etran";
308            public static final String ERROR_DOCUMENT_ETRAN_CODE_INVALID_TYPE = "error.document.etran.code.invalid.type";
309    
310        }
311    
312    }