Class Doc_MatchPO

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

public class Doc_MatchPO extends Doc
Post MatchPO Documents.
  Table:              C_MatchPO (473)
  Document Types:     MXP
  
Version:
$Id: Doc_MatchPO.java,v 1.3 2006/07/30 00:53:33 jjanke Exp $
Author:
Jorg Janke
  • Constructor Details

    • Doc_MatchPO

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

    • loadDocumentDetails

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

      public BigDecimal getBalance()
      Get Source Currency Balance - subtracts line and tax amounts from total - no rounding
      Specified by:
      getBalance in class Doc
      Returns:
      Zero - always balanced
    • createFacts

      public ArrayList<Fact> createFacts(MAcctSchema as)
      Create Facts (the accounting logic) for MXP.
            Product PPV     
            PPV_Offset                  
        
      Specified by:
      createFacts in class Doc
      Parameters:
      as - accounting schema
      Returns:
      Fact
    • isDeferPosting

      public boolean isDeferPosting()
      Overrides:
      isDeferPosting in class Doc
      Returns:
      true if posting of document should be deferred to next run of accounting posting