33
Introduction to ReportSmith and Effective Dated Tables

Introduction to ReportSmith and Effective Dated Tables

Embed Size (px)

Citation preview

Page 1: Introduction to ReportSmith and Effective Dated Tables

Introduction to ReportSmith and Effective Dated Tables

Page 2: Introduction to ReportSmith and Effective Dated Tables

• Overview– Why Effective Dated Rows?– How do I know if the table is Effective Dated?– Report’s Effective Date– Key Columns for Effective Date– Selections– Report Variables

Introduction to ReportSmith and Effective Dated Tables

Page 3: Introduction to ReportSmith and Effective Dated Tables

Why Effective Dated Rows?

Page 4: Introduction to ReportSmith and Effective Dated Tables

Why Effective Dated Rows?

• When you update existing information, you do not want to lose or overwrite the data already stored in the database.

Page 5: Introduction to ReportSmith and Effective Dated Tables

Why Effective Dated Rows?

• When you update existing information, you do not want to lose or overwrite the data already stored in the database.– Historical Data– Current data– Future Data

Page 6: Introduction to ReportSmith and Effective Dated Tables

Why Effective Dated Rows?

• When you update existing information, you do not want to lose or overwrite the data already stored in the database.– Historical Data– Current data– Future Data

• You can use the information to look at what has happened up to now and plan for the future.

Page 7: Introduction to ReportSmith and Effective Dated Tables

How do I know if the table is Effective Dated?

Page 8: Introduction to ReportSmith and Effective Dated Tables

How do I know if the table is Effective Dated?

• Table will have a column named “EFFDT” that is a date data type

Page 9: Introduction to ReportSmith and Effective Dated Tables

How do I know if the table is Effective Dated?

• Table will have a column named “EFFDT” that is a date data type

• ReportSmith will automatically display the Report’s Effective Date form

Page 10: Introduction to ReportSmith and Effective Dated Tables

Report’s Effective Date

Page 11: Introduction to ReportSmith and Effective Dated Tables

Report’s Effective Date

• Global in scope to the report– You only define this once in the report

Page 12: Introduction to ReportSmith and Effective Dated Tables

Report’s Effective Date

• As of Current Date– The Maximum Date that is < or = Today's Date– Do not use this if the report looks at historical data

Page 13: Introduction to ReportSmith and Effective Dated Tables

Report’s Effective Date

• As of Date Asked of User– The Maximum Date that is < or = a Date the User Selects each

time the report is run– The most flexible setting

Page 14: Introduction to ReportSmith and Effective Dated Tables

Report’s Effective Date

• As of– The Maximum Date that is < or = a Date Hard Coded in the

Report– Only use this if the date will NEVER change

Page 15: Introduction to ReportSmith and Effective Dated Tables

Report’s Effective Date

• Latest– The Maximum Date found in the Database– Watch out for future dated rows

Page 16: Introduction to ReportSmith and Effective Dated Tables

Report’s Effective Date

• Earliest– The Minimum Date found in the Database– Only used in specialty reports

Page 17: Introduction to ReportSmith and Effective Dated Tables

Report’s Effective Date

• None– Effective Dating is turned off in this report– Once you select this you can’t turn it back on for this report– Used to see all rows

Page 18: Introduction to ReportSmith and Effective Dated Tables

Report’s Effective Date

• Modifying the Report’s Effective Date

Page 19: Introduction to ReportSmith and Effective Dated Tables

Report’s Effective Date

• Modifying the Report’s Effective Date

Page 20: Introduction to ReportSmith and Effective Dated Tables

Report’s Effective Date

• Modifying the Report’s Effective Date

Page 21: Introduction to ReportSmith and Effective Dated Tables

Key Columns for Effective Date

Page 22: Introduction to ReportSmith and Effective Dated Tables

Key Columns for Effective Date

• Identifies the primary key of the table– The primary key uniquely identifies each record in the table. – Displayed above a bold horizontal line in the Data Dictionary

• Some of the time

Page 23: Introduction to ReportSmith and Effective Dated Tables

Key Columns for Effective Date

• What Key Columns to use?– Use all columns listed before EFFDT in the Data Dictionary

Page 24: Introduction to ReportSmith and Effective Dated Tables

Key Columns for Effective Date

• What Key Columns to use?– ReportSmith can show you what columns to use

• Turn off “List fields alphabetically” in Options

Page 25: Introduction to ReportSmith and Effective Dated Tables

Key Columns for Effective Date

• What Key Columns to use?– ReportSmith can show you what columns to use

• Turn off “List fields alphabetically” in Options Before

Page 26: Introduction to ReportSmith and Effective Dated Tables

Key Columns for Effective Date

• What Key Columns to use?– ReportSmith can show you what columns to use

• Turn off “List fields alphabetically” in Options Before After

Use all columns listed before EFFDT in Table Columns

Page 27: Introduction to ReportSmith and Effective Dated Tables

Selections

• Effective Dating is implemented via Selection Criteria

Page 28: Introduction to ReportSmith and Effective Dated Tables

Selections

• Effective Dating is implemented via Selection Criteria– Deleting the Selection will Disable Effective Dating for that table

Page 29: Introduction to ReportSmith and Effective Dated Tables

Selections

• Effective Dating is implemented via Selection Criteria– You can override the Report’s Effective Date on a table by

table basis

Page 30: Introduction to ReportSmith and Effective Dated Tables

Selections

• Effective Dating is implemented via Selection Criteria– You can add criteria to the generated SQL

• This will give me the MAX Effective Dated JOB record with an Action of LOA

Page 31: Introduction to ReportSmith and Effective Dated Tables

Report Variables

• “As of Date Asked of User” is implemented using a Report Variable

Page 32: Introduction to ReportSmith and Effective Dated Tables

Report Variables

• “As of Date Asked of User” is implemented using a Report Variable– Changing the name of this Report Variable will disable

Effective Dating

Page 33: Introduction to ReportSmith and Effective Dated Tables

Report Variables

• “As of Date Asked of User” is implemented using a Report Variable– The Title, Prompt, Format and Entry can be changed