Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright 2007, Information Builders. Slide 1 FOR and the FML Syntax Noreen Redden Information Builders FOCUS Users of New England.

Similar presentations


Presentation on theme: "Copyright 2007, Information Builders. Slide 1 FOR and the FML Syntax Noreen Redden Information Builders FOCUS Users of New England."— Presentation transcript:

1 Copyright 2007, Information Builders. Slide 1 FOR and the FML Syntax Noreen Redden Information Builders FOCUS Users of New England

2 Copyright 2007, Information Builders. Slide 2 Financial Reporting Agenda  General Accounting Concepts  Why FML?  Requirements for Parent-Child Reporting  Financial Report Painter  Preparing the Data  Examples  Questions

3 Copyright 2007, Information Builders. Slide 3 Financial Reporting General Accounting Concepts  Creating specific types of reports (eg. Income Statement, Balance Sheet)  The rows on Financial reports are made up of General Ledger Accounts with measurement values  (eg. Actual, Plan, Forecast)  General Ledger contains Account transactions  (eg. Debit/Credit entries)  Chart of Accounts is the G/L Account hierarchy

4 Copyright 2007, Information Builders. Slide 4 Financial Reporting General Accounting Concepts  Total of Debits must equal Total of Credits Transactions for buying a building: G/L AccountDescriptionDebitCredit 10005 Building 1,000,000 10001 Cash 200,000 20008 Mortgage 800,000

5 Copyright 2007, Information Builders. Slide 5 Financial Reporting General Accounting Concepts Chart of Accounts Assets Current Assets Cash Long Term Assets Building Liabilities Long Term Liabilities Mortgage Payable

6 Copyright 2007, Information Builders. Slide 6 Financial Reporting General Accounting Concepts  The signs of the numbers may be negative for certain types of accounts  Revenue  Liability  Stockholder’s Equity  However, they need to be presented as non-negative numbers on the report

7 Copyright 2007, Information Builders. Slide 7 Financial Reporting What’s the difference  In Typical Reporting:  Report Lines appear in Sort Order  Lines Appear Only for values retrieved from File  Free Text can only be inserted on Sort Breaks  Inter-Row calculations can only be performed at Sort Breaks (RECAP)

8 Copyright 2007, Information Builders. Slide 8 What is Financial Reporting? What’s the difference  In Financial Reporting:  Specific Report Lines can be placed anywhere on the page – regardless of sort sequence  Report Lines can appear in report regardless on whether there is any Amount in the General Ledger  Free Text can be inserted on any line of the page  Inter-Row calculations can performed simply  Complex formatting

9 Copyright 2007, Information Builders. Slide 9 Financial Reporting Requirements for Parent-Child Reporting  Graphical representation of the Parent/Child hierarchy  Each element contains a pointer to the next element.

10 Copyright 2007, Information Builders. Slide 10 Financial Reporting Requirements for Parent-Child Reporting (cont’d)  Hierarchy Requirements  Account Code  Account Parent  Account Description  Usually requires an additional process to create this structure  New structure is then joined to the data to be reported upon

11 Copyright 2007, Information Builders. Slide 11 Financial Reporting Master File Keywords  REFERENCE=fieldname  Where fieldname identifies FIELDNAME within the Master File that contains the Child value.  PROPERTY=PARENT_OF  Marks the fieldname as containing the Parent value of the field identified in the REFERENCE attribute  PROPERTY=CAPTION  Marks the field as containing the Description value of the field identified in the REFERENCE attribute

12 Copyright 2007, Information Builders. Slide 12 Financial Reporting Parent-Child Rules  Each parent must be stored as a child  A child may have only one parent  Top level must point to a blank parent  Child and parent fields must have the same format  If you qualify the field names in the references, you MUST use those referenced field names in the request

13 Copyright 2007, Information Builders. Slide 13 Financial Reporting Hierarchy Examples Chart of Accounts ACCOUNTACCOUNT PARENTACCOUNT CAPTION 1000Profit Before Tax 20001000Gross Margin 21002000Sales Revenue 22002100Retail Sales 22102200Retail – Television Organization Chart Employee IDManager IDTitle 001CEO 002001President 003002VP Sales 004003Dir East Coast Sales 005003Dir West Coast Sales 006004NE Sales Manager

