Class InvoiceNumberDAO

java.lang.Object
ru.bgcrm.dao.CommonDAO
org.bgerp.plugin.bil.invoice.dao.InvoiceNumberDAO

public class InvoiceNumberDAO extends CommonDAO
Builder DAO for retrieving next invoice counter number. At the end of uniqueness selection functions must be called
invalid reference
#get()
, performing the SQL query and returning required value. Used from scripts.
  • Constructor Details

  • Method Details

    • process

      public InvoiceNumberDAO process()
      Selects for the current process.
      Returns:
    • month

      public InvoiceNumberDAO month()
      Selects for the current month.
      Returns:
    • next

      public int next() throws SQLException
      Selects the next counter value. Terminating function.
      Returns:
      Throws:
      SQLException