A
AVfromItaly
Hi.
In Project Server 2007, is there a way to retrieve (via PSI web services or
with other techniques) the actual content of the "segments" for a specific
task assignment?
I need to retrieve exactly the work hours entered by a user (=resource) in
the grid of the PWA2007 "MyTasks" page, in order to propagate them to other
external systems.
I saw how the PrjTool SDK sample retrieves assignments from the Published
database, but it just accesses to the "total" work for each assignment, not
the detailed day-by-day splits of the work hours.
It seems these splits (or "segments") are stored (in a binary form) in the
ASSN_CONTOUR_DATA of the MSP_ASSIGNMENTS_SAVED in the ProjectServer_Published
database; but I wasn't able to find a way to retrieve them in a "clear" way,
through an "elegant" interface, instead of accessing directly to the database
(where I anyway should need an algorithm to interpret them).
An alternative path I'm trying to walk is to hook (with a custom event
handler) the Statusing/StatusUpdated event, but of course this way I can
obtain (in the ChangeXML eventarg) only the work hours just modified by the
user; in other words, I'm retrieving just a "delta" of work hours, containing
only the modified segments of the edited assignments, while I'd like to
retrieve all the segments for a given assignment.
Thank you in advance for your valuable help.
AV
In Project Server 2007, is there a way to retrieve (via PSI web services or
with other techniques) the actual content of the "segments" for a specific
task assignment?
I need to retrieve exactly the work hours entered by a user (=resource) in
the grid of the PWA2007 "MyTasks" page, in order to propagate them to other
external systems.
I saw how the PrjTool SDK sample retrieves assignments from the Published
database, but it just accesses to the "total" work for each assignment, not
the detailed day-by-day splits of the work hours.
It seems these splits (or "segments") are stored (in a binary form) in the
ASSN_CONTOUR_DATA of the MSP_ASSIGNMENTS_SAVED in the ProjectServer_Published
database; but I wasn't able to find a way to retrieve them in a "clear" way,
through an "elegant" interface, instead of accessing directly to the database
(where I anyway should need an algorithm to interpret them).
An alternative path I'm trying to walk is to hook (with a custom event
handler) the Statusing/StatusUpdated event, but of course this way I can
obtain (in the ChangeXML eventarg) only the work hours just modified by the
user; in other words, I'm retrieving just a "delta" of work hours, containing
only the modified segments of the edited assignments, while I'd like to
retrieve all the segments for a given assignment.
Thank you in advance for your valuable help.
AV