Hi,
I work in crm online 2015.
In our system we need running number for one entity.
So I made a plugin that take the last running number, and add 1;
The running number is in the following structure:
running number = year-month-running number;
For example : 2015-11-5
The next record's running number will be: 2015-11-6.
Every month I need to reset the running number,
so that he will be : year-month-1.
For example:2015-12-1.
My problem is : how can I know that this is the first record that create this month?
any idea?
thanks!
*This post is locked for comments