-1
我正在使用QB SDK(QBFC13)读取和写入QB的C#程序。 我已经能够使用下面的代码修改关于客户的信息。更改客户字段Quickbooks SDK - QBFC13
IMsgSetRequest requestMsgSet = sessionManager.CreateMsgSetRequest("US", 13, 0);
requestMsgSet.Attributes.OnError = ENRqOnError.roeContinue;
ICustomerQuery CustomerQueryRq = requestMsgSet.AppendCustomerQueryRq();
CustomerQueryRq.ORCustomerListQuery.ListIDList.Add(customerid);
IMsgSetResponse responseMsgSet = sessionManager.DoRequests(requestMsgSet);
string editSequence = Xmlhelper.getField(responseMsgSet, "EditSequence");
ICustomerMod customerModRq = requestMsgSet.AppendCustomerModRq();
customerModRq.ListID.SetValue(customerid);
customerModRq.EditSequence.SetValue(editSequence);
customerModRq.Email.SetValue(value);
customerModRq.Cc.SetValue(value);
customerModRq.Phone.SetValue(value);
customerModRq.AltPhone.SetValue(value);
customerModRq.Mobile.SetValue(value);
customerModRq.Fax.SetValue(value);
这工作得很好,但是在我们的quickbooks中,我们在客户内部有其他项目,如网站,脸谱,推特。等我不知道如何访问和更改它们。
任何帮助,高度赞赏。
谢谢hpjchobbes。我注意到,该字段webiste可用但不发布更新。任何想法为什么会发生? – user3180323