Package org.compiere.apps.form
Class Allocation
- java.lang.Object
-
- org.compiere.apps.form.Allocation
-
- Direct Known Subclasses:
WAllocation
public class Allocation extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Timestamp
allocDate
DecimalFormat
format
static CLogger
log
Loggerint
m_AD_Org_ID
int
m_C_BPartner_ID
int
m_C_Charge_ID
int
m_C_Currency_ID
int
m_C_DocType_ID
BigDecimal
totalDiff
BigDecimal
totalInv
BigDecimal
totalPay
-
Constructor Summary
Constructors Constructor Description Allocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calculate(boolean isMultiCurrency)
String
calculateInvoice(IMiniTable invoice, boolean isMultiCurrency)
String
calculatePayment(IMiniTable payment, boolean isMultiCurrency)
Calculate Allocation infovoid
checkBPartner()
Load Business Partner Info - Payments - Invoicesvoid
dynInit()
Vector<String>
getInvoiceColumnNames(boolean isMultiCurrency)
Vector<Vector<Object>>
getInvoiceData(boolean isMultiCurrency, Object date, IMiniTable invoiceTable)
Vector<String>
getPaymentColumnNames(boolean isMultiCurrency)
Vector<Vector<Object>>
getPaymentData(boolean isMultiCurrency, Object date, IMiniTable paymentTable)
MAllocationHdr
saveData(int m_WindowNo, Object date, IMiniTable payment, IMiniTable invoice, String trxName)
Save Datavoid
setInvoiceColumnClass(IMiniTable invoiceTable, boolean isMultiCurrency)
void
setPaymentColumnClass(IMiniTable paymentTable, boolean isMultiCurrency)
String
writeOff(int row, int col, boolean isInvoice, IMiniTable payment, IMiniTable invoice, boolean isAutoWriteOff)
-
-
-
Field Detail
-
format
public DecimalFormat format
-
log
public static final CLogger log
Logger
-
m_C_Currency_ID
public int m_C_Currency_ID
-
m_C_Charge_ID
public int m_C_Charge_ID
-
m_C_DocType_ID
public int m_C_DocType_ID
-
m_C_BPartner_ID
public int m_C_BPartner_ID
-
totalInv
public BigDecimal totalInv
-
totalPay
public BigDecimal totalPay
-
totalDiff
public BigDecimal totalDiff
-
allocDate
public Timestamp allocDate
-
m_AD_Org_ID
public int m_AD_Org_ID
-
-
Method Detail
-
checkBPartner
public void checkBPartner()
Load Business Partner Info - Payments - Invoices
-
getPaymentData
public Vector<Vector<Object>> getPaymentData(boolean isMultiCurrency, Object date, IMiniTable paymentTable)
-
setPaymentColumnClass
public void setPaymentColumnClass(IMiniTable paymentTable, boolean isMultiCurrency)
-
getInvoiceData
public Vector<Vector<Object>> getInvoiceData(boolean isMultiCurrency, Object date, IMiniTable invoiceTable)
-
setInvoiceColumnClass
public void setInvoiceColumnClass(IMiniTable invoiceTable, boolean isMultiCurrency)
-
calculate
public void calculate(boolean isMultiCurrency)
-
writeOff
public String writeOff(int row, int col, boolean isInvoice, IMiniTable payment, IMiniTable invoice, boolean isAutoWriteOff)
-
calculatePayment
public String calculatePayment(IMiniTable payment, boolean isMultiCurrency)
Calculate Allocation info
-
calculateInvoice
public String calculateInvoice(IMiniTable invoice, boolean isMultiCurrency)
-
saveData
public MAllocationHdr saveData(int m_WindowNo, Object date, IMiniTable payment, IMiniTable invoice, String trxName)
Save Data
-
-