Package org.compiere.grid
Class CreateFromDepositBatch
java.lang.Object
org.compiere.grid.CreateFrom
org.compiere.grid.CreateFromBatch
org.compiere.grid.CreateFromDepositBatch
- All Implemented Interfaces:
ICreateFrom
- Direct Known Subclasses:
WCreateFromDepositBatchUI
Create C_DepositBatchLine for C_DepositBatch from C_Payment
- Author:
- Elaine
-
Field Summary
Fields inherited from class org.compiere.grid.CreateFrom
isSOTrx, log, m_rma, p_order
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureMiniTable
(IMiniTable miniTable) set class/type of columnsprotected boolean
dynInit()
dynamic initialization, usually for loading of datagetBankAccountData
(Integer BankAccount, Integer BPartner, String DocumentNo, Timestamp DateFrom, Timestamp DateTo, BigDecimal AmtFrom, BigDecimal AmtTo, Integer DocType, String TenderType, String AuthCode) boolean
save
(IMiniTable miniTable, String trxName) Create C_DepositBatchLineMethods inherited from class org.compiere.grid.CreateFromBatch
getBankAccountData, getSQLWhere, getSQLWhere, getSQLWhere, info, setParameters
Methods inherited from class org.compiere.grid.CreateFrom
closeWindow, getGridTab, getM_Warehouse_ID, getOrderData, getOrderData, getTitle, getTrxName, isInitOK, loadOrderData, loadOrderData, setInitOK, setTitle, setTrxName, showWindow
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.compiere.grid.ICreateFrom
getWindow
-
Constructor Details
-
CreateFromDepositBatch
- Parameters:
mTab
-
-
-
Method Details
-
dynInit
Description copied from class:CreateFrom
dynamic initialization, usually for loading of data- Specified by:
dynInit
in classCreateFrom
- 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 classCreateFromBatch
- Returns:
- transaction records (selection,datetrx,[c_payment_id,documentno],[c_currency_id,iso_code],payamt,converted amt,bp name)
-
configureMiniTable
set class/type of columns- Parameters:
miniTable
-
-
save
Create C_DepositBatchLine- Specified by:
save
in classCreateFrom
- Returns:
- true if save successfully
-
getOISColumnNames
- Returns:
- column header names (select,date,c_payment_id,c_currency_id,amount,converted amount,c_bpartner_id)
-