项目结账问题 [英] Project checkout issue

查看:85
本文介绍了项目结账问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的项目中,我们正在尝试使用PSI库检查项目,项目在服务器中检出并在我们验证时​​

In our project, we are trying to check out the project using PSI library, the project is checked out in server and when we verify the

 

如果
((
。CurrentProjectDataSet.Project.Rows [0]
as
ProjectWebRef。
ProjectDataSet ProjectRow )。IsPROJ_CHECKOUTBYNull())
这是真的,但它应该是假的,因为它是结帐。

if ((this.CurrentProjectDataSet.Project.Rows[0] as ProjectWebRef.ProjectDataSet.ProjectRow).IsPROJ_CHECKOUTBYNull()) this is true, but it should be false, becasue it is checkout.

有没有人对此有所了解?

Do anyone have idea about this?

提前致谢

问候,

Regards,

Sunitha

Sunitha

推荐答案

Hello Sunitha,

Hello Sunitha,

ProjectDataSet您看到Projectchecked的值是多少?
您是否尝试强制检查项目并查看您的代码仍然显示为真?我会尝试其他方式。使用

Project.ReadProjectList

Project.ReadProject

In ProjectDataSet what value of Projectchecked out do you see? Did you try to force checkin the project & see if your code stills shows true? I would have tried in other way. Use Project.ReadProjectList or Project.ReadProject.

这将在
ProjectDataSet.Project
。从那里你可以检查

PROJ_CHECKOUTBY

PROJ_CHECKOUTDATE

This will return a ProjectDataTable in ProjectDataSet.Project. From there you can check the PROJ_CHECKOUTBY and PROJ_CHECKOUTDATE columns

这有帮助吗?

这篇关于项目结账问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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