An AccountLine contains all the accounting items typically necessary to create a pending entry to the G/L. All transaction
documents will use this business object inherently. Specific accounting line business rules should exist not in this
implementation, but rather in the document business object that uses it.
Method Summary
public void
copyFrom(AccountingLine other) Overwrites the fields of this AccountingLine with the values of the corresponding fields of the given AccountingLine.
Overwrites the fields of this AccountingLine with the values of the corresponding fields of the given AccountingLine.
Reference field values are in this instance are overwritten with deepCopies of the reference fields of the given
AccountingLine.
Parameters: other -
This indicates the account expired component of this AccountingLine's overrideCode. It provides a DataDictionary attribute
for the UI, but is not persisted itself.
accountExpiredOverride
getAccountExpiredOverrideNeeded
public boolean getAccountExpiredOverrideNeeded()(Code)
This indicates the account expired override is needed (because this AccountingLine's Account is expired). It tells the UI to
display the accountExpiredOverride attribute, but is not persisted itself.
accountExpiredOverride
Convenience method to make the primitive account fields from this AccountingLine easier to compare to the account fields of
another AccountingLine or of an Account
String representing the account associated with this AccountingLine
This method retrieves the debit/credit code for the accounting line. This method will only return a not null value for a
Journal Voucher document.
A String code.
This method retrieves the encumbrance update code for the accounting line. This method will only return a not null value for
a Journal Voucher document.
A String code.
This method retrieves the ObjectType for the accounting line. This method will only return a not null value for a Journal
Voucher document.
An ObjectType instance.
This indicates the object budget component of this AccountingLine's overrideCode. It provides a DataDictionary attribute for
the UI, but is not persisted itself.
objectBudgetOverride
isObjectBudgetOverrideNeeded
public boolean isObjectBudgetOverrideNeeded()(Code)
This indicates the object budget override is needed (because this AccountingLine's Account is expired). It tells the UI to
display the objectBudgetOverride attribute, but is not persisted itself.
boolean
Parameters: chart - The chartOfAccountsCode to set.
setChartOfAccountsCode
public void setChartOfAccountsCode(String chartOfAccountsCode)(Code)
Parameters: chartOfAccountsCode - The chartOfAccountsCode to set.
setDebitCreditCode
public void setDebitCreditCode(String debitCreditCode)(Code)
This method sets the debit/credit code for the accounting line. This method should only be used for a Journal Voucher
document.
Parameters: debitCreditCode -
setDocumentNumber
public void setDocumentNumber(String documentNumber)(Code)
Parameters: documentNumber - The documentNumber to set.
setEncumbranceUpdateCode
public void setEncumbranceUpdateCode(String encumbranceUpdateCode)(Code)
This method sets the debit/credit code for the accounting line. This method should only be used for a Journal Voucher
document.
Parameters: encumbranceUpdateCode -