Class Doc_DepreciationEntry


  • public class Doc_DepreciationEntry
    extends Doc
    Version:
    $Id$
    Author:
    Teo Sarca, SC ARHIPAC SERVICE SRL
    • Constructor Detail

      • Doc_DepreciationEntry

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

      • 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