Base solution for your next web application
Open Closed

Sequence Number per Tenant #10800


User avatar
0
ricardo created

Hello team,

Is there any way to implement a per-tenant unique sequencer?

hank you


3 Answer(s)
  • User Avatar
    0
    musa.demir created

    Can you describe in more detail what you want to do? What is the use case of it?

  • User Avatar
    0
    ricardo created

    The country's legislation requires the generation of a receipt that contains a sequential number starting with 1 for each establishment. Where later a tax report will be issued and compared with each receipt generated. The sequential number cannot have gaps. This exclude generating a single sequence for all tenants.

  • User Avatar
    0
    musa.demir created

    Hi ricardo

    I guess adding SequenceId field to your tenant table might meets your needs.