Package org.compiere.apps.form
Class PaySelect
- java.lang.Object
-
- org.compiere.apps.form.PaySelect
-
- Direct Known Subclasses:
WPaySelect
public class PaySelect extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaySelect.BankInfoBank Account Info
-
Field Summary
Fields Modifier and Type Field Description static CLoggerlogLoggerDecimalFormatm_formatFormatbooleanm_isLockedbooleanm_isOnePaymentPerInvoiceone-To-one payment per invoiceintm_noSelectedNumber of selected rowsMPaySelectionm_psPayment Selectionintm_WindowNoWindow NoTrxtrx
-
Constructor Summary
Constructors Constructor Description PaySelect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcalculateSelection(IMiniTable miniTable)Calculate selected rowsStringgeneratePaySelect(IMiniTable miniTable, ValueNamePair paymentRule, Timestamp payDate, PaySelect.BankInfo bi)Generate PaySelectionArrayList<PaySelect.BankInfo>getBankAccountData()ArrayList<KeyNamePair>getBPartnerData()ArrayList<KeyNamePair>getDocTypeData()ArrayList<ValueNamePair>getPaymentRuleData(PaySelect.BankInfo bi)Load Bank Info - Load Info from Bank Account and valid Documents (PaymentRule)voidloadTableInfo(PaySelect.BankInfo bi, Timestamp payDate, ValueNamePair paymentRule, boolean onlyDue, boolean onlyPositiveBalance, KeyNamePair bpartner, KeyNamePair docType, IMiniTable miniTable)Query and create TableInfovoidprepareTable(IMiniTable miniTable)
-
-
-
Field Detail
-
m_WindowNo
public int m_WindowNo
Window No
-
m_format
public DecimalFormat m_format
Format
-
m_noSelected
public int m_noSelected
Number of selected rows
-
m_isLocked
public boolean m_isLocked
-
m_ps
public MPaySelection m_ps
Payment Selection
-
m_isOnePaymentPerInvoice
public boolean m_isOnePaymentPerInvoice
one-To-one payment per invoice
-
log
public static final CLogger log
Logger
-
trx
public Trx trx
-
-
Method Detail
-
getBankAccountData
public ArrayList<PaySelect.BankInfo> getBankAccountData()
-
getBPartnerData
public ArrayList<KeyNamePair> getBPartnerData()
-
getDocTypeData
public ArrayList<KeyNamePair> getDocTypeData()
-
prepareTable
public void prepareTable(IMiniTable miniTable)
-
getPaymentRuleData
public ArrayList<ValueNamePair> getPaymentRuleData(PaySelect.BankInfo bi)
Load Bank Info - Load Info from Bank Account and valid Documents (PaymentRule)
-
loadTableInfo
public void loadTableInfo(PaySelect.BankInfo bi, Timestamp payDate, ValueNamePair paymentRule, boolean onlyDue, boolean onlyPositiveBalance, KeyNamePair bpartner, KeyNamePair docType, IMiniTable miniTable)
Query and create TableInfo
-
calculateSelection
public String calculateSelection(IMiniTable miniTable)
Calculate selected rows. - add up selected rows
-
generatePaySelect
public String generatePaySelect(IMiniTable miniTable, ValueNamePair paymentRule, Timestamp payDate, PaySelect.BankInfo bi)
Generate PaySelection
-
-