Class Doc_AssetReval

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

public class Doc_AssetReval extends Doc
Posting for MAssetReval document. DOCBASETYPE_GLJournal.
Author:
Anca Bradau www.arhipac.ro
  • Constructor Details

  • Method Details

    • 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
    • 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
    • loadDocumentDetails

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

      public String getPostingType()
      Returns:
      POSTINGTYPE_Actual
    • getA_Asset_ID

      public int getA_Asset_ID()
      Get A_Asset_ID
      Returns:
      A_Asset_ID