Getting Your C ore FOCUS Onto Financial Reporting Language
description
Transcript of Getting Your C ore FOCUS Onto Financial Reporting Language
![Page 2: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/2.jpg)
During this hour
• Discuss a few ‘best practices’ in relationship to Financial Modeling Language or what was called
Financial Reporting Language.• Emphasis is on creating DYNAMIC
query solutions.
![Page 3: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/3.jpg)
During this hour
• Which means getting down to the source code behind the query.
• Preparation of temporary or permanent files to hold data extracts.
• Generating DEFINES on the fly.
![Page 4: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/4.jpg)
During this hour
• Developing and utilizing ‘hierarchies’ created with FOCUS databases & JOIN with relational database tables.
• How to populate ‘the hierarchy’ within a FOCUS database from sequential data sources utilizing MODIFY.
![Page 5: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/5.jpg)
During this hour..we shall
• Develop General Ledger and other financial reports with the assistance of the hierarchy.
• Modify hierarchies to create reports that require ‘time based’ hierarchies.
![Page 6: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/6.jpg)
During this hour..we shall
• Learn how WebFOCUS may be used with SQL Server OLAP cubes.
• Learn how easily reports can be created when their source data comes from an OLAP cube.
![Page 7: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/7.jpg)
So where do we start
![Page 8: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/8.jpg)
Hierarchies&
FOCUS reporting
![Page 9: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/9.jpg)
![Page 10: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/10.jpg)
File persistence
![Page 11: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/11.jpg)
-SET &TEMPPATH = TEMPPATH(100,'A100');-TYPE &TEMPPATHFILEDEF HOLDMAST DIR &TEMPPATHFILEDEF HOLDMAST DIR C:\IBI\APPS\COREFOCUSFRL APP HOLD COREFOCUSFRLFILEDEF SSCGL DISK C:/FUSE2008/SSCGL.foc-RUN
![Page 12: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/12.jpg)
Hierarchy on business server
Create a ‘Flat File’ extract
Load the extract into FOCUS file
Data files joined to hierarchy
Best Practices
![Page 13: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/13.jpg)
From data source
![Page 14: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/14.jpg)
![Page 15: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/15.jpg)
Extract hierarchy data from source
![Page 16: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/16.jpg)
TABLE FILE CHARTDATAPRINTGL_ACCOUNTGL_ACCOUNT_PARENTGL_ACCOUNT_TYPEGL_ROLLUP_OPGL_ACCOUNT_LEVELGL_ACCOUNT_CAPTIONSYS_ACCOUNTON TABLE SAVE AS CHARTDATAHOLD1END
![Page 17: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/17.jpg)
Creating the flat file
![Page 18: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/18.jpg)
![Page 19: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/19.jpg)
Loading the FOCUS file
![Page 20: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/20.jpg)
CREATE FILE SSCGL-RUNMODIFY FILE SSCGLCOMPUTE TEMP1/A1 =' ';FIXFORM GL_ACCOUNT/A4 GL_ACCOUNT_PARENT/A4 FIXFORM GL_ACCOUNT_TYPE/A1 FIXFORM GL_ROLLUP_OP/A1 TEMP1 FIXFORM GL_ACCOUNT_CAPTION/A30FIXFORM SYS_ACCOUNT/A25COMPUTE GL_ACCOUNT_LEVEL = EDIT(TEMP1);MATCH GL_ACCOUNT ON MATCH REJECT ON NOMATCH INCLUDEDATA ON CHARTDATAHOLD1END
![Page 21: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/21.jpg)
![Page 22: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/22.jpg)
![Page 23: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/23.jpg)
Data from the fact table
![Page 24: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/24.jpg)
![Page 25: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/25.jpg)
Join SYS_ACCOUNT on the Hierarchy table with SYS_ACCOUNT on the fact table
![Page 26: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/26.jpg)
TABLE FILE FUSEFASB PRINT MARKETVALB TOTALCOSTL TOTALCOSTBBY SYS_ACCOUNTWHERE SYS_ACCOUNT NE ' 'ON TABLE HOLD AS FUSEFASB1 FORMAT FOCUS INDEX SYS_ACCOUNTEND
![Page 27: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/27.jpg)
![Page 28: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/28.jpg)
Demo 1
![Page 29: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/29.jpg)
Creating acalendar
![Page 30: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/30.jpg)
![Page 31: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/31.jpg)
![Page 32: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/32.jpg)
![Page 33: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/33.jpg)
![Page 34: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/34.jpg)
Demo 2Code for calendar
![Page 35: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/35.jpg)
Creating an availability
report
![Page 36: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/36.jpg)
![Page 37: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/37.jpg)
![Page 38: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/38.jpg)
Demo 3‘Availability
Report’
![Page 39: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/39.jpg)
FML & dynamic code generation
![Page 40: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/40.jpg)
I want 6 days
No changed my mind
I want 21 days!!
![Page 41: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/41.jpg)
Nothing hardwired
Driven by extract criteria
Dialog Manager
Keep it as simple
Best Practices
![Page 42: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/42.jpg)
So with Dialog Manager
![Page 43: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/43.jpg)
-REPEAT LOOPER4 FOR &I FROM 1 TO &RECS STEP 1-SET &J= &I +1;-SET &DIFFVAL = IF (&I GE 1) AND (&I LE 9) THEN '0' || EDIT(&I) ELSE EDIT(&I);-SET &DIFFVALJ = IF (&J GE 1) AND (&J LE 9) THEN '0' || EDIT(&J) ELSE EDIT(&J);-IF &I NE 1 THEN GOTO BYPASSME;-SET &STATEMENT = 'WHAT_AM_I/A3 = IF VAL' || &DIFFVAL | ' EQ VAL' || EDIT(&RECS) | ' THEN ';-SET &STATEMENT = &STATEMENT | &APOST || '-' || &APOST | ' ELSE ' ;-WRITE BUYORSELL &STATEMENT-GOTO LOOPER4
![Page 44: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/44.jpg)
We generate the following DEFINE
![Page 45: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/45.jpg)
WHAT_AM_I/A3 = IF VAL01 EQ VAL20 THEN '-' ELSEIF VAL03 GT VAL02 THEN 'B' ELSEIF VAL04 GT VAL03 THEN 'B' ELSE…IF VAL10 GT VAL09 THEN 'B' ELSEIF VAL11 GT VAL10 THEN 'B' ELSE WHAT_AM_I;WHAT_AM_I = IF VAL12 GT VAL11 THEN 'B' ELSEIF VAL13 GT VAL12 THEN 'B' ELSEIF VAL14 GT VAL13 THEN 'B' ELSE……IF VAL21 GT VAL20 THEN 'B' ELSE WHAT_AM_I;
![Page 46: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/46.jpg)
For 6 days
![Page 47: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/47.jpg)
![Page 48: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/48.jpg)
For 21 days
![Page 49: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/49.jpg)
![Page 50: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/50.jpg)
Demo 4The ‘Roll Forward’
report
![Page 51: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/51.jpg)
Working with OLAP cubes
![Page 52: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/52.jpg)
SQL Server Analysis Services
&Visual Studio 2005
![Page 53: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/53.jpg)
![Page 54: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/54.jpg)
![Page 55: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/55.jpg)
Demo 5OLAP cubes
& WebFOCUS
![Page 56: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/56.jpg)
During this hour..we
• Discussed a few Financial Modeling Language ‘best practices’.
• Emphasis was placed on creating DYNAMIC query solutions.
![Page 57: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/57.jpg)
During this hour..we• Delved into the source code behind
the queries.• More fine tuning can be done at code
level.• Saw how to retain our ‘holdmasts’
and our data extracts.• Generated DEFINES on the fly.
(Code is now more extensible)
![Page 58: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/58.jpg)
During this hour..we• Developed and utilized ‘hierarchies’
created with FOCUS databases and JOINED to relational database tables.
• Learnt how to populate ‘the hierarchy’ within a FOCUS database from sequential data sources utilizing MODIFY.
![Page 59: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/59.jpg)
During this hour..we
• Developed a General Ledger and other financial reports with the assistance of the hierarchy.
• Modified hierarchies to create reports requiring ‘time based’ hierarchies.
![Page 60: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/60.jpg)
During this hour..we have
• Learnt how WebFOCUS may be used with SQL Server OLAP cubes.
• Learnt how easily reports can be created when their source data comes from an OLAP cube.
![Page 61: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/61.jpg)
Thank you!
Please remember to complete your evaluation form and submit it to the proctor
Thank you for attending this session and the 2008 Information Builders Summit in
Nashville
![Page 62: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/62.jpg)
Questions
PowerPoint Presentation & Source Code may be found at…http://cid-4c765fc825912e4d.skydrive.live.com/browse.aspx/Public
![Page 63: Getting Your C ore FOCUS Onto Financial Reporting Language](https://reader035.fdocuments.us/reader035/viewer/2022070420/56815ec1550346895dcd4772/html5/thumbnails/63.jpg)