Displaying Fiscal Quarter Name as Default Value in Prompt
Hello,
There is a specific column in our RPD named 'Fiscal Quarter Name' (eg 'FQ 4', 'FQ 2', etc) and we want the previous value of this selected. In addition, the fiscal quarter begins in July (Q1 is July-September, Q2 is October-November etc). Therefore, I would need to write an sql statement like the following:
currentqtrname := select to_char(add_months((sysdate),-3),'Q') from dual (this extracts the previous quarter and takes into account the fiscal year timeline).
However, I need to organize this so that the correct Fiscal Quarter Name is displayed.