Class PaymentForm

    • Field Detail

      • log

        protected transient CLogger log
        Logger
      • m_DocStatus

        public String m_DocStatus
      • m_PaymentRule

        public String m_PaymentRule
        Start Payment Rule
      • m_DateAcct

        public Timestamp m_DateAcct
        Start Acct Date
      • m_C_Currency_ID

        public int m_C_Currency_ID
        Invoice Currency
      • m_AD_Client_ID

        public int m_AD_Client_ID
      • m_Cash_As_Payment

        public boolean m_Cash_As_Payment
      • m_AD_Org_ID

        public int m_AD_Org_ID
      • m_C_BPartner_ID

        public int m_C_BPartner_ID
      • m_needSave

        public boolean m_needSave
      • m_onlyRule

        public boolean m_onlyRule
        Only allow changing Rule
      • m_isSOTrx

        public boolean m_isSOTrx
        Is SOTrx
    • Constructor Detail

      • PaymentForm

        public PaymentForm​(int WindowNo,
                           GridTab mTab)
    • Method Detail

      • saveChanges

        public boolean saveChanges()
        Description copied from interface: IPaymentForm
        Save Changes
        Specified by:
        saveChanges in interface IPaymentForm
        Returns:
        true, if Window can exit
      • loadCurrencies

        protected void loadCurrencies()
        Fill s_Currencies with EMU currencies
      • needSave

        public boolean needSave()
        Description copied from interface: IPaymentForm
        Need Save record (payment with waiting order)
        Specified by:
        needSave in interface IPaymentForm
        Returns:
        true if payment with waiting order
      • getInvoiceID

        protected int getInvoiceID​(int C_Order_ID)
        Get Invoice ID for Order
        Parameters:
        C_Order_ID - order
        Returns:
        C_Invoice_ID or 0 if not found
      • isBankAccountProcessorExist

        protected boolean isBankAccountProcessorExist​(Properties ctx,
                                                      String tender,
                                                      String CCType,
                                                      int AD_Client_ID,
                                                      int C_Currency_ID,
                                                      BigDecimal PayAmt,
                                                      String trxName)
      • getGridTab

        public GridTab getGridTab()
      • isOnlyRule

        public boolean isOnlyRule()
      • getWindowNo

        public int getWindowNo()