Maintaining lottery tickets it similar to maintain access types.
In enterprise: Maintain | access control | lottery items
You can edit or add new lottery types.
Only the 'basic's and 'macola information' tab are relevent to a lottery item. Everything else should be disabled.
The code is the short version.
On the macola information tab is the item_no- if this item is sold in the point of sale, a lottery ticket will be generated.
The description should have 25 or 50 in it. If it has 25 in it - it prints to the upper tray.
If the description has a 50 in it -- it prints to the lower tray.