I need to retrieve the next auto-incremented ID before creating the entity. I need it to populate another field at creation (an invoice reference ex INVOICE-2022-<NEXT_INVOICE_ID>).
Is it possible to do so before creation, or do I need to first create it, and then retrieve it and edit the entity ? (which sounds cumbersome)
Thanks !