Class FactReconcile

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

public class FactReconcile extends Object
  • 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()
      Returns:
      column header labels
    • getData

      public Vector<Vector<Object>> getData()
      Returns:
      list of Fact_Acct records
    • setColumnClass

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

      public void calculateSelection(IMiniTable miniTable)
      Calculate selected rows. - add up 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
      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
      Returns:
      true if reset/delete successfully
    • getAccount

      protected Vector<KeyNamePair> getAccount()
      Returns:
      list of account element records