Y
YonZo
Hi all!
I've successfully created a basic eventhandler based on the
TimeSheetEventReceiver-class, more spesifically the "OnSubmitting"-event.
(I'm using the pre-event so I can cancel out of the operation if nessesary).
This works fine, but problems occur when trying to do a bit more than just
writing "Hello World" to the Event log.
What I would like to do is to store the reported timesheet-information in a
separate database.
My problem is that I can't figure out how to retrieve the information in the
timesheet!
Both the PScontextInfo- and the TimesheetPreSubmitEventArgs- objects has
very limited information.
How can I access the related TimeSheetLines, or the timesheetowner
(resource) for that matter??
Hope you can help me out here!!
Regards,
YonZo
I've successfully created a basic eventhandler based on the
TimeSheetEventReceiver-class, more spesifically the "OnSubmitting"-event.
(I'm using the pre-event so I can cancel out of the operation if nessesary).
This works fine, but problems occur when trying to do a bit more than just
writing "Hello World" to the Event log.
What I would like to do is to store the reported timesheet-information in a
separate database.
My problem is that I can't figure out how to retrieve the information in the
timesheet!
Both the PScontextInfo- and the TimesheetPreSubmitEventArgs- objects has
very limited information.
How can I access the related TimeSheetLines, or the timesheetowner
(resource) for that matter??
Hope you can help me out here!!
Regards,
YonZo