请教下为什么反审核API提示错误?其他审核提交都没问题
金蝶云社区-15210959215
15210959215
0人赞赏了该文章 1,065次浏览 未经作者许可,禁止转载编辑于2015年10月27日 09:53:59

我在使用代码进行API反审核时,API返回空,错误信息“{Kingdee.BOS.WebApi.Client.ServiceException (0x80004005): 未将对象引用设置到对象的实例。”
代码如下:

string A = "http://10.192.16.72/k3Cloud/";
string B = "55aaffeb0db00e"; // "55ac999f605f12";
string C = "demo";
string D = "888888";
string g = "";
string f = "";

ApiClient client = new ApiClient(A);
bool ret = client.Login(B, C, D, 2052);
if (ret == true)
{
g = "ER_ExpReimbursement";
f = "{\"CreateOrgId\":0,\"Numbers\":\"'FI04140807025-00'\"}";
responseOut = client.Execute("Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.UnAudit", new object[] { g, f });


我其他的操作,比如保存、提交、审核等API操作都没问题,这种情况会是什么原因?是我系统组件出问题了吗?要怎么解决下,很急,谢谢总部老师!