错误提示:
MapComplexProperty Field Error :Field Key is 【FBaseProperty】
代码:
string serviceName = "Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.Save";
object[] saveInfo = new object[] { "BD_Empinfo", "{"Creator":"ch","NeedUpDateFields":[],"Model":{"FID":0,"FNumber":"BDRY201510110008","FPersonID":{"FPERSONID":0,"FNumber":"BDRY201510110008","FName":"丁丹Test","FPhoto":"","FMobile":"18012345678","FTel":"String","FEmail":"Kidi.Ding@kingdee.cn","FAddress":"江苏苏州"},"FName":"丁丹Test","FStaffNumber":"","FMobile":"18012345678","FTel":"0512-66776677","FEmail":"Kidi.Ding@kingdee.cn","FDescription":"Description","FAddress":"江苏苏州","FDocumentStatus":"C","FForbidStatus":"A","FCreateOrgId":{"FOrgID":0,"FNUMBER":"100","FNAME":"创建组织"},"FUseOrgId":{"FOrgID":0,"FNUMBER":"100","FNAME":"使用组织"},"FCreatorId":{"FUserID":0,"FUserAccount":"100007","FName":"创建者"},"FModifierId":{"FUserID":0,"FUserAccount":"100007","FName":"修改者"},"FCreateDate":"2016-3-4","FModifyDate":"2016-3-4","FIsHR":false,"FStaffId":{"FSTAFFID":0,"FStaffNumber":"","FName":"","FPosition":{"FPOSTID":0,"FNumber":"","FName":"","FDept":{"FDEPTID":0,"FNUMBER":"","FNAME":""}},"FStartDate":"","FForbidStatus":""},"FBaseProperty8":"","FFirstCardID":{"FCARDID":0,"FCardNO":""},"FBaseProperty":"''","FBaseProperty1":"","FBaseProperty9":"","FIsSHR":false,"FAuditorID":{"FUserID":0,"FUserAccount":"100007","FName":""},"FAuditDate":"100007","FForbidderId":{"FUserID":0,"FUserAccount":"0","FName":""},"FForbidDate":"","FPhoto":""}}"};
var retSave = client.Execute
问题:
1.保存数据中有FBaseProperty,FBaseProperty1,FBaseProperty8,FBaseProperty9 我都不知道对于表中的那个栏位,更不知道要不要填写,填写什么了?
2.这个保存执行后,数据是不是不只是INSERT 数据到T_BD_PERSON,T_BD_PERSON_L 还有其他表嘛?
本人是初学这部分,谢谢老师的指导!!!
推荐阅读