|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.rules.DocumentRuleBase
org.kuali.rice.kns.rules.TransactionalDocumentRuleBase
org.kuali.kfs.module.ar.document.validation.impl.CustomerInvoiceWriteoffDocumentRule
public class CustomerInvoiceWriteoffDocumentRule
| Constructor Summary | |
|---|---|
CustomerInvoiceWriteoffDocumentRule()
|
|
| Method Summary | |
|---|---|
boolean |
checkIfInvoiceNumberIsValid(String invDocumentNumber)
|
boolean |
checkIfThereIsNoAnotherCRMInRouteForTheInvoice(String invoiceDocumentNumber)
This method checks if there is no another CRM in route for the invoice not in route if CRM status is one of the following: processed, cancelled, or disapproved |
boolean |
checkIfThereIsNoAnotherWriteoffInRouteForTheInvoice(String invoiceDocumentNumber)
This method checks if there is no another writeoff in route for the invoice not in route if CRM status is one of the following: processed, cancelled, or disapproved |
protected boolean |
doesChartCodeHaveCorrespondingWriteoffObjectCode(CustomerInvoiceDetail customerInvoiceDetail)
This method checks if the chart object code using on the invoice detail has a corresponding |
protected boolean |
doesCustomerInvoiceDocumentHaveValidBalance(CustomerInvoiceWriteoffDocument customerInvoiceWriteoffDocument)
This method returns true if customer invoice document for writeoff does not have a credit balance (i.e. |
protected boolean |
doesOrganizationAccountingDefaultHaveWriteoffInformation(CustomerInvoiceWriteoffDocument customerInvoiceWriteoffDocument)
|
protected boolean |
doesWriteoffAccountNumberExist(OrganizationAccountingDefault organizationAccountingDefault)
This method returns true if payment account number is provided and is valid. |
protected boolean |
doesWriteoffChartOfAccountsCodeExist(OrganizationAccountingDefault organizationAccountingDefault)
This method returns true if payment chart of accounts code is provided and is valid |
protected boolean |
doesWriteoffFinancialObjectCodeExist(OrganizationAccountingDefault organizationAccountingDefault)
This method returns true if payment financial object code is provided and is valid |
boolean |
processContinueCustomerInvoiceWriteoffDocumentRules(org.kuali.rice.kns.document.TransactionalDocument document)
|
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
|
protected boolean |
processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
|
protected boolean |
validateCustomerNote(String customerNote)
|
protected boolean |
validateWriteoffGLPEGenerationInformation(CustomerInvoiceWriteoffDocument customerInvoiceWriteoffDocument)
This method validates any writeoff GLPE required information |
| Methods inherited from class org.kuali.rice.kns.rules.DocumentRuleBase |
|---|
getDataDictionaryService, getDictionaryValidationService, getDocumentHelperService, getIdentityManagementService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPersonService, getWorkflowInfoService, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processApproveDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomSendAdHocRequests, processRouteDocument, processSaveDocument, processSendAdHocRequests, setMaxDictionaryValidationDepth, validateSensitiveDataValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomerInvoiceWriteoffDocumentRule()
| Method Detail |
|---|
protected boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
processCustomSaveDocumentBusinessRules in class org.kuali.rice.kns.rules.DocumentRuleBaseDocumentRuleBase.processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.Document)protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
processCustomRouteDocumentBusinessRules in class org.kuali.rice.kns.rules.DocumentRuleBaseprotected boolean validateCustomerNote(String customerNote)
protected boolean validateWriteoffGLPEGenerationInformation(CustomerInvoiceWriteoffDocument customerInvoiceWriteoffDocument)
customerInvoiceWriteoffDocument -
protected boolean doesChartCodeHaveCorrespondingWriteoffObjectCode(CustomerInvoiceDetail customerInvoiceDetail)
customerInvoiceDetail -
protected boolean doesOrganizationAccountingDefaultHaveWriteoffInformation(CustomerInvoiceWriteoffDocument customerInvoiceWriteoffDocument)
protected boolean doesWriteoffAccountNumberExist(OrganizationAccountingDefault organizationAccountingDefault)
doc -
protected boolean doesWriteoffChartOfAccountsCodeExist(OrganizationAccountingDefault organizationAccountingDefault)
doc -
protected boolean doesWriteoffFinancialObjectCodeExist(OrganizationAccountingDefault organizationAccountingDefault)
doc -
protected boolean doesCustomerInvoiceDocumentHaveValidBalance(CustomerInvoiceWriteoffDocument customerInvoiceWriteoffDocument)
customerInvoiceWriteoffDocument -
public boolean checkIfThereIsNoAnotherCRMInRouteForTheInvoice(String invoiceDocumentNumber)
invoice -
public boolean checkIfThereIsNoAnotherWriteoffInRouteForTheInvoice(String invoiceDocumentNumber)
invoice -
public boolean processContinueCustomerInvoiceWriteoffDocumentRules(org.kuali.rice.kns.document.TransactionalDocument document)
processContinueCustomerInvoiceWriteoffDocumentRules in interface ContinueCustomerInvoiceWriteoffDocumentRule<org.kuali.rice.kns.document.TransactionalDocument>public boolean checkIfInvoiceNumberIsValid(String invDocumentNumber)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||