| org.kuali.module.purap.rules.PurapAccountingDocumentRuleBase org.kuali.module.purap.rules.PurchasingAccountsPayableDocumentRuleBase org.kuali.module.purap.rules.AccountsPayableDocumentRuleBase org.kuali.module.purap.rules.CreditMemoDocumentRule
Method Summary | |
protected boolean | checkAccountingLineAccountAccessibility(AccountingDocument financialDocument, AccountingLine accountingLine, AccountingLineAction action) | protected boolean | checkPurchaseOrderForInvoicedItems(CreditMemoDocument cmDocument) Verifies the purchase order for the credit memo has at least one invoiced item. | protected void | customizeExplicitGeneralLedgerPendingEntry(AccountingDocument accountingDocument, AccountingLine accountingLine, GeneralLedgerPendingEntry explicitEntry) Forces GL entries to be approved before document final approval. | public boolean | processCalculateAccountsPayableBusinessRules(AccountsPayableDocument document) Validates extended price field and cm totals after a calculation has been performed. | public boolean | processCancelAccountsPayableBusinessRules(AccountsPayableDocument document) | public boolean | processContinueAccountsPayableBusinessRules(AccountsPayableDocument document) Validation that occurs when the continue action is selected from the initial screen. | protected boolean | processCustomAddAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine) Validates a new accounting line. | public boolean | processItemValidation(PurchasingAccountsPayableDocument purapDocument) Validates item lines for the document. | public boolean | processPreCalculateAccountsPayableBusinessRules(AccountsPayableDocument document) Validates item fields are valid for the calculation process. | public boolean | processValidation(PurchasingAccountsPayableDocument purapDocument) Validation that occurs on Route of the document. | protected boolean | validateInitTabReferenceNumbers(CreditMemoDocument cmDocument) Validates only one of preq, po, or vendor number was given. | protected boolean | validateInitTabRequiredFields(CreditMemoDocument cmDocument) Validates the necessary fields on the init tab were given and credit memo date is valid. | public boolean | validateItemExtendedPrice(CreditMemoDocument cmDocument, CreditMemoItem item, String errorKey) Validates the credit memo extended price for an item line. | public boolean | validateItemQuantity(CreditMemoDocument cmDocument, CreditMemoItem item, String errorKey) Validates the credit memo quantity for an item line. | public boolean | validateItemUnitPrice(CreditMemoDocument cmDocument, CreditMemoItem item, String errorKey) Validates the credit memo unit price for an item line. | public boolean | validateObjectCode(CreditMemoDocument cmDocument, PurApAccountingLine account) Validates object code of accounting line against setup rule restrictions. |
checkPurchaseOrderForInvoicedItems | protected boolean checkPurchaseOrderForInvoicedItems(CreditMemoDocument cmDocument)(Code) | | Verifies the purchase order for the credit memo has at least one invoiced item. If no invoiced items are found, a credit memo
cannot be processed against the document.
Parameters: cmDocument - - credit memo document which contains the po reference boolean - true if validation was ok, false if there were errors |
processContinueAccountsPayableBusinessRules | public boolean processContinueAccountsPayableBusinessRules(AccountsPayableDocument document)(Code) | | Validation that occurs when the continue action is selected from the initial screen.
Parameters: document - - Credit Memo Document Instance boolean - true if validation was ok, false if there were errors |
processItemValidation | public boolean processItemValidation(PurchasingAccountsPayableDocument purapDocument)(Code) | | Validates item lines for the document. Checks numeric fields to verify they are positive and compares with source quantity
and price.
Parameters: cmDocument - - credit memo document which contains the po reference boolean - true if validation was ok, false if there were errors |
processValidation | public boolean processValidation(PurchasingAccountsPayableDocument purapDocument)(Code) | | Validation that occurs on Route of the document.
Parameters: purapDocument - - Credit Memo Document Instance boolean - true if validation was ok, false if there were errors |
validateInitTabReferenceNumbers | protected boolean validateInitTabReferenceNumbers(CreditMemoDocument cmDocument)(Code) | | Validates only one of preq, po, or vendor number was given. Then validates the existence of that number.
Parameters: cmDocument - - credit memo document which contains init reference numbers boolean - true if validation was ok, false if there were errors |
validateInitTabRequiredFields | protected boolean validateInitTabRequiredFields(CreditMemoDocument cmDocument)(Code) | | Validates the necessary fields on the init tab were given and credit memo date is valid. (NOTE: formats for cm date and
number already performed by pojo conversion)
Parameters: cmDocument - - credit memo document which contains the fields that need checked boolean - true if validation was ok, false if there were errors |
validateItemExtendedPrice | public boolean validateItemExtendedPrice(CreditMemoDocument cmDocument, CreditMemoItem item, String errorKey)(Code) | | Validates the credit memo extended price for an item line.
Parameters: cmDocument - - credit memo document Parameters: item - - credit memo item Parameters: errorKey - - key to associate any generated errors with boolean - true if quantity is valid, false if invalid |
validateItemQuantity | public boolean validateItemQuantity(CreditMemoDocument cmDocument, CreditMemoItem item, String errorKey)(Code) | | Validates the credit memo quantity for an item line.
Parameters: cmDocument - - credit memo document Parameters: item - - credit memo item Parameters: errorKey - - key to associate any generated errors with boolean - true if quantity is valid, false if invalid |
validateItemUnitPrice | public boolean validateItemUnitPrice(CreditMemoDocument cmDocument, CreditMemoItem item, String errorKey)(Code) | | Validates the credit memo unit price for an item line.
Parameters: cmDocument - - credit memo document Parameters: item - - credit memo item Parameters: errorKey - - key to associate any generated errors with boolean - true if quantity is valid, false if invalid |
validateObjectCode | public boolean validateObjectCode(CreditMemoDocument cmDocument, PurApAccountingLine account)(Code) | | Validates object code of accounting line against setup rule restrictions.
Parameters: cmDocument - - credit memo document Parameters: account - - cm accounting line boolean - true if object code is valid, false if it fails a rule |
Methods inherited from org.kuali.module.purap.rules.PurchasingAccountsPayableDocumentRuleBase | protected static List getCurrentRouteLevels(KualiWorkflowDocument workflowDocument)(Code)(Java Doc) public boolean isAmountValid(AccountingDocument document, AccountingLine accountingLine)(Code)(Java Doc) public boolean isDebit(AccountingDocument financialDocument, AccountingLine accountingLine)(Code)(Java Doc) public boolean processAccountValidation(AccountingDocument accountingDocument, List<PurApAccountingLine> purAccounts, String itemLineNumber)(Code)(Java Doc) public boolean processAddItemBusinessRules(AccountingDocument financialDocument, PurApItem item)(Code)(Java Doc) protected boolean processCustomAddAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine)(Code)(Java Doc) protected boolean processCustomApproveDocumentBusinessRules(ApproveDocumentEvent approveEvent)(Code)(Java Doc) protected boolean processCustomRouteDocumentBusinessRules(Document document)(Code)(Java Doc) public boolean processDeleteAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine, boolean lineWasAlreadyDeletedFromDocument)(Code)(Java Doc) public boolean processDocumentOverviewValidation(PurchasingAccountsPayableDocument purapDocument)(Code)(Java Doc) public boolean processItemValidation(PurchasingAccountsPayableDocument purapDocument)(Code)(Java Doc) public boolean processValidation(PurchasingAccountsPayableDocument purapDocument)(Code)(Java Doc) public boolean processVendorValidation(PurchasingAccountsPayableDocument purapDocument)(Code)(Java Doc) public boolean requiresAccountValidationOnAllEnteredItems(PurchasingAccountsPayableDocument document)(Code)(Java Doc) protected boolean validateBelowTheLineValues(String documentType, PurApItem item)(Code)(Java Doc) protected boolean verifyAccountPercent(AccountingDocument accountingDocument, List<PurApAccountingLine> purAccounts, String itemLineNumber)(Code)(Java Doc) protected boolean verifyAccountingStringsBetween0And100Percent(PurApAccountingLine account, String errorPropertyName, String itemIdentifier)(Code)(Java Doc) protected boolean verifyHasAccounts(List<PurApAccountingLine> purAccounts, String itemLineNumber)(Code)(Java Doc) protected boolean verifyUniqueAccountingStrings(List<PurApAccountingLine> purAccounts, String errorPropertyName, String itemLineNumber)(Code)(Java Doc)
|
Fields inherited from org.kuali.module.purap.rules.PurapAccountingDocumentRuleBase | protected static org.apache.log4j.Logger LOG(Code)(Java Doc)
|
Methods inherited from org.kuali.module.purap.rules.PurapAccountingDocumentRuleBase | protected boolean accountIsAccessible(AccountingDocument financialDocument, AccountingLine accountingLine)(Code)(Java Doc) protected void buildTotalChangeErrorMessage(String propertyName, KualiDecimal persistedSourceLineTotal, KualiDecimal currentSourceLineTotal)(Code)(Java Doc) protected boolean checkAccountingLineAccountAccessibility(AccountingDocument financialDocument, AccountingLine accountingLine, AccountingLineAction action)(Code)(Java Doc) protected void customizeExplicitGeneralLedgerPendingEntry(AccountingDocument accountingDocument, AccountingLine accountingLine, GeneralLedgerPendingEntry explicitEntry)(Code)(Java Doc) protected boolean customizeOffsetGeneralLedgerPendingEntry(AccountingDocument accountingDocument, AccountingLine accountingLine, GeneralLedgerPendingEntry explicitEntry, GeneralLedgerPendingEntry offsetEntry)(Code)(Java Doc) protected Class getAccountingLineDocumentClass(AccountingDocument financialDocument)(Code)(Java Doc) protected KualiDecimal getGeneralLedgerPendingEntryAmountForAccountingLine(AccountingLine accountingLine)(Code)(Java Doc) protected ParameterService getParameterService()(Code)(Java Doc) final protected void handleNonExistentDocumentWhenApproving(AccountingDocument accountingDocument)(Code)(Java Doc) protected boolean hasAccessibleAccountingLines(AccountingDocument financialDocument, int min)(Code)(Java Doc) protected boolean isAccountingLineTotalsUnchanged(AccountingDocument accountingDocument)(Code)(Java Doc) protected boolean isAccountingLinesRequiredNumberForRoutingMet(AccountingDocument accountingDocument)(Code)(Java Doc) public boolean isAmountValid(AccountingDocument document, AccountingLine accountingLine)(Code)(Java Doc) final public boolean isAsset(AccountingLine accountingLine)(Code)(Java Doc) final public boolean isAssetTypeCode(String objectTypeCode)(Code)(Java Doc) final public boolean isBudgetOnlyCodesSubType(String objectCode)(Code)(Java Doc) final public boolean isCashSubType(String objectCode)(Code)(Java Doc) final public boolean isCostRecoveryExpenseSubType(String objectCode)(Code)(Java Doc) public boolean isCredit(AccountingLine accountingLine, AccountingDocument financialDocument) throws IllegalStateException(Code)(Java Doc) protected boolean isDocumentBalanceValid(AccountingDocument accountingDocument)(Code)(Java Doc) protected boolean isDocumentBalanceValidConsideringDebitsAndCredits(AccountingDocument accountingDocument)(Code)(Java Doc) protected boolean isErrorCorrection(AccountingDocument accountingDocument)(Code)(Java Doc) public boolean isExpense(AccountingLine accountingLine)(Code)(Java Doc) final public boolean isExpenseOrAsset(AccountingLine line)(Code)(Java Doc) final public boolean isFringeBenefitsSubType(String objectCode)(Code)(Java Doc) final public boolean isFundBalanceCode(String objectCode)(Code)(Java Doc) final public boolean isFundBalanceSubType(String objectCode)(Code)(Java Doc) public boolean isFundGroupAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) protected boolean isFundGroupSetBalanceValid(AccountingDocument tranDoc, Class componentClass, String parameterName)(Code)(Java Doc) final public boolean isHourlyWagesSubType(String objectCode)(Code)(Java Doc) final public boolean isIncome(AccountingLine accountingLine)(Code)(Java Doc) final public boolean isIncomeOrLiability(AccountingLine line)(Code)(Java Doc) final public boolean isLiability(AccountingLine accountingLine)(Code)(Java Doc) final public boolean isLiabilityTypeCode(String objectTypeCode)(Code)(Java Doc) final public boolean isMandatoryTransfersSubType(String objectSubTypeCode)(Code)(Java Doc) final public boolean isNonMandatoryTransfersSubType(String objectSubTypeCode)(Code)(Java Doc) public boolean isObjectCodeAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) public boolean isObjectConsolidationAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) public boolean isObjectLevelAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) public boolean isObjectSubTypeAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) public boolean isObjectTypeAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) protected boolean isOptionalOneSidedDocumentAccountingLinesRequiredNumberForRoutingMet(AccountingDocument accountingDocument)(Code)(Java Doc) final public boolean isRevenue(AccountingLine line)(Code)(Java Doc) final public boolean isSalariesSubType(String objectCode)(Code)(Java Doc) protected boolean isSourceAccountingLinesRequiredNumberForRoutingMet(AccountingDocument accountingDocument)(Code)(Java Doc) public boolean isSubFundGroupAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) protected boolean isTargetAccountingLinesRequiredNumberForRoutingMet(AccountingDocument accountingDocument)(Code)(Java Doc) final public boolean isValuationsAndAdjustmentsSubType(String objectSubTypeCode)(Code)(Java Doc) protected void populateExplicitGeneralLedgerPendingEntry(AccountingDocument accountingDocument, AccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, GeneralLedgerPendingEntry explicitEntry)(Code)(Java Doc) public boolean processAddAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine)(Code)(Java Doc) protected boolean processCustomAddAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine)(Code)(Java Doc) protected boolean processCustomApproveDocumentBusinessRules(ApproveDocumentEvent approveEvent)(Code)(Java Doc) protected boolean processCustomDeleteAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine, boolean lineWasAlreadyDeletedFromDocument)(Code)(Java Doc) protected boolean processCustomReviewAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine)(Code)(Java Doc) protected boolean processCustomRouteDocumentBusinessRules(Document document)(Code)(Java Doc) protected boolean processCustomUpdateAccountingLineBusinessRules(AccountingDocument accountingDocument, AccountingLine originalAccountingLine, AccountingLine updatedAccountingLine)(Code)(Java Doc) public boolean processDeleteAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine, boolean lineWasAlreadyDeletedFromDocument)(Code)(Java Doc) protected boolean processExplicitGeneralLedgerPendingEntry(AccountingDocument accountingDocument, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, AccountingLine accountingLine, GeneralLedgerPendingEntry explicitEntry)(Code)(Java Doc) public boolean processGenerateGeneralLedgerPendingEntries(AccountingDocument accountingDocument, AccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)(Code)(Java Doc) protected boolean processOffsetGeneralLedgerPendingEntry(AccountingDocument accountingDocument, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, AccountingLine accountingLine, GeneralLedgerPendingEntry explicitEntry, GeneralLedgerPendingEntry offsetEntry)(Code)(Java Doc) public boolean processReviewAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine)(Code)(Java Doc) public boolean processUpdateAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine, AccountingLine updatedAccountingLine)(Code)(Java Doc) public static void putRequiredPropertyError(BusinessObjectEntry boe, String propertyName)(Code)(Java Doc) protected void reportError(String propertyName, String errorKey, String... errorParams)(Code)(Java Doc) protected AccountingDocument retrievePersistedDocument(AccountingDocument accountingDocument)(Code)(Java Doc)
|
|
|