public class OrganizationReversionPreRules extends MaintenancePreRulesBase
OrganizationReversion
that needs to occur while still in the Struts processing. This includes defaultsaccountService, configService
Constructor and Description |
---|
OrganizationReversionPreRules() |
Modifier and Type | Method and Description |
---|---|
protected void |
copyDefaultObjectcodeIfNoCarryForwardByObjectCode(OrganizationReversion orgRev)
This copies the object code from system parameter to the Organization Reversion object code field if the
"Carry Forward by Object Code" indicator is set to true
|
protected void |
copyKeyAttributesToDetail(OrganizationReversion orgRev)
This copies the chart of accounts, and the fiscal year from the parent
OrganizationReversion to the
OrganizationReversionDetail objects and refreshes the reference object on them if the values have
been filled out |
protected boolean |
doCustomPreRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
This calls the
copyKeyAttributesToDetail(OrganizationReversion) |
buildContinuationConfirmationQuestion, checkForContinuationAccount, checkForContinuationAccount, doPrompts, getAccountService, getConfigService, setAccountService, setConfigService
public OrganizationReversionPreRules()
protected boolean doCustomPreRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
copyKeyAttributesToDetail(OrganizationReversion)
doCustomPreRules
in class MaintenancePreRulesBase
org.kuali.ole.coa.document.validation.impl.MaintenancePreRulesBase#doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected void copyKeyAttributesToDetail(OrganizationReversion orgRev)
OrganizationReversion
to the
OrganizationReversionDetail
objects and refreshes the reference object on them if the values have
been filled outorgRev
- protected void copyDefaultObjectcodeIfNoCarryForwardByObjectCode(OrganizationReversion orgRev)
orgRev
- Copyright © 2004–2014 The Kuali Foundation. All rights reserved.