Class Doc_AssetDisposed


  • public class Doc_AssetDisposed
    extends Doc
    Author:
    Teo_Sarca, SC ARHIPAC SERVICE SRL
    • Constructor Detail

    • 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