Number sequence and Voucher?

Hi,

I have this problem (in Axapta 3.0):
I should limit a query on LedgerTrans table based on what number sequence has created the transaction’s Voucher.

Is there any way to figure out what number sequence has been used to generate a Voucher?