Not able to add lines in Timesheet

P

piyusha.manish

Hi , I am not able to add lines in My timesheets in pwa 2007.
It says Check the queue bt there is no such job stuck in the queue.
Please suggest any resolution
Thanks
 
N

Nuno Coelho

Hi!

I have a problem that i can't resolve. I have to create a new line in a
timesheet. To do that I use the msdn example but when a call
PrepareTimesheetLine method, i always have
GeneralObjectReferenceAlreadyExists error. When I pass this into PSIerror the
UID concerned with the error is the UID created with this line:

newLine.TS_LINE_UID = Guid.NewGuid();

I tried to create a new project and just use the msdn code but i get an
error when I execute this line:

AdminWebSvc.TimesheetLineClassDataSet tsLineClassDs =
adminSvc.ReadLineClasses(WindowsFormsApplication1.AdminWebSvc.LineClassType.AllNonProject, WindowsFormsApplication1.AdminWebSvc.LineClassState.Enabled);

I have to use impersonation???

The msdn code example should work well, shouldn't?

Thks

Nuno Coelho - PT
 
Top