Class CreateFromDepositBatch

All Implemented Interfaces:
ICreateFrom
Direct Known Subclasses:
WCreateFromDepositBatchUI

public abstract class CreateFromDepositBatch extends CreateFromBatch
Create C_DepositBatchLine for C_DepositBatch from C_Payment
Author:
Elaine
  • Constructor Details

    • CreateFromDepositBatch

      public CreateFromDepositBatch(GridTab mTab)
      Parameters:
      mTab -
  • Method Details

    • dynInit

      protected boolean dynInit() throws Exception
      Description copied from class: CreateFrom
      dynamic initialization, usually for loading of data
      Specified by:
      dynInit in class CreateFrom
      Returns:
      true if initialization success
      Throws:
      Exception
    • getBankAccountData

      protected Vector<Vector<Object>> getBankAccountData(Integer BankAccount, Integer BPartner, String DocumentNo, Timestamp DateFrom, Timestamp DateTo, BigDecimal AmtFrom, BigDecimal AmtTo, Integer DocType, String TenderType, String AuthCode)
      Specified by:
      getBankAccountData in class CreateFromBatch
      Returns:
      transaction records (selection,datetrx,[c_payment_id,documentno],[c_currency_id,iso_code],payamt,converted amt,bp name)
    • configureMiniTable

      protected void configureMiniTable(IMiniTable miniTable)
      set class/type of columns
      Parameters:
      miniTable -
    • save

      public boolean save(IMiniTable miniTable, String trxName)
      Create C_DepositBatchLine
      Specified by:
      save in class CreateFrom
      Returns:
      true if save successfully
    • getOISColumnNames

      protected Vector<String> getOISColumnNames()
      Returns:
      column header names (select,date,c_payment_id,c_currency_id,amount,converted amount,c_bpartner_id)