This is the business object that represents the JournalVoucherDocument in Kuali. This is a transactional document that will
eventually post transactions to the G/L. It integrates with workflow and contains a single group of accounting lines. The Journal
Voucher is unique in that we only make use of one accounting line list: the source accounting lines seeing as a JV only records
accounting lines as debits or credits.
getCreditTotal() This method calculates the credit total for a JV document keying off of the debit/credit code, only summing the accounting
lines with a debitCreditCode that matched the debit constant, and returns the results.
getDebitTotal() This method calculates the debit total for a JV document keying off of the debit/debit code, only summing the accounting
lines with a debitDebitCode that matched the debit constant, and returns the results.
This method calculates the credit total for a JV document keying off of the debit/credit code, only summing the accounting
lines with a debitCreditCode that matched the debit constant, and returns the results.
KualiDecimal
This method calculates the debit total for a JV document keying off of the debit/debit code, only summing the accounting
lines with a debitDebitCode that matched the debit constant, and returns the results.
KualiDecimal
This method determines the "total" for the JV document. If the selected balance type is an offset generation, then the method
returns the total debits amount when it is greater than the total credit amount. otherwise, it returns total credit amount.
When selected balance type is not an offset generation, the method returns the sum of all accounting line debit amounts.
KualiDecimal the total of the JV document.