Package org.compiere.apps.form
Class PayPrint
java.lang.Object
org.compiere.apps.form.PayPrint
- Direct Known Subclasses:
WPayPrint
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected String
protected String
protected Integer
protected static final CLogger
Loggerprotected MPaymentBatch
Payment Batchprotected int
Used Bank Accountprotected int
Payment Selectionprotected MPaySelectionCheck[]
Payment Informationprotected PaymentExport
protected String
Export Class for Bank Accountprotected int
Window Noprotected String
protected Integer
protected Double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCheckDocuments
(int startDocumentNo, String paymentRule) Create PDF documents from pay selection check recordsCreate Remittance Documents (PDF) from pay selection check recordsprotected boolean
getChecks
(String PaymentRule, BigDecimal startDocumentNo, AtomicReference<ValueNamePair> error, String trxName) Get Checksprotected int
loadPaymentRule
(int C_PaySelection_ID) load payment rules that's applicable to pay selectionloadPaymentRuleInfo
(int C_PaySelection_ID, String PaymentRule) PaymentRule changed - load DocumentNo, NoPayments, enable/disable EFT, Printvoid
loadPaySelectInfo
(int C_PaySelection_ID) load pay selection details (bank info, balance and payment export class)
-
Field Details
-
m_WindowNo
protected int m_WindowNoWindow No -
m_C_BankAccount_ID
protected int m_C_BankAccount_IDUsed Bank Account -
m_PaymentExportClass
Export Class for Bank Account -
m_C_PaySelection_ID
protected int m_C_PaySelection_IDPayment Selection -
m_checks
Payment Information -
m_batch
Payment Batch -
log
Logger -
bank
-
currency
-
balance
-
m_PaymentExport
-
noPayments
-
documentNo
-
sumPayments
-
printFormatId
-
-
Constructor Details
-
PayPrint
public PayPrint()
-
-
Method Details
-
loadPaySelectInfo
public void loadPaySelectInfo(int C_PaySelection_ID) load pay selection details (bank info, balance and payment export class)- Parameters:
C_PaySelection_ID
-
-
loadPaymentRule
load payment rules that's applicable to pay selection- Parameters:
C_PaySelection_ID
-- Returns:
- list of applicable payment rules
-
loadPaymentRuleInfo
PaymentRule changed - load DocumentNo, NoPayments, enable/disable EFT, Print- Parameters:
C_PaySelection_ID
-PaymentRule
-- Returns:
- error message (if any)
-
loadPaymentExportClass
- Parameters:
err
- error message buffer- Returns:
- 0 if loaded fine, -1 if failed to load
-
createCheckDocuments
Create PDF documents from pay selection check records- Parameters:
startDocumentNo
-paymentRule
-- Returns:
- list of PDF documents
- Throws:
Exception
-
createRemittanceDocuments
Create Remittance Documents (PDF) from pay selection check records- Returns:
- list of Remittance documents
-
getChecks
protected boolean getChecks(String PaymentRule, BigDecimal startDocumentNo, AtomicReference<ValueNamePair> error, String trxName) Get Checks- Parameters:
PaymentRule
- Payment Rule- Returns:
- true if payments were created
-