public class AccountsReceivableModuleBillingServiceImpl extends Object implements AccountsReceivableModuleBillingService
Modifier and Type | Field and Description |
---|---|
protected org.kuali.rice.krad.service.BusinessObjectService |
businessObjectService |
protected org.kuali.rice.core.api.config.property.ConfigurationService |
configurationService |
protected ContractsGrantsInvoiceDocumentService |
contractsGrantsInvoiceDocumentService |
protected org.kuali.rice.krad.service.KualiModuleService |
kualiModuleService |
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
parameterService |
Constructor and Description |
---|
AccountsReceivableModuleBillingServiceImpl() |
Modifier and Type | Method and Description |
---|---|
org.kuali.rice.core.api.util.type.KualiDecimal |
calculateTotalPaymentsToDateByAward(Long proposalNumber)
This method calculates total payments to date by Award using ContractsGrantsInvoiceDocumentService
|
List<String> |
checkAwardContractControlAccounts(ContractsAndGrantsBillingAward award)
This method checks the Contract Control account set for Award Account based on award's invoicing option.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getAwardBilledToDateAmount(ContractsAndGrantsBillingAward award)
If milestone or pre-determined billing billing frequency on the award, adds up the milestones or the bills which have been billed; otherwise looks at the amount billed so far against the award based on the AwardAccountObjectCodeTotalBilled table
|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
org.kuali.rice.core.api.config.property.ConfigurationService |
getConfigurationService() |
ContractsGrantsInvoiceDocumentService |
getContractsGrantsInvoiceDocumentService() |
String |
getContractsGrantsInvoiceDocumentType()
Gets the Contracts & Grants Invoice Document Type
|
String |
getDefaultBillingFrequency()
Gets the Default Billing Frequency code
|
String |
getDefaultDunningCampaignCode()
Gets the Default Dunning Campaign code
|
String |
getDefaultInvoicingOption()
Gets the Default Invoicing Option code
|
org.kuali.rice.krad.service.KualiModuleService |
getKualiModuleService() |
Date |
getLastBilledDate(ContractsAndGrantsBillingAward award)
Calculate the lastBilledDate for the Award based on it's AwardAccounts
|
AccountsReceivableMilestoneSchedule |
getMilestoneSchedule()
This method returns a new instance of the MilestoneSchedule class.
|
org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService() |
AccountsReceivablePredeterminedBillingSchedule |
getPredeterminedBillingSchedule()
This method returns a new instance of the PredeterminedBillingSchedule class.
|
boolean |
hasActiveBills(Long proposalNumber)
Checks to see if the award corresponding to the passed in proposalNumber has active
Bills associated with it.
|
boolean |
hasActiveMilestones(Long proposalNumber)
Checks to see if the award corresponding to the passed in proposalNumber has active
Milestones associated with it.
|
boolean |
hasMilestoneSchedule(Long proposalNumber)
Checks to see if the award corresponding to the passed in proposalNumber has a
MilestoneSchedule associated with it.
|
boolean |
hasPredeterminedBillingSchedule(Long proposalNumber)
Checks to see if the award corresponding to the passed in proposalNumber has a
PredeterminedBillingSchedule associated with it.
|
boolean |
isContractsGrantsBillingEnhancementActive()
Determines whether the CG and Billing Enhancements are on from the system parameters
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService configurationService) |
void |
setContractsGrantsInvoiceDocumentService(ContractsGrantsInvoiceDocumentService contractsGrantsInvoiceDocumentService) |
void |
setKualiModuleService(org.kuali.rice.krad.service.KualiModuleService kualiModuleService) |
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
protected org.kuali.rice.krad.service.BusinessObjectService businessObjectService
protected ContractsGrantsInvoiceDocumentService contractsGrantsInvoiceDocumentService
protected org.kuali.rice.krad.service.KualiModuleService kualiModuleService
protected org.kuali.rice.core.api.config.property.ConfigurationService configurationService
protected org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService
public AccountsReceivableModuleBillingServiceImpl()
public org.kuali.rice.core.api.util.type.KualiDecimal getAwardBilledToDateAmount(ContractsAndGrantsBillingAward award)
getAwardBilledToDateAmount
in interface AccountsReceivableModuleBillingService
award
- the award to find the total billed to date fororg.kuali.kfs.integration.ar.AccountsReceivableModuleBillingService#getAwardBilledToDateAmountForAward(org.kuali.kfs.integration.cg.ContractsAndGrantsBillingAward)
public org.kuali.rice.core.api.util.type.KualiDecimal calculateTotalPaymentsToDateByAward(Long proposalNumber)
AccountsReceivableModuleBillingService
calculateTotalPaymentsToDateByAward
in interface AccountsReceivableModuleBillingService
proposalNumber
- This
method calculates total payments to date by Award using ContractsGrantsInvoiceDocumentService
public AccountsReceivableMilestoneSchedule getMilestoneSchedule()
AccountsReceivableModuleBillingService
getMilestoneSchedule
in interface AccountsReceivableModuleBillingService
public AccountsReceivablePredeterminedBillingSchedule getPredeterminedBillingSchedule()
AccountsReceivableModuleBillingService
getPredeterminedBillingSchedule
in interface AccountsReceivableModuleBillingService
public Date getLastBilledDate(ContractsAndGrantsBillingAward award)
AccountsReceivableModuleBillingService
getLastBilledDate
in interface AccountsReceivableModuleBillingService
award
- the Award used to calculate lastBilledDateorg.kuali.kfs.integration.ar.AccountsReceivableModuleService#getLastBilledDate(java.lang.Long)
public List<String> checkAwardContractControlAccounts(ContractsAndGrantsBillingAward award)
AccountsReceivableModuleBillingService
checkAwardContractControlAccounts
in interface AccountsReceivableModuleBillingService
public boolean hasPredeterminedBillingSchedule(Long proposalNumber)
AccountsReceivableModuleBillingService
hasPredeterminedBillingSchedule
in interface AccountsReceivableModuleBillingService
proposalNumber
- proposalNumber for the Award use as key to look for PredeterminedBillingSchedulepublic boolean hasMilestoneSchedule(Long proposalNumber)
AccountsReceivableModuleBillingService
hasMilestoneSchedule
in interface AccountsReceivableModuleBillingService
proposalNumber
- proposalNumber for the Award use as key to look for MilestoneSchedulepublic boolean hasActiveBills(Long proposalNumber)
AccountsReceivableModuleBillingService
hasActiveBills
in interface AccountsReceivableModuleBillingService
proposalNumber
- proposalNumber for the Award use as key to look for PredeterminedBillingSchedulepublic boolean hasActiveMilestones(Long proposalNumber)
AccountsReceivableModuleBillingService
hasActiveMilestones
in interface AccountsReceivableModuleBillingService
proposalNumber
- proposalNumber for the Award use as key to look for MilestoneSchedulepublic String getContractsGrantsInvoiceDocumentType()
AccountsReceivableModuleBillingService
getContractsGrantsInvoiceDocumentType
in interface AccountsReceivableModuleBillingService
public boolean isContractsGrantsBillingEnhancementActive()
AccountsReceivableModuleBillingService
isContractsGrantsBillingEnhancementActive
in interface AccountsReceivableModuleBillingService
public String getDefaultDunningCampaignCode()
AccountsReceivableModuleBillingService
getDefaultDunningCampaignCode
in interface AccountsReceivableModuleBillingService
public String getDefaultBillingFrequency()
AccountsReceivableModuleBillingService
getDefaultBillingFrequency
in interface AccountsReceivableModuleBillingService
public String getDefaultInvoicingOption()
AccountsReceivableModuleBillingService
getDefaultInvoicingOption
in interface AccountsReceivableModuleBillingService
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
public ContractsGrantsInvoiceDocumentService getContractsGrantsInvoiceDocumentService()
public void setContractsGrantsInvoiceDocumentService(ContractsGrantsInvoiceDocumentService contractsGrantsInvoiceDocumentService)
public org.kuali.rice.krad.service.KualiModuleService getKualiModuleService()
public void setKualiModuleService(org.kuali.rice.krad.service.KualiModuleService kualiModuleService)
public org.kuali.rice.core.api.config.property.ConfigurationService getConfigurationService()
public void setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService configurationService)
public org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.