The user is prompted for a Period whose format is: YYYYMM. Ex: 201207 = July 2012. I need to recode the month of the period to a fiscal month. Ex: 201207 = July 2012 = Fiscal Month 1 of 2012.
HOW CAN I DO THIS? there are no tables involved at this point. Instead of using the prompted parameter for period down the road, I need a new item I can use: FiscalMonth.
Sounds simple but I am unsure how to get started...An EDIT wrapped around the period then evaluate the month---07 = 1, 08 = 2 etc?...not really sure how to do that....This message has been edited. Last edited by: RobertF,
WebFOCUS 8206.08 Windows, All Outputs
January 28, 2015, 05:44 PM
Francis Mariani
This won't help you in WF 7.6, but some time in WF 7.7x several Fiscal (Financial) functions were added, like FIYR, FIQTR...
The easiest way to deal with this Dialogue manager variable is with IF-ELSE statements or a DECODE statement, or you could create your own Fiscal function(s).
Thats neat! I thought there would be issues with a period of 201201...period = -05???...but apprently that function somehow knows how to factor that in...it came up with: 06...I'll have to read up on that one!