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 class
PaySelect.BankInfo
Bank Account Info
-
Field Summary
Fields Modifier and Type Field Description static CLogger
log
LoggerDecimalFormat
m_format
Formatboolean
m_isLocked
boolean
m_isOnePaymentPerInvoice
one-To-one payment per invoiceint
m_noSelected
Number of selected rowsMPaySelection
m_ps
Payment Selectionint
m_WindowNo
Window NoTrx
trx
-
Constructor Summary
Constructors Constructor Description PaySelect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
calculateSelection(IMiniTable miniTable)
Calculate selected rowsString
generatePaySelect(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)void
loadTableInfo(PaySelect.BankInfo bi, Timestamp payDate, ValueNamePair paymentRule, boolean onlyDue, boolean onlyPositiveBalance, KeyNamePair bpartner, KeyNamePair docType, IMiniTable miniTable)
Query and create TableInfovoid
prepareTable(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
-
-