14 Copyright 2007, Information Builders. Slide 14 Financial Reporting The Painter  Starting a Financial Report  In the Report Painter:  Add the fields you want to include in the report, including the field that you intend to designate as your FOR field  The FOR field is the field that contains the Child account value  You can include BY and/or Across sort fields  Headings, footings,calculated values, and images are usable  Select the field that you want to use as the FOR field, and click the For button on the Report Painter Columns toolbar  Report can only contain one FOR field  Click the Matrix tab at the bottom of the window  The Financial Report Painter's Design matrix opens

15 Copyright 2007, Information Builders. Slide 15 Financial Reporting The Painter Highlight the column, click the For button then the Matrix tab

16 Copyright 2007, Information Builders. Slide 16 Financial Reporting The Painter This view shows an expanded hierarchy and a section of the report

17 Copyright 2007, Information Builders. Slide 17 Financial Reporting Children/Consolidate Options You open the tag dialog by right-clicking on a row and selecting row properties

18 Copyright 2007, Information Builders. Slide 18 Financial Reporting Children/Consolidate Options (cont’d)  With Children  Shows a total for the groups parent at the start of each grouping  Get Children  Shows the figures for children of that entry. Additional groups would appear as above.  Consolidate  Instructs WebFOCUS to calculate a total for each of the parent entries or the specific parent.

19 Copyright 2007, Information Builders. Slide 19 Financial Reporting Adding Rows Together You can also create dynamic hierarchies using FML. In this example, we create a report showing totals by the existing hierarchy and a proposed hierarchy.

20 Copyright 2007, Information Builders. Slide 20 Financial Reporting RECAP You open the recap dialog by either right- clicking on a row or clicking on the tool bar

21 Copyright 2007, Information Builders. Slide 21 Financial Reporting RECAP (cont’d) You can also create recaps by clicking on a cell, then, while holding down the shift key, you can drag a reference to that cell elsewhere. Note, that by default, a “+” is used. You can change that to whatever you need it to be.

22 Copyright 2007, Information Builders. Slide 22 Net Profit____ 1000____ Gross Margin____2000____1000____ Sales Revenue21002000____1000____ Retail Sales2100200022001000____ Retail TV Sales21002000220010002210 Retail Stereo Sales21002000220010002220 Mail Order Sales2100200023001000____ Mail Order TV Sales21002000230010002310 Mail Order St Sales21002000230010002320 Operating Expenses____3000____1000____ Selling Expenses31003000____1000____ Advertising3100300031101000____ DescriptionLev 3Lev 2Lev 4Lev 1Lev 5DescriptionChildParent Net Profit Gross Margin Sales Revenue Retail Sales Retail TV Sales Retail Stereo Sales Mail Order Sales Mail Order TV Sales Mail Order St Sales Operating Expenses Selling Expenses Advertising 1000 2000 2100 2200 2100 2300 1000 3000 3100 1000 2000 2100 2200 2210 2220 2300 2310 2320 3000 3100 3110 Financial Reporting Preparing the data Source – Level Based Hierarchy Output – Parent/Child

23 Copyright 2007, Information Builders. Slide 23 Financial Reporting Preparing the data (cont’d) FILENAME=ACCTLVL, SUFFIX=FOC, $ SEGMENT=ACCTLVL,SEGTYPE=S1, $ FIELDNAME=FOCLIST, ALIAS=E01, USAGE=I5, $ FIELDNAME=ACCT_LVL1, ALIAS=E02, USAGE=A4, $ FIELDNAME=ACCT_LVL2, ALIAS=E03, USAGE=A4, $ FIELDNAME=ACCT_LVL3, ALIAS=E04, USAGE=A4, $ FIELDNAME=ACCT_LVL4, ALIAS=E05, USAGE=A4, $ FIELDNAME=ACCT_LVL5, ALIAS=E06, USAGE=A4, $ FIELDNAME=ACCT_LVL6, ALIAS=E07, USAGE=A4, $ FIELDNAME=DESCR, ALIAS=E08, USAGE=A44,$ FILENAME=ACCTPC, SUFFIX=FOC, $ SEGMENT=ACCTPC, SEGTYPE=S1, $ FIELDNAME=DESCRIPTION, ALIAS=E01, USAGE=A44, REFERENCE=CHILD_ACCOUNT, PROPERTY=CAPTION,$ FIELDNAME=PARENT_ACCOUNT, ALIAS=E02, USAGE=A4, REFERENCE=CHILD_ACCOUNT, PROPERTY=PARENT_OF,$ FIELDNAME=CHILD_ACCOUNT, ALIAS=E03, USAGE=A4, $

