McGyver for Dynamic Subtotals/Subfoots Presented by David Smith of Brinker International.

Slides:



Advertisements
Similar presentations
Chapter 10 Excel: Data Handling or What do we do with all that data?
Advertisements

FOCUS to DB2 By: Meadow Heath.
1 Noreen Redden FOCUS Users of New England 2012 MFD_PROFILE PROFILE for Your Synonym:
Relational Efficiencies Renee Teatro June Relational Efficiencies Agenda  Optimization Overview  JOIN Scenarios  Sort Scenarios  Aggregation.
Copyright 2007, Information Builders. Slide 1 Relational Efficiencies: Part II Overview and JOIN / Sort Scenarios Renee Teatro Information Builders.
Copyright 2007, Information Builders. Slide 1 Walter Brengel Information Builders New Jersey User Forum – June 2008 FOCUS to SQL DeMystified.
What’s New in GE Part 1 (AR, AP, PO, Job Cost Presented by: Derek Kratz.
Sunday Business Systems SPC Keeper Features and Benefits.
Copyright 2007, Information Builders. Slide 1 Renee Teatro Information Builders EXCEL Templates.
Copyright 2007, Information Builders. Slide 1 Non-Relational Efficiencies Walter F. Blood Technical Director Information Builders, Inc.
Document Handling Contents: General Structure of Documents
Copyright 2007, Information Builders. Slide 1 Accumulation Techniques for Reporting with WebFOCUS Kyle Hachey Systems Engineer.
1 Copyright 2007, Information Builders. Slide 1 Nat Poe WebFOCUS Debugging Techniques.
Copyright 2007, Information Builders. Slide 1 Tips and Techniques From the FOCWIZARDs Art Greenhaus & Noreen Redden FOCWIZARDS Tech Summit, 2008.
Microsoft Excel Working with Excel Lists, Subtotals and Pivot Tables.
Excel: Pivot Tables Computer Information Technology Section 6-18.
ACCESS PART 2. Objectives Database Tables Table Parts Key Field Query and Reports Import from Excel Link to Excel.
Recording / Financing Fixed Asset Acquisition Human Resources Purchasing Revenue Traditional files approach: separate systems (Legacy Systems) Expenditure.
The Program Design Phases
USING MS ACCESS TO ANALYSE PAYROLL INFORMATION The Budget Officer’s Perspective of HR/Payroll Records NWDUG 2001.
2015 User Conference Mastering Report Building in OP14 April 2015 Presented by: Carl Peahota Reports Developer General Session.
“You Asked For It, You Got It!” Best New [Backend ] Features of WebFOCUS Renee Teatro Information Builders December 2011.
Copyright 2007, Information Builders. Slide 1 Tips and Techniques for FOCUS 76 Did You Know? Walter F. Blood Information Builders, Inc.
Chapter 10 Queries and Updating Part C. SQL Copyright 2005 Radian Publishing Co.
Copyright 2007, Information Builders. Slide 1 The Most Requested Features and Techniques for Stylesheets Renee Teatro Information Builders.
“You Asked For It, You Got It!” Best New [Backend ] Features of WebFOCUS Walter Blood Noreen Redden Joel Starkman Information Builders, Inc. August,
Noreen Redden FOCUS Users of New England 2012 FOCWizards and Focal Point Information Builders Off to See the Wizards 1.
WebFOCUS Tips and Techniques WebFOCUS Tips and Techniques The Next Generation.
Tips n Techniques Jenny Lalik. Report Styling Enhancements for 7.7  Accordion By Row  Excel 2007 Output Format  Hide Null Across Columns  Pass dates.
Off To See The Wizards: The FOCWIZARDS FOCWIZARDS: Noreen Redden Art Greenhaus With help from FOCAL POINT Wizards Copyright 2011, Information Builders.
By BuilderMT BMT Cloud Models and Options Manager by BuilderMT Using Cloud MoM to build and manage a Builder’s Model & Option database BuilderMT Cloud.
“Ad hoc” Querying and Reporting with WebFOCUS Twanette Jurd 9 April 2010.
Handy separation the report template into pages Handy visual separation of the report template into pages is available in Stimulsoft Reports.Net. You.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
For Counselors DOTS Site Support 6/11/08. Attendance Reports Behavior Reports.
PCard Training Logging into the new PCard (PaymentNet) System: www5.paymentnet.com.
Tips n Techniques Jenny Lalik. Report Styling Enhancements for 7.7  Accordion By Row  Excel 2007 Output Format  Hide Null Across Columns  Pass dates.
1 Efficient SAS Coding with Proc SQL When Proc SQL is Easier than Traditional SAS Approaches Mike Atkinson, May 4, 2005.
“You Asked For It, You Got It!” Best New [Backend ] Features of WebFOCUS Walter Blood Noreen Redden Joel Starkman Information Builders, Inc. June.
Copyright 2007, Information Builders. Slide 1 Have You Heard What We're Doing About Section 508? Jeffrey Friedman Director of Advanced QA and Operations.
Copyright 2007, Information Builders. Slide 1 Focal Point Tips and Techniques Contest Noreen Redden and the Focal Point Wizards Tech Summit, 2008.
 SAP AG 2007 General Structure of Documents General Functions of Documents Contents: Document Handling.
1 The Master That Tells All Floria Foote Information Builders June 2008.
Copyright 2007, Information Builders. Slide 1 FOCUS Internals: Part 2 Update for 7.6.x Renee Teatro FUN Conference August 2008 Internals of Output Processing.
Gold – Crystal Reports Introductory Course Cortex User Group Meeting New Orleans – 2011.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Aliya Farheen October 29,2015.
13- 1 Chapter 13.  Overview of Sequential File Processing  Sequential File Updating - Creating a New Master File  Validity Checking in Update Procedures.
Steve Simon State Street Corporation Getting Your Core FOCUS Onto Financial Reporting Language.
FLEX Over Easy Summit - June 2011 Presented by David Smith of Brinker International.
JOIN Syntax and Techniques Noreen Redden Information Builders Copyright 2011, Information Builders. Slide 1.
Customizing Reports Adding a Date to a Report Reference Window Adding a Date to a Report Display the report in the design view Click the Text Box Tool.
Copyright 2007, Information Builders. Slide 1 TABLE FILE: The Basics Noreen Redden FOCWizard June, 2008.
Sequential Processing to Update a File Please use speaker notes for additional information!
Implementing Multicurrency in an Existing Dynamics GP Environment Rod O’Connor 20-NOV-2014.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
Chapter 1 Page ref. Chapter 1 Company File Setup and Maintenance 1.
Amy Walsh Senior Consultant November 11, 2014 Year End Close.
Presented by Cheryl Sullivan.  Name  Department  What do you want out of the training?  Favorite food.
Document Handling Contents: General Structure of Documents
Starter Activity (5 Mins) What am I?
Dynamics GP SmartList and SmartList Designer
How’s assignment 1 coming? Winter 2007
EUG Finance.
Dealing with External Data
Crystal Reports 2011 Tom Vorves Eduardo Holly Sim Rodell Akin Jenny
Avaya Professional Services (APS) Tools ProVision
Introduction Are you currently using Dimensions? Did you know they are not just for Financial Reporting? Even though Dimensions are primarily used in.
Targeting Wait Statistics with Extended Events
ORACLE.
Financials in Microsoft Dynamics SL 2015.
Presentation transcript:

McGyver for Dynamic Subtotals/Subfoots Presented by David Smith of Brinker International

Webinar - Mar 2011McGyver - David Smith2 Biography David Smith ◦ Focus/WebFocus since 1985 ◦ VMX, Opcom, Octel, Lucent, Avaya, Verizon, Brinker ◦ GL, AR, AP, Payroll, HR, Sales, Mfg, Eng, BI Brinker International - Chilis, Maggianos, Macaroni Grill, On the Border ◦ ◦ RPM (Restaurant Performance System) ◦ MRE, Report Caster, Info Assist ◦ Teradata, MS SQL ◦ HTML, PDF, EXCEL, ACTIVE, FLEX

Webinar - Mar 2011McGyver - David Smith3 Business Requirement Our business group needs a purchase report that: Lists detail values (date, extend cost, qty, etc) grouped by region, vendor, and product type At each change in vendor, display on one line beneath the detail the total sales tax for all purchases from the vendor for the period selected as free text. Under the sales tax subtotal line, display a subtotal of the extended cost for each product type purchased from the vendor for the period selected as free text. The number of lines is dynamic and could range from 1 to 100 based on the product types purchased during the period selected. On one line, under the product type subtotals, display the Total Extended cost for the Vendor for all detail lines as free text. HTML, PDF, Excel formats Must be efficient.

Webinar - Mar 2011McGyver - David Smith4 Business Mockup Dynamic Subtotals

Webinar - Mar 2011McGyver - David Smith5 Problem: Grouping dynamic ranges of subtotals/subfoots together either at the end of a sort break or end of the report (or even at the top) is not possible using standard WebFocus syntax.

Webinar - Mar 2011McGyver - David Smith6 Possible Solutions Multi-Verb ? No Way Join/Match ? Hard coded subfoot/subtotal values. Needs to be dynamic Repeat/Loops w/-Includes ? Too many pre-holds for every sort break Loop at subhead to –INCLUDE hold file hit wall at 84 loops McGyver ? Success!

Webinar - Mar 2011McGyver - David Smith7 Solution Report

Webinar - Mar 2011McGyver - David Smith8 McGyver Setup -* Set up McGyver master and data file. -* -* Build McGyver MFD FILEDEF MCMAS DISK MCGYV.MAS -RUN -WRITE MCMAS FILENAME=mcgyv, SUFFIX=FIX, $ -WRITE MCMAS SEGMENT=ONE, SEGTYPE=S0, $ -WRITE MCMAS FIELDNAME=CONTROL, USAGE=A1, ACTUAL=A1, $ -WRITE MCMAS SEGMENT=TWO, SEGTYPE=S0, PARENT=ONE, OCCURS=VARIABLE, $ -WRITE MCMAS FIELDNAME=CHAR1, USAGE=A1, ACTUAL=A1, $ -WRITE MCMAS FIELDNAME=CTR, ALIAS=ORDER, USAGE=I4, ACTUAL=I4, $ -* -* Build McGyver FTM FILEDEF MCGYV DISK MCGYV.FTM -RUN -* Control=X: used as Join cross reference target field -* CHAR1=A, CTR=1: display detail -* CHAR1=B, CTR=2: display dynamic subtotals/subfoots -WRITE MCGYV XAB

Webinar - Mar 2011McGyver - David Smith9 Join/Define/Set JOIN CONTROL WITH BODYTYPE IN CAR TO UNIQUE CONTROL IN MCGYV AS J2 -* CTR=1 display detail, CTR=2 display subtotals/subfoots. DEFINE FILE CAR CONTROL /A1 WITH BODYTYPE='X'; SUM_CAR /A40 =IF CTR EQ 2 THEN ' ' ELSE CAR; SUM_BY_MODEL /A30 =IF CTR EQ 2 THEN ' ' ELSE MODEL; SUM_SALES_DTL/A15 =IF CTR EQ 2 THEN ' ' ELSE PTOA(SALES,'(P12.2CM)','A15'); SUM_DCOST_DTL/A15 =IF CTR EQ 2 THEN ' ' ELSE PTOA(DEALER_COST,'(P12.2CM)','A15'); BY_CTYCAR /A35 =IF CTR EQ 2 THEN CAR ELSE COUNTRY; SF_SALES /P12.2CM=SALES; SF_DCOST /P12.2CM=DEALER_COST; END -* WebFocus Remove blank lines above subfoots/subheads. SET DROPBLNKLINE=ON

Webinar - Mar 2011McGyver - David Smith10 Table TABLE FILE CAR SUM SUM_CAR AS 'Car' SUM_BY_MODEL AS 'Model' SUM_SALES_DTL AS 'Sales' SUM_DCOST_DTL AS 'Cost' BY COUNTRY NOPRINT BY CTR NOPRINT BY BY_CTYCAR NOPRINT BY SUM_BY_MODEL NOPRINT ON COUNTRY SUBHEAD "</1 Country: <COUNTRY" ON CTR SUBFOOT "Total Dealer Cost: <ST.SF_DCOST" WHEN CTR EQ 1 ON BY_CTYCAR SUBFOOT "Subtotal Sales for <CAR :<ST.SF_SALES" WHEN CTR EQ 2 ON CTR SUBFOOT "Total sales for <COUNTRY :<ST.SF_SALES" WHEN CTR EQ 2

Webinar - Mar 2011McGyver - David Smith11 Table continued WHERE COUNTRY EQ 'ITALY' HEADING "McGyver Technique with Dynamic Subtotals/SubFoots" ON TABLE NOTOTAL ON TABLE SET PAGE NOLEAD ON TABLE SET HTMLCSS OFF ON TABLE PCHOLD FORMAT HTML ON TABLE SET STYLE * GRID=ON,BORDER=OFF,SQUEEZE=ON,SIZE=8,$ TYPE=HEADING,JUSTIFY=CENTER,$ TYPE=TITLE,JUSTIFY=CENTER,$ TYPE=DATA,COLUMN=SUM_SALES_DTL,JUSTIFY=RIGHT,WHEN=CTR EQ 1,$ TYPE=DATA,COLUMN=SUM_DCOST_DTL,JUSTIFY=RIGHT,WHEN=CTR EQ 1,$ -* Pre Only for PDF/HTML. Uncomment next line and turn HTMLCSS ON. Not perfect. -*TYPE=DATA,SIZE=1,WHEN=CTR EQ 2,$ ENDSTYLE END

Webinar - Mar 2011McGyver - David Smith12 Reference User Forum Presentation / : McGyver Technique McGyver Technique Tips & Techniques / McGyver Technique Introduction Technique Introduction Tips & Techniques / McGyver Techniques Techniques Tips & Techniques / McGyver Dynamic Subtotals/SubFoots Dynamic Subtotals/SubFoots Contact David Smith: