public class SubAccountPreRules extends MaintenancePreRulesBase
SubAccount
that needs to occur while still in the Struts processing. This includes defaults, confirmations,
etc.Modifier and Type | Field and Description |
---|---|
protected SubAccount |
newSubAccount |
accountService, configService
Constructor and Description |
---|
SubAccountPreRules() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkForContinuationAccounts(String maintenanceAction)
This looks for the SubAccount's account number and then sets the values to the continuation account value if it exists
|
protected void |
copyICRFromAccount(org.kuali.rice.kns.document.MaintenanceDocument document)
This copies the Indirect Cost Rate (ICR) from the account if the SubAccount is a specific type - determined
as "EX" from
SubAccountRule#CG_A21_TYPE_ICR |
protected boolean |
doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument document)
This checks to see if a continuation account is necessary and then copies the ICR data from the Account
associated with this SubAccount (if necessary)
|
protected void |
setupConvenienceObjects(org.kuali.rice.kns.document.MaintenanceDocument document)
This method sets the convenience objects like newSubAccount, so you have short and easy handles to the new and
old objects contained in the maintenance document.
|
buildContinuationConfirmationQuestion, checkForContinuationAccount, checkForContinuationAccount, doPrompts, getAccountService, getConfigService, setAccountService, setConfigService
protected SubAccount newSubAccount
public SubAccountPreRules()
protected boolean doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument document)
doCustomPreRules
in class MaintenancePreRulesBase
MaintenancePreRulesBase.doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected void checkForContinuationAccounts(String maintenanceAction)
maintenanceAction
- protected void setupConvenienceObjects(org.kuali.rice.kns.document.MaintenanceDocument document)
document
- protected void copyICRFromAccount(org.kuali.rice.kns.document.MaintenanceDocument document)
SubAccountRule#CG_A21_TYPE_ICR
If it is "EX" it will then copy over the ICR information from the Account specified for this SubAccount
document
- Copyright © 2004–2015 The Kuali Foundation. All rights reserved.