快速图书错误你和Sam这方面的工作,同时 [英] Quick Book Error You and sam working on this at the same time

查看:125
本文介绍了快速图书错误你和Sam这方面的工作,同时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图同时更新我得到的例外如下更新快书数据

I am trying to update the data in quick book while updating i am getting exception as follows

你和Sam正在处理这个在同一时间,你之前SAM完成,让你的工作没有保存下来。我重视的屏幕截图供你参考。请让我知道如果你需要对这个问题的详细解释。任何帮助将是AP preciated。

"You and sam were working on this at the same time. sam finished before you did, so your work was not saved." I have attached the screenshot for your reference. Please let me know if you need any detailed explanation about this issue. Any help would be appreciated.

code

  oBillHeader.VendorId = new IdType() { idDomain = idDomainEnum.QBO, Value = vendorID };
  oBillHeader.VendorName = vendorNameVal;
  oBill.Header = oBillHeader;
  oBill.Line = oBillLineList.ToArray();
  oBill.Id = new IdType { idDomain = idDomainEnum.QBO, Value = Convert.ToString(ViewState["ReponseBillId"]) };
  oBill.SyncToken = "2";
  var oNewBill = service.Update(oBill);

图片:

推荐答案

请阅读对象的最新同步令牌,并使用相同的更新查询。

Please read the latest sync token of the object and use the same in the update query.

在SyncToken值相关的文档:

Relevant docs on SyncToken values:

感谢

这篇关于快速图书错误你和Sam这方面的工作,同时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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