Package org.adempiere.webui.apps.form
Class WStatementCreateFromBatch
java.lang.Object
org.compiere.apps.form.CreateFromForm
org.compiere.apps.form.StatementCreateFromBatch
org.adempiere.webui.apps.form.WStatementCreateFromBatch
- All Implemented Interfaces:
IFormController
,org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
public class WStatementCreateFromBatch
extends StatementCreateFromBatch
implements IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Form to create bank statement line (
MBankStatementLine
) from transactions (payment, receipt, etc).- Author:
- Elaine
-
Field Summary
Modifier and TypeFieldDescriptionprotected WNumberEditor
Amount from parameterprotected Label
protected WNumberEditor
Amount to parameterprotected Label
protected WStringEditor
Authorization code parameterprotected Label
protected WTableDirEditor
Bank account parameterprotected Label
protected Label
protected WEditor
Business partner parameterprotected Checkbox
True to create statement line per paymentprotected WDateEditor
Date from parameterprotected Label
protected WDateEditor
Date to parameterprotected Label
protected WStringEditor
Document number parameterprotected Label
protected WTableDirEditor
Document type parameterprotected Label
protected Grid
Layout of parameter panelprotected WTableDirEditor
Tender type parameterprotected Label
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
dynInit()
Dynamic initialization of UI components.void
Execute querygetForm()
Called by org.adempiere.webui.panel.ADForm.openForm(int)void
initForm()
Initialize formprotected void
loadTableOIS
(Vector<?> data) load data into list box (WCreateFromForm.getWListbox()
)protected void
handle onClientInfo event from browservoid
onEvent
(org.zkoss.zk.ui.event.Event e) boolean
save
(IMiniTable miniTable, String trxName, GridTab gridTab) Save changesprotected void
setupColumns
(Grid parameterBankLayout) Setup columns ofparameterBankLayout
protected void
zkInit()
Layoutform
Methods inherited from class org.compiere.apps.form.StatementCreateFromBatch
configureMiniTable, getBankAccountData, getBankAccountData, getOISColumnNames, getSQLWhere, getSQLWhere, info, setParameters
Methods inherited from class org.compiere.apps.form.CreateFromForm
getTitle, setTitle
-
Field Details
-
bankAccountLabel
-
bankAccountField
Bank account parameter -
documentNoLabel
-
documentNoField
Document number parameter -
documentTypeLabel
-
documentTypeField
Document type parameter -
authorizationLabel
-
authorizationField
Authorization code parameter -
tenderTypeLabel
-
tenderTypeField
Tender type parameter -
amtFromLabel
-
amtFromField
Amount from parameter -
amtToLabel
-
amtToField
Amount to parameter -
BPartner_idLabel
-
bPartnerLookup
Business partner parameter -
dateFromLabel
-
dateFromField
Date from parameter -
dateToLabel
-
dateToField
Date to parameter -
createLinePerPayment
True to create statement line per payment -
parameterBankLayout
Layout of parameter panel
-
-
Constructor Details
-
WStatementCreateFromBatch
public WStatementCreateFromBatch()default constructor
-
-
Method Details
-
initForm
public void initForm()Description copied from class:CreateFromForm
Initialize form- Specified by:
initForm
in classCreateFromForm
-
dynInit
Dynamic initialization of UI components.- Overrides:
dynInit
in classStatementCreateFromBatch
- Returns:
- true if initialization is ok
- Throws:
Exception
-
onClientInfo
protected void onClientInfo()handle onClientInfo event from browser -
zkInit
Layoutform
- Throws:
Exception
-
setupColumns
Setup columns ofparameterBankLayout
- Parameters:
parameterBankLayout
-
-
onEvent
- Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Throws:
Exception
-
executeQuery
public void executeQuery()Description copied from class:CreateFromForm
Execute query- Specified by:
executeQuery
in classCreateFromForm
-
loadTableOIS
load data into list box (WCreateFromForm.getWListbox()
)- Parameters:
data
-
-
save
Description copied from class:CreateFromForm
Save changes- Overrides:
save
in classStatementCreateFromBatch
- Returns:
- true if save succeed
-
getForm
Description copied from interface:IFormController
Called by org.adempiere.webui.panel.ADForm.openForm(int)- Specified by:
getForm
in interfaceIFormController
- Returns:
-