Class DocGLJournal

    • Field Detail

      • m_PostingType

        public String m_PostingType
    • Constructor Detail

      • DocGLJournal

        public DocGLJournal​(String AD_Client_ID,
                            String AD_Org_ID,
                            ConnectionProvider connectionProvider)
        Constructor
        Parameters:
        AD_Client_ID - client
    • Method Detail

      • getBalance

        public BigDecimal getBalance()
        Get Source Currency Balance - subtracts line and tax amounts from total - no rounding
        Specified by:
        getBalance in class AcctServer
        Returns:
        positive amount, if total invoice is bigger than lines
      • createFact

        public Fact createFact​(AcctSchema as,
                               ConnectionProvider conn,
                               Connection con,
                               VariablesSecureApp vars)
                        throws javax.servlet.ServletException
        Create Facts (the accounting logic) for GLJ. (only for the accounting scheme, it was created)
              account     DR          CR
         
        Specified by:
        createFact in class AcctServer
        Parameters:
        as - acct schema
        Returns:
        Fact
        Throws:
        javax.servlet.ServletException
      • getSeqNo

        public String getSeqNo()
        Returns:
        the seqNo
      • setSeqNo

        public void setSeqNo​(String seqNo)
        Parameters:
        seqNo - the seqNo to set
      • getM_PostingType

        public String getM_PostingType()
        Returns:
        the m_PostingType
      • setM_PostingType

        public void setM_PostingType​(String postingType)
        Parameters:
        postingType - the m_PostingType to set
      • getSerialVersionUID

        public static long getSerialVersionUID()
        Returns:
        the serialVersionUID