上传销售出库单时报错
金蝶云社区-张波_5
张波_5
0人赞赏了该文章 391次浏览 未经作者许可,禁止转载编辑于2016年08月31日 15:13:06

错误信息如下
{[Result, {
"ResponseStatus": {
"ErrorCode": 500,
"IsSuccess": false,
"Errors": [
{
"FieldName": "MapComplexProperty Field Error :Field Key is 【FCustomerID】",
"Message": " 在 Kingdee.BOS.WebApi.FormService.MapPropertyService.MapComplexProperty(String pkProperty, Dictionary`2 sourceObj, DynamicObject targetObj, Int32 rowIndex, HashSet`1 NeedUpDateFields)\r\n 在 Kingdee.BOS.WebApi.FormService.Save.Execute()\r\n 在 Kingdee.BOS.WebApi.FormService.BillOperationService.ExecuteOperation(FormOperation op, String data)",
"DIndex": 0
}
],
"SuccessEntitys": []
}
}]}

上传的jason如下:
"{
\"Creator\": \"String\",
\"NeedUpDateFields\": [

],
\"Model\": {
\"FID\": 0,
\"FBillTypeID\": {
\"FNumber\": \"XSCKD01_SYS\"
},
\"FSaleOrgId\": {
\"FNumber\": \"1010705\"
},
\"FCustomerID\": {
\"FNumber\": \"01.0002\"
},
\"FStockOrgId\": {
\"FNumber\": \"1010705\"
},
\"FOwnerIdHead\": {
\"FNumber\": \"100\"
},
\"FNote\": \"\",
\"SAL_OUTSTOCK__FEntity\": [
{
\"FMaterialID\": {
\"FNumber\": \"mf8AAAABlc9ECefw\"
},
\"FUnitID\": {
\"FNumber\": \"003\"
},
\"FStockID\": {
\"FNumber\": \"101009\"
},
\"FLot\": null,
\"FMustQty\": 1.0,
\"FRealQty\": 1.0,
\"FAmount\": 25.2,
\"FPrice\": 25.2,
\"FTaxPrice\": 25.2,
\"FDiscount\": 0.0,
\"FDiscountRate\": 0.0,
\"FIsFree\": false
},
{
\"FMaterialID\": {
\"FNumber\": \"mf8AAAABjT9ECefw\"
},
\"FUnitID\": {
\"FNumber\": \"022\"
},
\"FStockID\": {
\"FNumber\": \"101009\"
},
\"FLot\": null,
\"FMustQty\": 1.0,
\"FRealQty\": 1.0,
\"FAmount\": 0.0,
\"FPrice\": 0.0,
\"FTaxPrice\": 0.0,
\"FDiscount\": 0.0,
\"FDiscountRate\": 0.0,
\"FIsFree\": false
}
],
\"SAL_OUTSTOCK__SubHeadEntity\": {
\"FSettleCurrID\": {
\"FNumber\": \"PRE001\"
},
\"FLocalCurrID\": {
\"FNumber\": \"PRE001\"
},
\"FSettleOrgID\": {
\"FNumber\": \"100\"
},
\"FExchangeTypeID\": {
\"FNumber\": \"HLTX01_SYS\"
},
\"FExchangeRate\": 1.0
}
}
}"
反复查过Fcustomerid了,在客户列表确实存在,求指导!!