This looks to be the way to go! Thank you very much. I'll do the function
in my application code to have it in version control. But it helped me wrap
my head around it.
Den ons. 26. feb. 2020 kl. 10.27 skrev Vik Fearing :
> On 26/02/2020 09:38, Søren Frisk wrote:
> > Hi all
> &g
Hi all
I'm trying to find a way to increment an invoice number. And i think it
would be pretty straight forward just using a SERIAL int. But as we're
selling across multiple countries, i need the invoice increment to be reset
by a country_id. any good way to achieve this in a dynamic way?
Hope thi