Need to customize the serial number of Quoataion in ERP Next version - ERPNext: v15.39.3 (version-15)
@AmarNunam open Document Naming Settings → Setup Series for transactions.