Package org.compiere.apps.form
Class StatementCreateFromBatch
java.lang.Object
org.compiere.apps.form.CreateFromForm
org.compiere.apps.form.StatementCreateFromBatch
- Direct Known Subclasses:
WStatementCreateFromBatch
Form to create bank statement line (
MBankStatementLine
) from transactions (payment, receipt, etc).- Author:
- Elaine
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureMiniTable
(IMiniTable miniTable) Set column class typeprotected 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, GridTab gridTab) Get not processed deposit batch datagetBankAccountData
(Object BankAccount, Object BPartner, String DocumentNo, Object DateFrom, Object DateTo, Object AmtFrom, Object AmtTo, Object DocType, Object TenderType, String AuthCode, GridTab gridTab) Deprecated.getSQLWhere
(Integer BPartner, String DocumentNo, Timestamp DateFrom, Timestamp DateTo, BigDecimal AmtFrom, BigDecimal AmtTo, Integer DocType, String TenderType, String AuthCode) Get where clausegetSQLWhere
(Object BPartner, String DocumentNo, Object DateFrom, Object DateTo, Object AmtFrom, Object AmtTo, Object DocType, Object TenderType, String AuthCode) Deprecated.void
info
(IMiniTable miniTable, IStatusBar statusBar) Update status bar with info from miniTableboolean
save
(IMiniTable miniTable, String trxName, GridTab gridTab) Save changesprotected void
setParameters
(PreparedStatement pstmt, Integer BankAccount, Integer BPartner, String DocumentNo, Timestamp DateFrom, Timestamp DateTo, BigDecimal AmtFrom, BigDecimal AmtTo, Integer DocType, String TenderType, String AuthCode, GridTab gridTab) Set prepared statement parametersMethods inherited from class org.compiere.apps.form.CreateFromForm
executeQuery, getTitle, initForm, setTitle
-
Field Details
-
log
Logger
-
-
Constructor Details
-
StatementCreateFromBatch
public StatementCreateFromBatch()
-
-
Method Details
-
dynInit
Description copied from class:CreateFromForm
Dynamic initialization, usually for loading of data- Specified by:
dynInit
in classCreateFromForm
- Returns:
- true if initialization is ok
- Throws:
Exception
-
getSQLWhere
@Deprecated public String getSQLWhere(Object BPartner, String DocumentNo, Object DateFrom, Object DateTo, Object AmtFrom, Object AmtTo, Object DocType, Object TenderType, String AuthCode) Deprecated. -
getSQLWhere
public String getSQLWhere(Integer BPartner, String DocumentNo, Timestamp DateFrom, Timestamp DateTo, BigDecimal AmtFrom, BigDecimal AmtTo, Integer DocType, String TenderType, String AuthCode) Get where clause- Parameters:
BPartner
-DocumentNo
-DateFrom
-DateTo
-AmtFrom
-AmtTo
-DocType
-TenderType
-AuthCode
-- Returns:
- where clause
-
setParameters
protected void setParameters(PreparedStatement pstmt, Integer BankAccount, Integer BPartner, String DocumentNo, Timestamp DateFrom, Timestamp DateTo, BigDecimal AmtFrom, BigDecimal AmtTo, Integer DocType, String TenderType, String AuthCode, GridTab gridTab) throws SQLException Set prepared statement parameters- Parameters:
pstmt
-BankAccount
-BPartner
-DocumentNo
-DateFrom
-DateTo
-AmtFrom
-AmtTo
-DocType
-TenderType
-AuthCode
-gridTab
-- Throws:
SQLException
-
getBankAccountData
@Deprecated protected Vector<Vector<Object>> getBankAccountData(Object BankAccount, Object BPartner, String DocumentNo, Object DateFrom, Object DateTo, Object AmtFrom, Object AmtTo, Object DocType, Object TenderType, String AuthCode, GridTab gridTab) Deprecated. -
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, GridTab gridTab) Get not processed deposit batch data- Parameters:
BankAccount
-BPartner
-DocumentNo
-DateFrom
-DateTo
-AmtFrom
-AmtTo
-DocType
-TenderType
-AuthCode
-gridTab
-- Returns:
- list of deposit batch records
- See Also:
-
configureMiniTable
Set column class type- Parameters:
miniTable
-
-
save
Description copied from class:CreateFromForm
Save changes- Specified by:
save
in classCreateFromForm
- Returns:
- true if save succeed
-
getOISColumnNames
Get column names forgetBankAccountData(Integer, Integer, String, Timestamp, Timestamp, BigDecimal, BigDecimal, Integer, String, String, GridTab)
- Returns:
- column names (Select, Date, Deposit Batch, Amount, Converted Amount and Bank Account)
-
info
Description copied from class:CreateFromForm
Update status bar with info from miniTable- Specified by:
info
in classCreateFromForm
-