| org.kuali.module.financial.rules.InternalBillingDocumentRule org.kuali.module.financial.rules.ServiceBillingDocumentRule
ServiceBillingDocumentRule | public class ServiceBillingDocumentRule extends InternalBillingDocumentRule (Code) | | Business rule(s) applicable to Service Billing documents. They differ from
InternalBillingDocumentRule by not routing for
fiscal officer approval. Instead, they route straight to final, by a formal pre-agreement between the service provider and the
department being billed, based on the service provider's ability to provide documentation for all transactions. These agreements
are configured in the Service Billing Control table by workgroup and income account number. This class enforces those agreements.
|
accountIsAccessible | protected boolean accountIsAccessible(AccountingDocument financialDocument, AccountingLine accountingLine)(Code) | | This method determines if an account is still accessible. This is performed by one of two methods:
- If the document is in 'initiated' or 'saved' status, then if the accounting line is a target line and the
account associated with that line is accessible based on ServiceBillingDocumentRuleUtils.serviceBillingIncomeAccountIsAccessible()
- If the document is not in 'initiated' or 'saved' status, then call the super method to determine accessibility.
Parameters: financialDocument - The document used to retrieve the route status from. The route status will impact howaccessibility of the account is determined. Parameters: accountingLine - The accounting line the account is retrieved from. True if the account is accessible, false otherwise. See Also: AccountingDocumentRuleBase.accountIsAccessible(FinancialDocumentAccountingLine) See Also: ServiceBillingDocumentRuleUtil.serviceBillingIncomeAccountIsAccessible(AccountingLineorg.kuali.kfs.rules.AccountingDocumentRuleBase.AccountingLineAction) |
checkAccountingLineAccountAccessibility | protected boolean checkAccountingLineAccountAccessibility(AccountingDocument financialDocument, AccountingLine accountingLine, AccountingLineAction action)(Code) | | This method determines if an account is still accessible. This is performed by one of two methods:
- If the document is in 'initiated' or 'saved' status, then if the accounting line is a target line and the
account associated with that line is accessible based on ServiceBillingDocumentRuleUtils.serviceBillingIncomeAccountIsAccessible()
- If the document is not in 'initiated' or 'saved' status, then call the super method to determine accessibility.
Parameters: financialDocument - The document used to retrieve the route status from. The route status will impact howaccessibility of the account is determined. Parameters: accountingLine - The accounting line the account is retrieved from. Parameters: action - The constant used to identify which error key to use when reporting errors. True if the account is accessible, false otherwise. See Also: FinancialDocumentRuleBase.checkAccountingLineAccountAccessibility(org.kuali.core.document.FinancialDocumentorg.kuali.core.bo.AccountingLineorg.kuali.module.financial.rules.FinancialDocumentRuleBase.AccountingLineAction) See Also: AccountingDocumentRuleBase.AccountingLineAction |
customizeExplicitGeneralLedgerPendingEntry | protected void customizeExplicitGeneralLedgerPendingEntry(AccountingDocument financialDocument, AccountingLine accountingLine, GeneralLedgerPendingEntry explicitEntry)(Code) | | This method sets extra accounting line fields in explicit general ledger pending entries. Internal billing transactions
don't have this field.
Parameters: financialDocument - The accounting document containing the general ledger pending entries being customized. Parameters: accountingLine - The accounting line the explicit general ledger pending entry was generated from. Parameters: explicitEntry - The explicit general ledger pending entry to be customized. See Also: FinancialDocumentRuleBase.customizeExplicitGeneralLedgerPendingEntry(FinancialDocumentAccountingLineGeneralLedgerPendingEntry) |
|
|