24 Copyright 2007, Information Builders. Slide 24 TABLE FILE filename PRINT/SUM FOR hierarchyfld parentvalue GET/WITH CHILD(REN) (n) ALL AS CAPTION/’text’ LABEL label … hierarchyfld the hierarchy field name or, field name from the host file(JOIN) parentvalue the parent value for which the children are to be retrieved Financial Reporting Syntax

25 Copyright 2007, Information Builders. Slide 25 parentvalue GET/WITH CHILD(REN) (n) ALL AS CAPTION/’text’ LABEL label GET CHILDREN displays the hierarchy starts with the first child of the parent value does NOT include the parent in the display … WITH CHILDREN displays the hierarchy starts with the first child of the parent value DOES include the parent in the display (n) ALL Integer value from 1 to 99 How many levels of the hierarchy to display Warning message if 999 levels are exceeded ALL is a synonym for up to 99 levels Levels of the hierarchy are indented at each level Financial Reporting Syntax

26 Copyright 2007, Information Builders. Slide 26 parentvalue GET/WITH CHILD(REN) (n) ALL AS CAPTION/’text’ LABEL label CAPTION The caption value to display Taken from the CAPTION field in the Master File Description ‘text’ A text string which will be used for the Row Title Does NOT use the CAPTION field, if used LABEL Regular FML syntax – assigns an explicit row label Financial Reporting Syntax

27 Copyright 2007, Information Builders. Slide 27 PIN REPORTSTO TITLE FULLNAME --- --------- ----- -------- 000000010 000000040 MARKETING EXECUTIVE VALINO, DANIEL 000000020 000000340 INDUSTRIAL MARKETER BELLA, MICHAEL 000000030 000000050 SALES MANAGER CASSANOVA, LOIS 000000040 000000200 MARKETING DIRECTOR ADAMS, RUTH 000000050 000000200 EXECUTIVE MANAGER ADDAMS, PETER 000000060 000000200 MARKETING DIRECTOR PATEL, DORINA 000000070 PRESIDENT SANCHEZ, EVELYN 000000080 000000340 SENIOR SALES EXEC. SO, PAMELA 000000090 000000250 EMPLOYEE COORDINATOR PULASKI, MARIANNE 000000100 000000370 SUPERVISOR OF AP/AR ANDERSON, TIM 000000110 000000160 PRODUCT DISTRIBUTOR RUSSO, ANTHONY 000000120 000000230 CORPORATE CONSULTANT WANG, KATE 000000130 000000340 MANAGER CVEK, MARCUS 000000140 000000350 MANAGER WHITE, VERONICA 000000150 000000120 SENIOR CONSULTANT WHITE, KARL Financial Reporting Examples Hierarchy sample data

28 Copyright 2007, Information Builders. Slide 28 FILENAME=ORGCHART, SUFFIX=FOC, $ SEGMENT=SEG01, SEGTYPE=S1, $ FIELDNAME=PIN, ALIAS=E01, USAGE=A9, FIELDTYPE=I, $ FIELDNAME=REPORTSTO, ALIAS=E02, USAGE=A9, PROPERTY=PARENT_OF,REFERENCE=PIN,$ FIELDNAME=TITLE, ALIAS=E03, USAGE=A20,$ FIELDNAME=FULLNAME, ALIAS=E04, USAGE=A50, PROPERTY=CAPTION,REFERENCE=PIN,$ Financial Reporting Examples Master File Description (Synonym) – USEORG.MAS

