Class FactReconcile

java.lang.Object
org.compiere.apps.form.FactReconcile
Direct Known Subclasses:
WFactReconcile

public class FactReconcile extends Object
GL Reconciliation Form
  • Field Details

    • log

      protected static final CLogger 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

      protected Timestamp m_DateAcct
    • m_DateAcct2

      protected Timestamp 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

      protected String m_trxName
    • m_noSelected

      protected int m_noSelected
      Number of selected rows
    • m_selectedAmt

      protected BigDecimal m_selectedAmt
      Total selected amount
  • Constructor Details

    • FactReconcile

      public FactReconcile()
  • Method Details

    • dynInit

      public void dynInit() throws Exception
      Dynamic initialization
      Throws:
      Exception
    • getColumnNames

      public Vector<String> getColumnNames()
      Get column names for getData()
      Returns:
      column header labels
    • getData

      public Vector<Vector<Object>> getData()
      Get not reconcile or reconciled Fact_Acct records
      Returns:
      list of Fact_Acct records
    • setColumnClass

      public void setColumnClass(IMiniTable miniTable)
      Set class type of column
      Parameters:
      miniTable -
      See Also:
    • calculateSelection

      public void calculateSelection(IMiniTable miniTable)
      Calculate total of selected rows.
    • generate

      public void generate(IMiniTable miniTable, List<Integer> generatedIndexes)
      Generate MFactReconciliation record from selected row in miniTable
      Parameters:
      miniTable -
      generatedIndexes - list of rows that MFactReconciliation have been successfully created from
    • generate

      public boolean generate(int factId, String time)
      Generate Reconciliation record
      Parameters:
      factId - Fact_Acct_ID
      time - time stamp
      Returns:
      true if save successfully
    • reset

      public void reset(IMiniTable miniTable, List<Integer> resetedIndexes)
      Reset/Delete MFactReconciliation record from selected row in miniTable
      Parameters:
      miniTable -
      resetedIndexes - list of rows that MFactReconciliation 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

      protected Vector<KeyNamePair> getAccount()
      Get account element records
      Returns:
      list of account element records (C_ElementValue_ID, Value)