错误提示:实体类型SupplierBusiness中不存在名为SupplierFinance的属性。
可是我按系统给的属性,BD_Supplier__FFinanceInfo进行了赋值啊,不知道怎么还报不存在。请大师帮忙看看,谢谢!
代码:
string serviceName = "Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.Save";
object[] saveInfo = new object[] { "BD_Supplier",
"{"Creator":"ch","NeedUpDateFields":[],"Model":{"FSupplierId":0,"FCreateOrgId":{"FOrgID":0,"FNumber":"103","FName":"创建组织内码"},"FNumber":"S000001","FUseOrgId":{"FOrgID":0,"FNumber":"103","FName":""},"FName":"供应商Test2","FShortName":"供应商2","FCorrespondOrgId":{"FOrgID":0,"FNumber":"0","FName":"对应组织"},"FDescription":"供应商测试","FCreatorId":{"FUserID":0,"FUserAccount":"100006","FName":""},"FCreateDate":"2016/3/8 16:23:38","FModifierId":{"FUserID":0,"FUserAccount":"100006","FName":""},"FModifyDate":"2016/3/8 16:23:38","FDocumentStatus":"C","FForbidStatus":"A","BD_Supplier__FBaseInfo":{"FCountry":{"FEntryId":"","FNumber":"China","FDataValue":""},"FProvincial":{"FEntryId":"","FNumber":"DQ001","FDataValue":"省份地区"},"FAddress":"苏州工业园区星海街","FZip":"226600","FLanguage":{"FEntryId":"","FNumber":"2052","FDataValue":""},"FWebSite":"www","FFoundDate":"2015-6-1","FRegisterFund":0,"FRegisterCode":"3203100000","FTendPermit":"3200000000","FRegisterAddress":"南京雨花台","FSupplyClassify":"WW","FSupplierGrade":{"FEntryId":"","FNumber":"","FDataValue":""},"FCompanyClassify":{"FEntryId":"","FNumber":"GSLL01_SYS","FDataValue":""},"FCompanyNature":{"FEntryId":"","FNumber":"GSXZ001","FDataValue":""},"FCompanyScale":{"FEntryId":"","FNumber":"GSGM03_SYS","FDataValue":""},"FStartDate":"2015-5-1","FEndDate":"2025-4-30"},"BD_Supplier__FBusinessInfo":{"FMinPOValue":0,"FBusinessStatus":"A","FFreezeLimit":"","FFreezeOperator":{"FUserID":0,"FUserAccount":"","FName":""},"FPurchaserGroupId":{"FEntryId":0,"FNumber":"","FName":""},"FFreezeDate":"","FParentSupplierId":{"FSupplierId":0,"FNumber":"","FName":""},"FSettleTypeId":{"FID":0,"FNumber":"","FName":"","FTYPE":""},"FPRICELISTID":{"FID":0,"FNumber":"","FName":""},"FNeedConfirm":false,"FDiscountListId":{"FID":0,"FNumber":"","FName":""},"FProviderId":{"FSupplierId":0,"FNumber":"","FName":""},"FWipStockId":{"FStockId":0,"FNumber":"","FName":"","FStockProperty":"","FSupplierId":{"FSupplierId":0,"FNumber":"","FName":""},"FDefStockStatusId":{"FStockStatusId":0,"FNUMBER":"","FNAME":""},"FIsOpenLocation":false},"FWipStockPlaceId":{"FWIPSTOCKPLACEID__FOPCODE":"","FWIPSTOCKPLACEID__FF100001":""},"FVmiBusiness":false,"FVmiStockId":{"FStockId":0,"FNumber":"","FName":"","FStockProperty":"","FEnableSL":false},"BD_Supplier__FFinanceInfo":{"FCustomerId":{"FCUSTID":0,"FNumber":"","FName":"对应客户 "},"FPayCurrencyId":{"FCURRENCYID":0,"FNumber":"PRE001","FName":"付款币别 ","FSYSMBOL":"","FPRICEDIGITS":0,"FAMOUNTDIGITS":0,"FIsShowCSymbol":false,"FFormatOrder":"" },"FPayCondition":{"FID":0,"FNumber":"FKTJ02_SYS","FName":"付款条件 "},"FSettleId":{"FSupplierId":0,"FNumber":"","FName":""},"FPayAdvanceAmount":0,"FTaxType":{"FEntryId":"","FNumber":"SFL01_SYS","FDataValue":""},"FTaxRegisterCode":"320887777777","FTendType":{"FEntryId":"","FNumber":"JYLX01_SYS","FDataValue":""},"FChargeId":{"FSupplierId":0,"FNumber":"","FName":""},"FInvoiceType":"1","FTaxRateId":{"FID":0,"FNumber":"SL01_SYS","FName":"","FTaxRate":0},"FFinanceDesc":"财务描述"}}}}" };
var retSave = client.Execute
推荐阅读