Class Doc_AssetTransfer

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

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

  • 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)
      Produce posting:
              20.., 21..[A_Asset_New_Acct]                    =       23..[A_Asset_Acct]              
       
      Specified by:
      createFacts in class Doc
      Parameters:
      as - accounting schema
      Returns:
      Facts