There's some info here. Click on Bike identification on the left and scroll down to Engine code (aka engine serial number). Unfortunately he doesn't provide info on year vs code #. You can oftentimes figure out the year by looking at ebay listings for engines & crankcases.