Class Doc_DepreciationEntry

java.lang.Object
org.compiere.acct.Doc
org.compiere.acct.Doc_DepreciationEntry

public class Doc_DepreciationEntry extends Doc
Posting for MDepreciationEntry document.
Version:
$Id$
Author:
Teo Sarca, SC ARHIPAC SERVICE SRL
  • Constructor Details

    • Doc_DepreciationEntry

      public Doc_DepreciationEntry(MAcctSchema as, ResultSet rs, String trxName)
      Constructor
      Parameters:
      as - accounting schemata
      rs - record
  • Method Details

    • loadDocumentDetails

      protected String loadDocumentDetails()
      Description copied from class: Doc
      Load Document Details
      Specified by:
      loadDocumentDetails in class Doc
      Returns:
      error message or null
    • getBalance

      public BigDecimal getBalance()
      Description copied from class: Doc
      Get Source Currency Balance - subtracts line (and tax) amounts from total - no rounding
      Specified by:
      getBalance in class Doc
      Returns:
      positive amount, if total header is bigger than lines
    • createFacts

      public ArrayList<Fact> createFacts(MAcctSchema as)
      Description copied from class: Doc
      Create Facts (the accounting logic)
      Specified by:
      createFacts in class Doc
      Parameters:
      as - accounting schema
      Returns:
      Facts