Class Allocation

    • Field Detail

      • log

        public static final CLogger log
        Logger
      • m_C_Currency_ID

        public int m_C_Currency_ID
      • m_C_Charge_ID

        public int m_C_Charge_ID
      • m_C_DocType_ID

        public int m_C_DocType_ID
      • m_C_BPartner_ID

        public int m_C_BPartner_ID
      • m_AD_Org_ID

        public int m_AD_Org_ID
    • Constructor Detail

      • Allocation

        public Allocation()
    • Method Detail

      • checkBPartner

        public void checkBPartner()
        Load Business Partner Info - Payments - Invoices
      • getPaymentColumnNames

        public Vector<String> getPaymentColumnNames​(boolean isMultiCurrency)
      • setPaymentColumnClass

        public void setPaymentColumnClass​(IMiniTable paymentTable,
                                          boolean isMultiCurrency)
      • getInvoiceColumnNames

        public Vector<String> getInvoiceColumnNames​(boolean isMultiCurrency)
      • setInvoiceColumnClass

        public void setInvoiceColumnClass​(IMiniTable invoiceTable,
                                          boolean isMultiCurrency)
      • calculate

        public void calculate​(boolean isMultiCurrency)
      • writeOff

        public String writeOff​(int row,
                               int col,
                               boolean isInvoice,
                               IMiniTable payment,
                               IMiniTable invoice,
                               boolean isAutoWriteOff)
      • calculatePayment

        public String calculatePayment​(IMiniTable payment,
                                       boolean isMultiCurrency)
        Calculate Allocation info
      • calculateInvoice

        public String calculateInvoice​(IMiniTable invoice,
                                       boolean isMultiCurrency)