Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Validation of Timesheet upon 'Save'... Help pls...

$
0
0

Hi all,

     Help would be much appreciated!!  We are bumping into some issues, that may be EPM limitation, but may be ours at this point.

We have requirement to validate the Timesheet hours and stop the ‘Save’ processing if charged hours are more than resource per day capacity based on resource base calendar. I am using timesheet ‘OnUpdating’ event handler using PSI and developed the code to fetch the actual hours through ReadTimesheet(GUID) method but here comes problem as this gives the data which is already present in database while I need to check and validate the data which user has filled in Grid just before the ‘Save’ button is hit so that the value entered in grid is validated and if correct then Save should continue otherwise cancel the operation.

Could someone please help to implement how to fetch the data from the Timesheet grid which is not saved ?May be some kind of client script(java script) could be used.

Ideas and suggestions are welcomed.

Thanks,

-CL


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>