SQL EXAMPLES FOR:
Profit And Loss By Class
SQL STATEMENT EXAMPLES
sp_report ProfitAndLossByClass show Amount_Title, Text, Label, Amount parameters DateMacro = 'ThisYearToDate', SummarizeColumnsBy = 'Class'