29 Copyright 2007, Information Builders. Slide 29 JOIN PIN IN USEORG TO PIN IN EMPDATA AS J1 TABLE FILE USEORG COUNT ENTRIES SUM.SALARY FOR 'USEORG.SEG01.PIN' '000000070' ON TABLE SET FORMULTIPLE ON ON TABLE NOTOTAL ON TABLE SET BLANKINDENT ON Financial Reporting Examples COUNT SALARY ----- ------ 000000070 1 $83,000.00

30 Copyright 2007, Information Builders. Slide 30 JOIN PIN IN USEORG TO PIN IN EMPDATA AS J1 TABLE FILE USEORG COUNT ENTRIES SUM.SALARY FOR 'USEORG.SEG01.PIN' '000000070' OVER '000000080' INDENT 1 Financial Reporting Examples COUNT SALARY ----- ------ 000000070 1 $83,000.00 000000080 1 $43,400.00

31 Copyright 2007, Information Builders. Slide 31 JOIN PIN IN USEORG TO PIN IN EMPDATA AS J1 TABLE FILE USEORG COUNT ENTRIES SUM.SALARY FOR 'USEORG.SEG01.PIN' '000000070' WITH CHILDREN Financial Reporting Examples COUNT SALARY ----- ------ 000000070 1 $83,000.00 000000200 1 $115,000.00 000000230 1 $80,500.00

32 Copyright 2007, Information Builders. Slide 32 JOIN PIN IN USEORG TO PIN IN EMPDATA AS J1 TABLE FILE USEORG COUNT ENTRIES SUM.SALARY FOR 'USEORG.SEG01.PIN' '000000070' GET CHILDREN Financial Reporting Examples COUNT SALARY ----- ------ 000000200 1 $115,000.00 000000230 1 $80,500.00

33 Copyright 2007, Information Builders. Slide 33 JOIN PIN IN USEORG TO PIN IN EMPDATA AS J1 TABLE FILE USEORG COUNT ENTRIES SUM.SALARY FOR 'USEORG.SEG01.PIN' '000000070' WITH CHILDREN 2 Financial Reporting Examples COUNT SALARY ----- ------ 000000070 1 $83,000.00 000000200 1 $115,000.00 000000040 1 $62,500.00 000000050 1 $54,100.00 000000060 1 $55,500.00 000000160 1 $62,500.00 000000270 1 $42,900.00 000000340 1 $58,800.00 000000230 1 $80,500.00 000000120 1 $49,500.00 000000170 1 $30,800.00 000000300 1 $79,000.00

34 Copyright 2007, Information Builders. Slide 34 JOIN PIN IN USEORG TO PIN IN EMPDATA AS J1 TABLE FILE USEORG COUNT ENTRIES SUM.SALARY FOR 'USEORG.SEG01.PIN' '000000070' WITH CHILDREN ALL Financial Reporting Examples COUNT SALARY ----- ------ 000000070 1 $83,000.00 000000200 1 $115,000.00 000000040 1 $62,500.00 000000010 1 $55,500.00 000000310 1 $52,000.00 000000050 1 $54,100.00 000000030 1 $70,000.00 000000190 1 $39,000.00 000000210 1 $43,600.00 000000330 1 $30,500.00 000000360 1 $43,000.00 000000060 1 $55,500.00 000000320 1 $35,200.00 000000160 1 $62,500.00 000000110 1 $19,300.00 000000350 1 $54,100.00 000000140 1 $62,500.00

35 Copyright 2007, Information Builders. Slide 35 JOIN PIN IN USEORG TO PIN IN EMPDATA AS J1 TABLE FILE USEORG COUNT ENTRIES SUM.SALARY FOR 'USEORG.SEG01.PIN' '000000070' WITH CHILDREN ALL ADD Financial Reporting Examples COUNT SALARY ----- ------ 000000070 37 $1,892,900.00 000000200 26 $1,346,600.00 000000040 3 $170,000.00 000000010 1 $55,500.00 000000310 1 $52,000.00 000000050 6 $280,200.00 000000030 1 $70,000.00 000000190 1 $39,000.00 000000210 1 $43,600.00 000000330 1 $30,500.00 000000360 1 $43,000.00 000000060 2 $90,700.00 000000320 1 $35,200.00 000000160 4 $198,400.00 000000110 1 $19,300.00 000000350 2 $116,600.00 000000140 1 $62,500.00

