how to find what will be the next value of system generated field
In CRM, there is a field called EVENT ID like Purchase Order number which automatically generated by the system.
Now i need, what will be the next generated value of this EVENT ID. how can i do this.
points will be rewarded.
thanks in advance