Package org.compiere.apps.form
Class FactReconcile
java.lang.Object
org.compiere.apps.form.FactReconcile
- Direct Known Subclasses:
WFactReconcile
GL Reconciliation Form
-
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 total of selected rows.void
dynInit()
Dynamic initializationboolean
Generate Reconciliation recordvoid
generate
(IMiniTable miniTable, List<Integer> generatedIndexes) GenerateMFactReconciliation
record from selected row in miniTableprotected Vector<KeyNamePair>
Get account element recordsGet column names forgetData()
getData()
Get not reconcile or reconciled Fact_Acct recordsboolean
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
Get column names forgetData()
- Returns:
- column header labels
-
getData
Get not reconcile or reconciled Fact_Acct records- Returns:
- list of Fact_Acct records
-
setColumnClass
Set class type of column- Parameters:
miniTable
-- See Also:
-
calculateSelection
Calculate total of 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- Parameters:
factId
- Fact_Acct_IDtime
- time stamp- 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- Parameters:
factId
- Fact_Acct_ID- Returns:
- true if reset/delete successfully
-
getAccount
Get account element records- Returns:
- list of account element records (C_ElementValue_ID, Value)
-