Remember to first create the lottery item as a normal item in the pricebook, assigning it to the proper department, tree categorization, and vendor part.
This page just simply assigns the game number and number of tickets to the existing UPC in the pricebook.