org.kuali.kfs.module.purap.document.validation.impl
Class PurchasingAccountsPayableErrorPathUtil

java.lang.Object
  extended by org.kuali.kfs.module.purap.document.validation.impl.PurchasingAccountsPayableErrorPathUtil

public class PurchasingAccountsPayableErrorPathUtil
extends Object

Utility class to set error path for Payment Request validations


Field Summary
protected static org.apache.log4j.Logger LOG
           
 
Constructor Summary
PurchasingAccountsPayableErrorPathUtil()
           
 
Method Summary
static void fixErrorPath(AccountingDocument financialDocument, AccountingLine accountingLine)
          Fix the GlobalVariables.getErrorMap errorPath for how payment request documents needs them in order to properly display errors on the interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static org.apache.log4j.Logger LOG
Constructor Detail

PurchasingAccountsPayableErrorPathUtil

public PurchasingAccountsPayableErrorPathUtil()
Method Detail

fixErrorPath

public static void fixErrorPath(AccountingDocument financialDocument,
                                AccountingLine accountingLine)
Fix the GlobalVariables.getErrorMap errorPath for how payment request documents needs them in order to properly display errors on the interface. This is different from other financial document accounting lines because instead payment request documents have accounting lines insides of items. Hence the error path is slightly different.

Parameters:
financialDocument - The financial document the errors will be posted to.
accountingLine - The accounting line the error will be posted on.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.