直接调拨单WEB API 保存总是出错,json格式如下,请教一下,不知什么原因:
"Creator": "PDA",
"NeedUpDateFields": [],
"Model": {
"FID": 0,
"FBillTypeID": {
"FNumber": "ZJDB01_SYS"
},
"FTransferDirect": "GENERAL",
"FTransferBizType": "InnerOrgTransfer",
"FBizType": "NORMAL",
"FOwnerTypeOutIdHead": "BD_OwnerOrg",
"FOwnerOutIdHead": {
"FNumber": "100"
},
"FStockOutOrgId": {
"FNumber": "100"
},
"FStockOrgId": {
"FNumber": "100"
},
"FOwnerTypeIdHead": "业务组织",
"FOwnerIdHead": {
"FNumber": "100"
},
"FDate": "\/Date(1460036961000+0800)\/",
"STK_TransferDirect_FBillEntry": [
{
"FMaterialId": {
"FNumber": "01010001"
},
"FUnitID": {
"FNumber": "t"
},
"FQty": 200.0,
"FSrcStockId": {
"FNumber": "CK001"
},
"FDestStockId": {
"FNumber": "CK007"
},
"FSrcStockStatusId": {
"FNumber": "KCZT01_SYS"
},
"FDestStockStatusId": {
"FNumber": "KCZT01_SYS"
},
"FNoteEntry": "test",
"FLot": {
"FName": ""
},
"FDestLot": {
"FName": ""
}
},
{
"FMaterialId": {
"FNumber": "01010001"
},
"FUnitID": {
"FNumber": "t"
},
"FQty": 200.0,
"FSrcStockId": {
"FNumber": "CK001"
},
"FDestStockId": {
"FNumber": "CK007"
},
"FSrcStockStatusId": {
"FNumber": "KCZT01_SYS"
},
"FDestStockStatusId": {
"FNumber": "KCZT01_SYS"
},
"FNoteEntry": "test",
"FLot": {
"FName": ""
},
"FDestLot": {
"FName": ""
}
}
]
}
}, result=, err_message=MapComplexProperty Field Error :Field Key is 【FOwnerIdHead】
Kingdee.BOS.WebApi.Client.ServiceException (0x80004005): MapComplexProperty Field Error :Field Key is 【FOwnerIdHead】