36 Copyright 2007, Information Builders. Slide 36 JOIN PIN IN USEORG TO PIN IN EMPDATA AS J1 TABLE FILE USEORG COUNT ENTRIES SUM.SALARY FOR 'USEORG.SEG01.PIN' '000000070’ ADD Financial Reporting Examples COUNT SALARY ----- ------ 000000400 37 $1,892,900.00

37 Copyright 2007, Information Builders. Slide 37 '000000070' WITH CHILDREN ALL Financial Reporting Examples COUNT SALARY ----- ------ 000000070 1 $83,000.00 000000200 1 $115,000.00 000000040 1 $62,500.00 000000010 1 $55,500.00 000000310 1 $52,000.00 000000050 1 $54,100.00 000000030 1 $70,000.00 000000190 1 $39,000.00 000000210 1 $43,600.00 000000330 1 $30,500.00 000000360 1 $43,000.00 000000060 1 $55,500.00 000000320 1 $35,200.00 000000160 1 $62,500.00 000000110 1 $19,300.00 000000350 1 $54,100.00 000000140 1 $62,500.00 COUNT SALARY ----- ------ 000000400 37 $1,892,900.00 '000000070' ADD

38 Copyright 2007, Information Builders. Slide 38 JOIN PIN IN USEORG TO PIN IN EMPDATA AS J1 TABLE FILE USEORG COUNT ENTRIES SUM.SALARY FOR 'USEORG.SEG01.PIN' '000000070' WITH CHILDREN ALL OVER '000000070' ADD ON TABLE SET FORMULTIPLE ON Financial Reporting Examples COUNT SALARY ----- ------ 000000070 1 $83,000.00 000000200 1 $115,000.00 000000040 1 $62,500.00 000000010 1 $55,500.00 000000310 1 $52,000.00 000000050 1 $54,100.00 000000030 1 $70,000.00 000000190 1 $39,000.00. 000000100 1 $32,400.00 000000400 1 $26,400.00 000000400 37 $1,892,900.00

39 Copyright 2007, Information Builders. Slide 39 JOIN PIN IN USEORG TO PIN IN EMPDATA AS J1 TABLE FILE USEORG COUNT ENTRIES SUM.SALARY FOR 'USEORG.SEG01.PIN' '000000070' WITH CHILDREN ALL AS CAPTION OVER '000000070' ADD AS ’*TOTAL’ ON TABLE SET FORMULTIPLE ON Financial Reporting Examples COUNT SALARY ----- ------ SANCHEZ, EVELYN 1 $83,000.00 LASTRA, KAREN 1 $115,000.00 ADAMS, RUTH 1 $62,500.00 VALINO, DANIEL 1 $55,500.00 LIEBER, JEFF 1 $52,000.00 ADDAMS, PETER 1 $54,100.00 CASSANOVA, LOIS 1 $70,000.00 MEDINA, MARK 1 $39,000.00.. WANG, JOHN 1 $62,500.00 ANDERSON, TIM 1 $32,400.00 LOPEZ, ANNE 1 $26,400.00 *TOTAL 37 $1,892,900.00

40 Copyright 2007, Information Builders. Slide 40 SET CNOTATION=EXPLICIT TABLE FILE GGSALES SUM UNITS ACROSS DATE COMPUTE QTRCHG/I8=0; AS 'Quarter Change' FOR REGION 'Midwest' LABEL MW OVER RECAP MW(5)=MW(4) - MW(1); OVER 'West' LABEL W OVER RECAP W(5)=W(4) - W(1); OVER RECAP COMBTOT/I8=MW + W ; AS 'Total' WHERE DATE GE 19970901 END Financial Reporting Examples Date 1997/09/01 1997/10/01 1997/11/01 1997/12/01 Quarter Change ------------------------------------------------------------------------- Midwest 40684 39563 35466 44813 4129 West 35030 41930 37298 37294 2264 Total 75714 81493 72764 82107 6393

41 Copyright 2007, Information Builders. Slide 41 Questions Thanks for Coming


Download ppt "Copyright 2007, Information Builders. Slide 1 FOR and the FML Syntax Noreen Redden Information Builders FOCUS Users of New England."

Similar presentations


Ads by Google