Package org.compiere.apps.form
Class FactReconcile
java.lang.Object
org.compiere.apps.form.FactReconcile
- Direct Known Subclasses:
WFactReconcile
-
Field Summary
Modifier and TypeFieldDescriptionint
protected static int
protected static int
protected static int
protected static int
int
protected static final CLogger
Loggerprotected int
protected int
protected int
protected int
protected int
protected Timestamp
protected Timestamp
protected boolean
protected int
protected int
Number of selected rowsprotected BigDecimal
Total selected amountprotected String
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
calculateSelection
(IMiniTable miniTable) Calculate selected rowsvoid
dynInit()
dynamic initializationboolean
Generate Reconciliation recordvoid
generate
(IMiniTable miniTable, List<Integer> generatedIndexes) GenerateMFactReconciliation
record from selected row in miniTableprotected Vector<KeyNamePair>
getData()
boolean
reset
(int factId) Reset/delete Reconciliation recordvoid
reset
(IMiniTable miniTable, List<Integer> resetedIndexes) Reset/DeleteMFactReconciliation
record from selected row in miniTablevoid
setColumnClass
(IMiniTable miniTable) set class type of column
-
Field Details
-
log
Logger -
m_AD_Client_ID
protected int m_AD_Client_ID -
m_AD_Org_ID
protected int m_AD_Org_ID -
m_Account_ID
protected int m_Account_ID -
m_C_AcctSchema_ID
protected int m_C_AcctSchema_ID -
m_isReconciled
protected boolean m_isReconciled -
m_C_BPartner_ID
protected int m_C_BPartner_ID -
m_M_Product_ID
protected int m_M_Product_ID -
m_DateAcct
-
m_DateAcct2
-
selectedColIndex
public int selectedColIndex -
idColIndex
public int idColIndex -
amtColIndex
public int amtColIndex -
col_C_AcctSchema_ID
protected static int col_C_AcctSchema_ID -
col_AD_Org_ID
protected static int col_AD_Org_ID -
col_C_BPartner_ID
protected static int col_C_BPartner_ID -
col_M_Product_ID
protected static int col_M_Product_ID -
m_trxName
-
m_noSelected
protected int m_noSelectedNumber of selected rows -
m_selectedAmt
Total selected amount
-
-
Constructor Details
-
FactReconcile
public FactReconcile()
-
-
Method Details
-
dynInit
dynamic initialization- Throws:
Exception
-
getColumnNames
- Returns:
- column header labels
-
getData
- Returns:
- list of Fact_Acct records
-
setColumnClass
set class type of column- Parameters:
miniTable
-
-
calculateSelection
Calculate selected rows. - add up selected rows -
generate
GenerateMFactReconciliation
record from selected row in miniTable- Parameters:
miniTable
-generatedIndexes
- list of rows thatMFactReconciliation
have been successfully created from
-
generate
Generate Reconciliation record- Returns:
- true if save successfully
-
reset
Reset/DeleteMFactReconciliation
record from selected row in miniTable- Parameters:
miniTable
-resetedIndexes
- list of rows thatMFactReconciliation
have been successfully deleted
-
reset
public boolean reset(int factId) Reset/delete Reconciliation record- Returns:
- true if reset/delete successfully
-
getAccount
- Returns:
- list of account element records
-