Historical transactional loads over time.

Hi, this is a general question about the table relationships involving T_TRANSACTION.  Basically what I'm trying to find out is what our transactional load has been for past shows as far as single tickets are concerned over a time period to help gauge future transactional loads. 

I need to weed out only single ticket purchases so I think need to get to the sub lineitem level to filter on price_type.  If I start by using the T_TRANSACTION table as a base, how do I surmise which sub lineitems made up that T_TRANSACTION entry?  The T_TRANSACTION table has a pmap_no and a perf_no which links to the TX_PERF_PMAP table but there can be several entries due to different price types within the same price map with seemingly no indication for which price_type the T_TRANSACTION pertains to.  To get a snapshot view of this information is easy as I just start at the TX_PERF_SEAT and work down to the T_SUB_LINEITEM table but I want to look historically as tickets that were bought in the past may have been returned and re-bought.  I want to see a historical transaction record.  Actually as I write this, I realize there could be situations where there is no sublineitem to relate to.  If a seat is bought but not printed and later returned (deleted) the sub lineitem would not remain.  How might I find the data I'm looking for?  I hope I'm not missing something.

Hmmmm.....

Thanks in advance!

Sean

Parents Reply Children
No Data