Class 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 Detail

      • Doc_MatchPO

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

      • 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()
        Description copied from class: Doc
        Return document whether need to defer posting or not
        Overrides:
        isDeferPosting in class Doc