使用PSI WebServices更新资源CalendarException时出现问题 [英] Problem in Updating Resource CalendarException using PSI WebServices

查看:70
本文介绍了使用PSI WebServices更新资源CalendarException时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在使用资源webservice方法更新资源calendarexception行时遇到问题。奇怪的是,我已经能够使用相同类型的代码更新资源信息和资源可用性信息,但是当我将相同的过程应用于资源日历异常时,我得到一个"GENERALINVALIDDATAROWSTATE"。错误。

我使用的代码非常简单。

resWS是资源Web服务对象,而rds是资源数据集对象。

rds.CalendarExceptions.Rows [0] [" Name"] =" New Holidays";
resWS.UpdateResources(rds,false,false);

我也可以删除一个日历异常行,但只有当我尝试插入或更新日历异常行时才会出现此错误。

请在这方面帮助我。

谢谢很多。

问候,

法萨尔

Hi All,

        I am having a problem in updating resource calendarexception rows using the resource webservice methods. The strange thing is that i have been able to update the resource information and the resource availability information using the same type of code , but when i apply the same procedure to resource calendar exception i get an "GENERALINVALIDDATAROWSTATE" error.

  The code which i am using is really simple.

resWS is the resource webservice object while rds is the resource dataset object.

      rds.CalendarExceptions.Rows[0]["Name"] = "New Holidays";
      resWS.UpdateResources(rds,false,false);

Also i am able to delete a calendar Exception row as well, but only when i try to insert or update a calendar exception row i get this error.

Please help me in this regard.

Thanks a lot.

regards,

Faisal

推荐答案

我不知道这里有谁会有任何想法您询问的是哪些网络服务。
I don't know how anyone here would have any idea which web services you are asking about.


这篇关于使用PSI WebServices更新资源CalendarException时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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