Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

How to create a date based on a fiscal year AND reset ID to 0 for each new year?

$
0
0

Hello,

I have a user who is manually adding the year and id to each item in the list and we want this to be an auto process instead of manual, however we are on fiscal year and they begin their id numbers at 1 for each new year. For example, Fiscal year beings October 2014 and instead of continuing with the id + 1; the id needs to be reset to 1. Yes, I am aware that to do this a new list would need to be created, but with the data we have it would be irrelevant to create a new list.

So far this is my code the date works right and the '00' is set before the numbers.

This is what I have at the moment, however I have been wanting to set the ID to zero if the fiscal year changes.

Any help would be appreciated.

Thank You


Richell A. Grant


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>