Hello All, can some body please help me on the following problem:
I have an SSRS report, which normally should be sent in batch (once per month) on to the certain email, but some time the user should have a possibility to create a report manually.
The problem is:
If the report is in batch, it should contain information for previous month, i.e. if today is March 2015, the report should contain information for February 2015. //how and in which class I should input such check (whether the report created in batch or not?)
When the user create a report manually, he should choose the type of equipment (see the next item)
The report should be created for the three different type of equipment (EQ1, EQ2, EQ3 – base enum). The logic of the report creation for EQ1 and EQ2 is the same, but for the EQ3 the report should contain information for the previous calendar quarter, i.e. if today is March 2015, the report for the EQ3 should contains information for the period Oct2014-Dec2014. //how to generate a report for each category in batch? (I understand that it should be a loop, please explain a bit more)
The report should be sent in xls
So, generally, there are three questions:
how and in which class I should input such check (whether the report created in batch or not?)
how to generate a report for each category in batch?
And last but not least: how to email a report (I would appreciate a step by step explanation), I’m sure that someone has already created such post, but surfing related sites I have found different approaches and I can’t put them together, so just provide please with link
The report is on Ax 2012, created based on RDP, Contract, UI Builder and Controller classes.
Thanks a lot