Class DocInvoiceTemplate


  • public abstract class DocInvoiceTemplate
    extends Object
    • Constructor Detail

      • DocInvoiceTemplate

        public DocInvoiceTemplate()
        Constructor
    • Method Detail

      • createFact

        public abstract Fact createFact​(DocInvoice docInvoice,
                                        AcctSchema as,
                                        ConnectionProvider conn,
                                        Connection con,
                                        VariablesSecureApp vars)
                                 throws javax.servlet.ServletException
        Create Facts (the accounting logic) for ARI, ARC, ARF, API, APC.
          ARI, ARF
              Receivables     DR
              Charge                  CR
              TaxDue                  CR
              Revenue                 CR
          ARC
              Receivables             CR
              Charge          DR
              TaxDue          DR
              Revenue         RR
          API
              Payables                CR
              Charge          DR
              TaxCredit       DR
              Expense         DR
          APC
              Payables        DR
              Charge                  CR
              TaxCredit               CR
              Expense                 CR
         
        Parameters:
        as - accounting schema
        Returns:
        Fact
        Throws:
        javax.servlet.ServletException
      • getServletInfo

        public String getServletInfo()