For changing initial Number of Quotes/Invoices, you can modify the values of the config.php file in the config_override.php
The values are set in the following code
aos' =>
array (
'version' => '5.3.3',
'contracts' =>
array (
'renewalReminderPeriod' => '14',
),
'lineItems' =>
array (
'totalTax' => false,
'enableGroups' => true,
),
'invoices' =>
array (
'initialNumber' => '1',
),
'quotes' =>
array (
'initialNumber' => '1',
),
So what you can do is just change the initial numbers in config_override.php like following
$sugar_config['aos']['quotes']['initialNumber'] = '1000';
$sugar_config['aos']['invoices']['initialNumber'] = '3000';
For Having a Custom pattern, since you need an alphanumeric value, i would suggest that create a new field say “quote_number” and assign it the Number from Logic Hooks. So one number would be the primary incremental number while the other will be alphanumeric serial number. You can change the stepping/increments which you can see in the file modules/AOS_Quotes/AOS_Quotes.php save function