如何使用PSI获取任务更新请求的项目计划计划预览数据(与批准预览类似) [英] How to Get Project Plan Schedule Preview Data(Similar to Approval Preview) for Task Update Requests using PSI

查看:65
本文介绍了如何使用PSI获取任务更新请求的项目计划计划预览数据(与批准预览类似)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 

Hello All,

 

Hello All,

我们正在努力创建一个自动化的"任务更新批准"使用PSI SDK在Project Server 2010中基于某些业务规则的流程。

We are working to create an automated "Task updates approval" process based on certain business rules, in Project Server 2010 using PSI SDK.

我们为OnstatusSubmitted事件的Statusing组件开发了一个服务器端事件处理程序,以执行自动"任务状态更新"批准。

We have developed a server side event handler for OnStatusSubmitted event of Statusing component to perform the automatic "Task status update" approval.

每当用户更新任务并提交Manager Approval时,我们就会执行在OnStatusSubmitted事件处理程序中实现的自定义代码。

Whenever, user updates the task and submits for Manager Approval, our custom code implemented in OnStatusSubmitted event handler is executed.

在此事件处理程序中,我们能够掌握所有任务该用户已使用Statusing组件方法ReadStatusApprovalsSubmitted提交审批。 (使用模拟)

In this event handler, we are able to get hold of all the tasks that user has submitted for Approval using Statusing component method ReadStatusApprovalsSubmitted. (Impersonation used)

在批准任务之前,如果接受选定的更新请求,我们希望预览计划时间表更改。(就像PWA中的预览更新一样,显示项目已更新安排日期,但我们需要这个更新的计划项目计划
数据使用PSI)

Before approving the tasks, we would like to preview the plan schedule changes if the selected update request is accepted.(Just like Preview Updates in PWA which shows the project with updated schedule dates, but we need this updated schedule project plan data using PSI)

我们想知道必须使用什么PSI方法来获取新的项目进度计划数据传递任务更新用户已提交批准。

We would like to know what PSI method has to be used to get new project schedule plan data by passing the task update user has submitted for the approval.

我们在Statusing PSI中找不到为项目提供更新的计划数据的任何方法。我们还试图通过从草案商店打开项目来查看项目分配,草案商店也不包含更新的时间表(对于相关任务)。

We couldn't find any method in Statusing PSI that provides project with the updated schedule data. We also tried to look at the project assignment by opening project from Draft store, which also doesn’t contain the updated schedule (For dependent tasks).

我们还尝试了方法ReadAssignmentDependencies来查找取决于更新的赋值的赋值,但该调用导致WCF错误异常。

We also tried method ReadAssignmentDependencies to find the assignments that were dependant on the updated assignment, but the call is resulting in WCF fault exception.

我的问题是,是否可以根据任务更新预览项目计划时间表更改用户使用PSI提交的?如果是这样,应使用哪种方法获取新的计划更新,以便我们可以在业务
规则处理逻辑中使用此新计划数据来自动批准状态更新。

My question is, whether it is possible to preview the project plan schedule changes based on the task updates submitted by user using PSI? If so, which method should be used get the new schedule update so that we can use this new schedule data in our business rule processing logic to approve the status updates automatically.

感谢任何帮助。

谢谢。

Raj

推荐答案

Hi Raj,



Microsoft Project Server 2010中的Project Server Interface(PSI)旨在补充Microsoft Project Professional 2010的功能,而不是提供所有Project Professional功能的基于服务器的替代方案。意味着PSI不能
执行所有所需的功能,而不是您使用项目专业人员。当您更新任务进度&看到评论,这是项目专业人员的计划引擎,它计算所有的变化。请参阅文章:( PSI不做什么)

Hi Raj,

The Project Server Interface (PSI) in Microsoft Project Server 2010 is designed to complement the capabilities of Microsoft Project Professional 2010, rather than provide a server-based alternative for all Project Professional functions. Meaning that PSI cannot do all the desired functions what you do with project professional. When you update a task progress & see the review, It's project professional's scheduling engine which calculates all the changes. Please see the article:(What PSI does not do)

http://msdn.microsoft.com/en-us/library/ee767706.aspx

http://msdn.microsoft.com/en-us/library/ee767706.aspx




  • 支持交互式调度。由于Project Server异步处理交互,因此应使用Project Professional进行交互式调度。

  • Supporting interactive scheduling. Because Project Server handles interactions asynchronously, interactive scheduling should be done with Project Professional.

如果有任何其他人可以提供任何想法。

May be others can provide any idea if there is any.



这篇关于如何使用PSI获取任务更新请求的项目计划计划预览数据(与批准预览类似)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