The Transaction table doesn't show the Class but it can be seen using a CustomTxnDetail report instead like this:-
sp_report CustomTxnDetail show Text, Blank, TxnType, Date, RefNumber, Name, Memo, Account, ClearedStatus, SplitAccount, Class, Debit, Credit, RunningBalance parameters DateMacro = 'ThisMonthToDate', SummarizeRowsBy = 'TotalOnly', OpenBalanceAsOf = 'Today'
All the predefined DateMacro options available to you are: |All|Today|ThisWeek|ThisWeekToDate|ThisMonth|ThisMonthToDate|ThisQuarter|ThisQuarterToDate |ThisYear|ThisYearToDate|Yesterday|LastWeek|LastWeekToDate|LastMonth|LastMonthToDate|LastQuarter |LastQuarterToDate|LastYear|LastYearToDate|NextWeek|NextFourWeeks|NextMonth|NextQuarter|NextYear|
For specific date ranges you can do:-
sp_report CustomTxnDetail show Date, Account, AccountType, Amount, Class parameters DateFrom = {d'2005-01-01'}, DateTo = {d'2005-12-31'}, SummarizeRowsBy = 'Account'
sp_report CustomTxnDetail show Date, Account, AccountType, Amount, Class parameters DateFrom = {d'2006-01-01'}, DateTo = {d'2006-12-31'}, SummarizeRowsBy = 'Account'
sp_report CustomTxnDetail show Date, Account, AccountType, Amount, Class parameters DateFrom = {d'2007-01-01'}, DateTo = {d'2007-12-31'}, SummarizeRowsBy = 'Account'
sp_report CustomTxnDetail show Date, Account, AccountType, Amount, Class parameters DateFrom = {d'2008-01-01'}, DateTo = {d'2008-12-31'}, SummarizeRowsBy = 'Account'
See: How do I run a CustomTxnDetail Report? for more information. |