| org.kuali.core.rules.LedgerPostingDocumentRuleBase org.kuali.kfs.rules.GeneralLedgerPostingDocumentRuleBase
All known Subclasses: org.kuali.module.purap.rules.PurapAccountingDocumentRuleBase, org.kuali.module.financial.rules.CashManagementDocumentRule, org.kuali.kfs.rules.AccountingDocumentRuleBase,
GeneralLedgerPostingDocumentRuleBase | public class GeneralLedgerPostingDocumentRuleBase extends LedgerPostingDocumentRuleBase (Code) | | This class contains a helper method used to implement a rule for the CashManagementDocument (a FinancialDocument) as well as to
implement rules for TransactionalDocuments.
|
getEntryValue | final protected String getEntryValue(String targetValue, String backupValue)(Code) | | A helper method that checks the intended target value for null and empty strings. If the intended target value is not null or
an empty string, it returns that value, ohterwise, it returns a backup value.
Parameters: targetValue - Parameters: backupValue - String |
getOffsetEntryDebitCreditCode | protected String getOffsetEntryDebitCreditCode(GeneralLedgerPendingEntry explicitEntry)(Code) | | Helper method that determines the debit/credit code for the offset entry. If the explicit was a debit, the offset is a
credit. Otherwise, it's opposite.
Parameters: explicitEntry - String |
getOffsetFinancialObjectCode | protected String getOffsetFinancialObjectCode(OffsetDefinition offsetDefinition)(Code) | | Helper method that determines the offset entry's financial object code.
Parameters: offsetDefinition - String |
getOffsetFinancialObjectTypeCode | protected String getOffsetFinancialObjectTypeCode(OffsetDefinition offsetDefinition)(Code) | | Helper method that determines the offset entry's financial object type code.
Parameters: offsetDefinition - String |
populateOffsetGeneralLedgerPendingEntry | protected boolean populateOffsetGeneralLedgerPendingEntry(Integer universityFiscalYear, GeneralLedgerPendingEntry explicitEntry, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, GeneralLedgerPendingEntry offsetEntry)(Code) | | This populates an GeneralLedgerPendingEntry offsetEntry object instance with values that differ from the values supplied in
the explicit entry that it was cloned from. Note that the entries do not contain BOs now.
Parameters: universityFiscalYear - Parameters: explicitEntry - Parameters: sequenceHelper - Parameters: offsetEntry - Cloned from the explicit entry whether the offset generation is successful |
|
|