Maintenance is complete- We've moved from the saas.hpe.com domain to softwaregrp.com click to read more
As part of our journey to complete our separation work and our future integration with Micro Focus, we've now updated our domain for the community. This is an interim step, which will be followed by a series of future update / improvements: - Piloting Idea boards - Refreshing the entire UI. (more to come later) - and more
Project and Portfolio Management Practitioners Forum
cancel

kGenPeriods.sh

Highlighted
Govardhan07
Super Contributor.

kGenPeriods.sh

Hi,

 

 Please let me know, if any scripts other than this(kGenPeriods.sh) are used to generate fiscal periods in 7.5.

 

Regards,

Govardhan

5 REPLIES
dirkf
Acclaimed Contributor.

Re: kGenPeriods.sh

Hi Govardhan,

 

what's the issue in general? Are you generating periods but they are not visible?

Did you enable the period type? Time Management Periods for timesheets or the like?

 

There are two things you have to do:

- enable the period type;

- create the periods.

 

thus first you have to enable the period type in the backend, for example (taken from the Time management Config Guide (attached), Page 22, Chapter 2

 

Example:

SQL> UPDATE ktmg_period_types
SQL> SET enabled_flag = 'Y'
SQL> WHERE duration_code = '<Supported Value>'

 

kGenTimeMgmtPeriods.sh

kGenPeriods.sh

 

Hope this helps.

 

Best regards,

Dirk

 

- Kudos always welcome -

Govardhan07
Super Contributor.

Re: kGenPeriods.sh

Thanks Dirk!

 

The problem is, we are not able to generate fiscal year from 2013. When we try generating for 2013 to 2020, we get the above mentioned error.

 

Please show some light on this!

 

Thanks in Advance!

 

Regards,

Govardhan

dirkf
Acclaimed Contributor.

Re: kGenPeriods.sh

Hi Govardhan,

 

hmm, I had a close look but either I'm looking in the wrong direction or I don't know. Which error?

 

Best regards,

Dirk

Govardhan07
Super Contributor.

Re: kGenPeriods.sh

Hi Dirk,

 

The error is

 

$ sh kGenPeriods.sh -startYear 2013 -endYear 2013
JAVA_HOME = D:/Java/jdk1.6.0_17
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
DEBUG: PPM server home directory is C:\ITG\
INFO: [-startYear, 2013, -endYear, 2013]
INFO: running validate ...
ERROR: exception occurred: For input string: "Q3", please check the log file for
 details.

Please let me know

 

 

dirkf
Acclaimed Contributor.

Re: kGenPeriods.sh

Hi Govardhan,

 

you started a separate thread on that one and I answered in there a couple of questions.

I can't guess anything from here. You DO need to get some data back on that thread.

Lets keep the topics apart or close threads.

 

Best regards,

Dirk