Hello All,
I have an object/db object "Status Percent". Now i need to display in my report 2 other objects "Current Status Percent" and "Previous Status Percent"
where....
Current Status Percent = Status of the year_month that was selected on the prompt page for current Quarter(Status of 201406 )
Previous Status Percent = Status of the year_month that was selected on the prompt page for any quarter other than current Quarter(eg:Status of 2014063 )
I need to display both these objects along with varience of current and prevoius status(Current satus - Previous status)
should be writing an if and else in variable or create a new object based on original "Status Percent".
My requirement :
How should the SQL be for current and previous status based on current Quarter and any previous quarter other than current.
any inputs on to accomplish this SQL is highly appreciated