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 AccountsReceivableModuleBillingServiceaward - 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)
AccountsReceivableModuleBillingServicecalculateTotalPaymentsToDateByAward in interface AccountsReceivableModuleBillingServiceproposalNumber - This
method calculates total payments to date by Award using ContractsGrantsInvoiceDocumentServicepublic AccountsReceivableMilestoneSchedule getMilestoneSchedule()
AccountsReceivableModuleBillingServicegetMilestoneSchedule in interface AccountsReceivableModuleBillingServicepublic AccountsReceivablePredeterminedBillingSchedule getPredeterminedBillingSchedule()
AccountsReceivableModuleBillingServicegetPredeterminedBillingSchedule in interface AccountsReceivableModuleBillingServicepublic Date getLastBilledDate(ContractsAndGrantsBillingAward award)
AccountsReceivableModuleBillingServicegetLastBilledDate in interface AccountsReceivableModuleBillingServiceaward - the Award used to calculate lastBilledDateorg.kuali.kfs.integration.ar.AccountsReceivableModuleService#getLastBilledDate(java.lang.Long)public List<String> checkAwardContractControlAccounts(ContractsAndGrantsBillingAward award)
AccountsReceivableModuleBillingServicecheckAwardContractControlAccounts in interface AccountsReceivableModuleBillingServicepublic boolean hasPredeterminedBillingSchedule(Long proposalNumber)
AccountsReceivableModuleBillingServicehasPredeterminedBillingSchedule in interface AccountsReceivableModuleBillingServiceproposalNumber - proposalNumber for the Award use as key to look for PredeterminedBillingSchedulepublic boolean hasMilestoneSchedule(Long proposalNumber)
AccountsReceivableModuleBillingServicehasMilestoneSchedule in interface AccountsReceivableModuleBillingServiceproposalNumber - proposalNumber for the Award use as key to look for MilestoneSchedulepublic boolean hasActiveBills(Long proposalNumber)
AccountsReceivableModuleBillingServicehasActiveBills in interface AccountsReceivableModuleBillingServiceproposalNumber - proposalNumber for the Award use as key to look for PredeterminedBillingSchedulepublic boolean hasActiveMilestones(Long proposalNumber)
AccountsReceivableModuleBillingServicehasActiveMilestones in interface AccountsReceivableModuleBillingServiceproposalNumber - proposalNumber for the Award use as key to look for MilestoneSchedulepublic String getContractsGrantsInvoiceDocumentType()
AccountsReceivableModuleBillingServicegetContractsGrantsInvoiceDocumentType in interface AccountsReceivableModuleBillingServicepublic boolean isContractsGrantsBillingEnhancementActive()
AccountsReceivableModuleBillingServiceisContractsGrantsBillingEnhancementActive in interface AccountsReceivableModuleBillingServicepublic String getDefaultDunningCampaignCode()
AccountsReceivableModuleBillingServicegetDefaultDunningCampaignCode in interface AccountsReceivableModuleBillingServicepublic String getDefaultBillingFrequency()
AccountsReceivableModuleBillingServicegetDefaultBillingFrequency in interface AccountsReceivableModuleBillingServicepublic String getDefaultInvoicingOption()
AccountsReceivableModuleBillingServicegetDefaultInvoicingOption in interface AccountsReceivableModuleBillingServicepublic 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.