where i can see the generation of quote number

where the quote number is generated?

You don’t mention which version of IP you are using. Assuming it is v1.5.9, the short answer is: in the function

  • generate_invoice_number() in the file “~/application/modules/invoice_groups/models/Mdl_invoice_groups.php”

and the long answer is: in the function

  • db_array() in the file “~/application/modules/quotes/models/Mdl_quotes.php”, that calls the function
  • get_quote_number() in the same file, that in turn calls the function
  • generate_invoice_number() in the file “~/application/modules/invoice_groups/models/Mdl_invoice_groups.php” that uses the function
  • parse_identifier_format() in the same file.

If you are interested in how it is done in IP2, say so because someone else will have to answer your question.