Package org.compiere.apps.form
Class FactReconcile
java.lang.Object
org.compiere.apps.form.FactReconcile
- Direct Known Subclasses:
WFactReconcile
GL Reconciliation Form
-
Field Summary
FieldsModifier and TypeFieldDescriptionintprotected static intprotected static intprotected static intprotected static intintprotected static final CLoggerLoggerprotected intprotected intprotected intprotected intprotected intprotected Timestampprotected Timestampprotected booleanprotected intprotected intNumber of selected rowsprotected BigDecimalTotal selected amountprotected Stringint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalculateSelection(IMiniTable miniTable) Calculate total of selected rows.voiddynInit()Dynamic initializationbooleanGenerate Reconciliation recordvoidgenerate(IMiniTable miniTable, List<Integer> generatedIndexes) GenerateMFactReconciliationrecord from selected row in miniTableprotected Vector<KeyNamePair>Get account element recordsGet column names forgetData()getData()Get not reconcile or reconciled Fact_Acct recordsbooleanreset(int factId) Reset/delete Reconciliation recordvoidreset(IMiniTable miniTable, List<Integer> resetedIndexes) Reset/DeleteMFactReconciliationrecord from selected row in miniTablevoidsetColumnClass(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
GenerateMFactReconciliationrecord from selected row in miniTable- Parameters:
miniTable-generatedIndexes- list of rows thatMFactReconciliationhave been successfully created from
-
generate
Generate Reconciliation record- Parameters:
factId- Fact_Acct_IDtime- time stamp- Returns:
- true if save successfully
-
reset
Reset/DeleteMFactReconciliationrecord from selected row in miniTable- Parameters:
miniTable-resetedIndexes- list of rows thatMFactReconciliationhave 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)
-