Creating Time Periods

This section details how to create time periods. When you create time periods, you specify the number of time periods to create. For example, if the period type is set to Weekly and 52 time periods are created, a one-year supply of time periods becomes available to users for time sheet creation. You can add other time periods at any time. Period types must be configured before creating time periods (see Enabling and Disabling Period Types).

To create time periods, you must have administrative access to the PPM Server such that you can run scripts under the home directory of the PPM application suite. The following steps outline how to use the tools provided on the PPM Server to create the required time periods:

  1. Log on to the PPM Server as the application administrator.

  2. Navigate to the <PPM_Home>/bin directory, where <PPM_Home> is the location where PPM was installed.

  3. Run the command as follows:

    sh ./ <number_of_periods> <start_date>

    where <number_of_periods> is the number of time periods to create for a specific period type; and <start_date> is the starting date of time periods (date format: MM/DD/YY) to create for a specific period type.

    A prompt is displayed for you to choose the period type.

    For example, if you want to create 20 time periods starting from January 2, 2012, run the command as follows:
    sh ./ 20 01/02/12

    Executing the script with no parameters and selecting Help, you can get the information about the usage of this command and the format of time periods as follows:

    USAGE: java com.kintana.tmg.util.GenTimePeriod [-h] number_of_periods star_date

    number_of_periods - an integer value; specify the number of periods to create

    start_date      - MM/dd/yy; create periods starting from this date

  4. Repeat step 3 for each enabled period type.