can you just use the primary key from each model? Do you have to ensure the numbers are contiguous?
Jun 12, 2017
10
Level 1
Ideal way to generate a unique reference code?
Hey guys, I would like to generate a unique reference code in my system for Orders, Procurement and Transactions. Do you have any suggestions how big should be the reference code and how should I implement it in an efficient way? The system should have xxx procurement per year, xxxx orders per year and about xxxx transactions per year.
Thanks for your help!
Please or to participate in this conversation.