WEB API保存组织时,出现错误
金蝶云社区-丁丹丹
丁丹丹
0人赞赏了该文章 745次浏览 未经作者许可,禁止转载编辑于2016年03月04日 15:07:42

错误提示:
MapComplexProperty Field Error :Field Key is 【FIsCorp】

代码:
string serviceName = "Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.Save";

object[] saveInfo = new object[] { "ORG_Organizations",
"{"Creator":"ch","NeedUpDateFields":[],"Model":{"FOrgID":0,"FNumber":"105","FName":"苏州软件公司","FOrgFormID":"102","FContact":"","FTel":"","FPostCode":"","FADDRESS":"String","FDescription":"String","FIsAccountOrg":false,"FIsCorp":"false","FModifierId":{"FUserID":0,"FUserAccount":"16394","FName":"修改者"},"FCreatorId":{"FUserID":0,"FUserAccount":"16394","FName":"创建者"},"FCreateDate":"2016-3-4","FModifyDate":"2016-3-4","FIsProfileCenter":"","FFORBIDORID":{"FUserID":0,"FUserAccount":"0","FName":""},"FForbidDate":"","FAUDITDATE":"2016-3-4","FAUDITORID":{"FUserID":0,"FUserAccount":"String","FName":""},"FIsBusinessOrg":false,"FSaleBox":false,"FPurchaseBox":false,"FStockBox":false,"FFactoryBox":false,"FReceiptAndPayBox":false,"FQualityBox":false,"FCapitalBox":false,"FHRBox":false,"FClearingBox":false,"FAssetBox":false,"FParentID":{"FOrgID":0,"FNumber":"","FName":"上级组织"},"FForbidStatus":"A","FDocumentStatus":"C","FOrgFunctions":"","FMarketing":false,"FService":false,"FAcctOrgType":""}}")

var retSave = client.Execute(serviceName, saveInfo);

问题点:FIsCorp目前我根本就不知道FIsCorp 应该填写什么,关键在ORG_Organizations表中也没有这个栏位,想请老师告诉我,我应该填写什么资料,谢谢!