vectren under over 40 hours report xpay136r

Upload: anon-378768

Post on 31-May-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    1/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)

    Author: Srinivas KalvaCreation Date: 02-JAN-2002Last Updated: 02-JAN-2002

    Version: 1

    Vectren Under Over 40 Hours Report (XPAY136R.rdf)

    Version Request No. Date Complete Developer Notes

    1 1583 01-Feb-2002 Srinivas Kalva New Program

    SIGECO 02/09/08 1

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    2/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)

    Table of contents Page

    1.DESCRIPTION..........................................................................................................................................................3

    2.REPORT LAYOUT....................................................................................................................................................3

    2.1 BODY....................................................................................................................................................................32.2 MARGIN................................................................................................................................................................32.3 HEADERPAGE........................................................................................................................................................32.4TRAILERPAGE..........................................................................................................................................................4

    3.RUN TIME PARAMETERS.....................................................................................................................................4

    4.TABLES AND COLUMNS REFERENCED...........................................................................................................4

    5.SQL..............................................................................................................................................................................5

    5.1 NAMEOF SQL STATEMENT.......................................................................................................................................5

    5.2NAME

    OF

    SQLSTATEMENT

    .......................................................................................................................................65.3 DATA LAYOUT DIAGRAM.........................................................................................................................................6

    6.SPECIAL LOGIC & FLOWCHART ......................... ............... .............. .............. .............. ........... ..... ...... ...... ..... .6

    6.1 SUMMARY COLUMNS...............................................................................................................................................66.2 FORMULA COLUMNS...............................................................................................................................................66.3 PLACEHOLDER COLUMNS.........................................................................................................................................66.4 OTHERLOGIC........................................................................................................................................................7

    6.5 FLOWCHART....................................................................................................................................................7

    7.REPORT INSTALLATION (CONCURRENT MANAGER)................................................................................7

    7.1 REGISTERTHE EXECUTABLE......................................................................................................................................87.2DEFINETHE REPORTASA CONCURRENT PROGRAM.........................................................................................................97.3DEFINE FIRST RUN TIME PARAMETER........................................................................................................................10..................................................................................................................................................................................107.4DEFINE SECOND RUN TIME PARAMETER.....................................................................................................................107.5DEFINE THIRD RUN TIME PARAMETER.......................................................................................................................117.6ATTACH REPORTTO REQUEST GROUP........................................................................................................................11

    SIGECO 02/09/08 2

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    3/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)

    1. Description

    The report follows Vectren format standards and has the following layout:

    UNDER/OVER 40 HOURS REPORT

    Employee # Name Week 1 Week 2

    2765 Doe, John 24

    1639 Jones, Bill 38 32

    8731 Smith, Sue 42

    Report Field Table Column Table Owner Database link

    Employee # Display_employee Time_sheet_output *workforce Tasdevread

    Name Full_name per_all_people_f Hr Date Work_dt Time_sheet_output *Workforce Tasdevread

    Hours Hours Time_sheet_output *Workforce Tasdevread

    * The workforce owner is not currently defined. Use workforce2_0.

    The report is sorted by name.No totals are printed.

    2. Report Layout

    2.1 Body

    In general terms describe the data and cosmetic structure presented in the bodysection of the report layout. Cosmetic structure covers a description of the heading and controlbreak totals and boilerplate text. Detail fields should be listed in left to right, top to bottomorder. Special logic tied to a displayed field should also be explained here. Placeholder,

    Summary and Formula logic should be presented in the appropriate sub-sections of section 6.Special Logic (later in this document). If no part of the report is displayed in the bodysection, put Not applicable under this sub-section.

    2.2 Margin

    Same type of description as the Body section above. If no part of the report isdisplayed in the margin section put Not applicable under this sub-section.

    2.3 Header Page

    SIGECO 02/09/08 3

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    4/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)Same type of description as the Body section above. If no part of the report is

    displayed in the header section put Not applicable under this sub-section.

    2.4 Trailer Page

    Same type of description as the Body section above. If no part of the report is

    displayed in the trailer section put Not applicable under this sub-section.

    3. Run Time Parameters

    The user must enter the Payroll Name

    This section should describe any information that is entered by the report requestor at run timeto select or filter specific data for the report. Date range specifications, pull down lists, etc. shouldbe clarified here. Any internal code that examines and/or changes the user input should also be

    explained here, e.g. date conversion, case changes and calculations. It might be a good idea to listthe internal program data names and how they relate to their corresponding inputs. Enter Notapplicable. if no run time parameters are entered.

    4. Tables and Columns Referenced

    This section describes the tables and columns used in the report. Please notice that columns

    that are primary keys are marked PK in the Column Name column. Give the length of the data inthe Format Column. The Null Column contains Not if the column is indicated as Not Null in theTRM. The last column, Usage, contains codes that indicate how the column is used (see below). TheD code indicates the column will be displayed somewhere in the report. The J code, which

    indicates usage in a SQL join, means that the column is used in a join in the Data Layout section ofthe report. The S code indicates non-join usage in SQL in the Data Layout section of the report. Non-join usage would be any type of usage not used to tie two tables together, e.g. LIKE, IN,BETWEEN, etc. The P code means that the column will be used in code in some other object in theprogram such as a Formula or Placeholder column. This could also mean that the column could beused in SQL that is not the base report SQL (found in the Data Layout section). Please leave the keyand tables structure below in the document to list and explain the tables and columns.

    D = Column is displayed on the report. S = Column is used in SQL other than a Join.J = Column is used in a SQL Join. P = Column is used in PL/SQL code.

    Table Name Column Name Format Null ? Usage

    qualifier.table_name_1 column_1 PK Number(15) Not J,P

    column_2 Date D,P

    column_3 Varchar2(120) S

    column_4 Number D

    qualifier.table_name_2 column_5 PK Number(15) Not J,P

    column_6 Varchar2(30) Not D

    SIGECO 02/09/08 4

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    5/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)Table Name Column Name Format Null ? Usage

    5. SQL

    select a.display_employee Employee_Num, b.first_name, b.last_name,sum(decode(a.week_end_dt,to_date(:ppend)-7,calc_value)) Week_1,sum (decode(a.week_end_dt,to_date(:ppend), calc_value)) Week_2

    from wforcelink.time_sheet_output_summary@tas_dblink a,wforcelink.employee@tas_dblink bwhere a.employee = b.employeeanda.calc_value != 40and to_date(ppend,'DD-MON-YY') = :ppendand b.ld4 like NVL(:PYNAME,'%')and b.other_string11 like NVL(:ORGNAME,'%')--and a.DISPLAY_EMPLOYEE = 951and b.end_eff_dt in(select max(c.end_eff_dt) from wforcelink.employee@tas_dblink c)

    group by a.display_employee, b.first_name, b.last_nameorder by to_number (a.display_employee)

    The following sections document each SQL statement in the Data Layout section of the reportand the relationship of one SQL statement to another (for example, master/detail). The name of the

    SQL statements are usually Q_1, Q_2, etc.; however, they may be relabeled with more meaningfulnames. The text of the appropriate SQL should be printed under each sub-section header followed by

    an explanation/description of the SQL. Filters, joins, unions, intersection, etc. should be documentedhere. There should be one sub-section for each SQL listed in the Data Layout section of the report.The last sub-section should display a screen shot of the Data Layout section of the report.

    5.1 name of SQL statement

    Place text of SQL for first Data Layout group here.

    Selection criteria in the above SQL are as follows:

    Place explanation/description of above SQL here.

    SIGECO 02/09/08 5

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    6/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)

    5.2 name of SQL statement

    Place text of SQL for second Data Layout group here.

    Selection criteria in the above SQL are as follows:

    Place explanation/description of above SQL here.

    5.3 Data Layout Diagram

    Place a screen shot of the Data Layout diagram from the report here. You shouldimport the screen shot into MS Paint and trim off the excess prior to importing it into the

    report. After trimming the screen shot, save it in 256-color bitmap format. Trimming and

    saving in 256 color will keep the documentation smaller and save disk space. If you feel itnecessary, you may write a small description of the Data Layout structure following the

    screen shot of that structure.

    6. Special Logic & Flowchart

    This section documents the three types of columns, Summary, Formula and Placeholder, thatmay be created and used within a report. It may also document other logic such as Report Triggers.Additionally, it may document execution events via a flowchart. If a particular column type is notused within a report, document this fact by entering Not applicable. under the appropriate sub-

    section type. Documentation should consist of the PL/SQL code (if any) tied to the column and abrief description of what the code does.

    6.1 Summary Columns

    For each summary column, list the column name, the column that is being summed, when

    it is printed and when it is reset to zero. It is advisable to document summary columns withscreen shots of the summary column form.

    6.2 Formula Columns

    Place the text of the PL/SQL code and an explanation/description of that code here.

    6.3 Placeholder Columns

    Place the text of the PL/SQL code and an explanation/description of that code here.

    SIGECO 02/09/08 6

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    7/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)6.4 Other Logic

    Place the text and explanations/descriptions of other logic such as Report Triggers here.

    6.5 Flowchart

    If the complexity of this report is more than trivial, place a flowchart here explaining thesequence of events within the execution of the report.

    7. Report Installation (Concurrent Manager)

    The documentor should place the names and locations (NT network directories) of the

    report executable (rdf file) to be install/updated here. This area should also contain theUNIX target directory for the object listed. Any information about the FTP should be

    recorded here also. This information could include such information as the transfer mode

    (binary or ASCII). See the example below.

    Source: VDEV XPAY/Reports/XPAY136R.rdfTarget: VPRD/$XPAY_TOP/Reports/XPAY136R.rdf

    FTP transfer mode = binary

    See the BMIS Report Registration documentation for more detailed information abouthow to install this report using the following screen images.

    SIGECO 02/09/08 7

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    8/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)

    7.1 Register the Executable

    Place a screen shot of the appropriate screen for registering the executable in thedevelopment database. You should import the screen shot into MS Paint and trim off the

    excess prior to importing it into the report. After trimming the screen shot, save it in 256-

    color bitmap format. Trimming and saving in 256 color will keep the documentation smallerand save disk space.

    SIGECO 02/09/08 8

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    9/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)7.2 Define the Report as a Concurrent Program

    Place a screen shot of the appropriate screen for defining the report as a concurrent

    program in the development database. You should import the screen shot into MS Paint andtrim off the excess prior to importing it into the report. After trimming the screen shot, save

    it in 256-color bitmap format. Trimming and saving in 256 color will keep the

    documentation smaller and save disk space.

    SIGECO 02/09/08 9

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    10/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)7.3 Define First Run Time Parameter

    7.4 Define Second Run Time Parameter

    SIGECO 02/09/08 10

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    11/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)7.5 Define Third Run Time Parameter

    7.6 Attach Report to Request Group

    Responsibilities: US HRMS Manager

    SIGECO 02/09/08 11

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    12/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)

    SIGECO 02/09/08 12

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    13/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)Place a screen shot of the appropriate screen for attaching a report to a request group

    development database. You should import the screen shot into MS Paint and trim off the

    excess prior to importing it into the report. After trimming the screen shot, save it in 256-color bitmap format. Trimming and saving in 256 color will keep the documentation smaller

    and save disk space. In addition to trimming the report, it is advisable to rotate the screen

    shot 270 degrees so that it will fit on the page.

    Request Group: VVC_PR_Workforce Time Reports

    SIGECO 02/09/08 13

  • 8/14/2019 Vectren Under Over 40 Hours Report XPAY136R

    14/14

    SIGECO CUSTOM REPORTS

    Vectren Under Over 40 Hours Report(XPAY136R.rdf)

    APPROVALS

    Note: Use the following signoff schedule if there is no official request.

    Design Completion (to FDEV):

    Name Signature Date

    None

    Build and Test Completion (to FTST):

    Name Signature Date

    None

    In Production (to FPRD):

    Name Signature Date

    Joy King

    Barb Crow

    ADDENDUM:-

    End of Document

    SIGECO 02/09/08 14

    XPAY136R.xls