生产入库单API无法保存
金蝶云社区-厦门新芒_范明勇
厦门新芒_范明勇
0人赞赏了该文章 1,828次浏览 未经作者许可,禁止转载编辑于2016年05月16日 22:56:39

生产入库单总是不能保存,我仔细检查了物料编码,是正确的,但就是无法保存,JSON如下:

"Creator": "PDA",
"NeedUpDateFields": [],
"Model": {
"FID": 0,
"FBillType": {
"FNumber": "SCRKD02_SYS"
},
"FDate": "\/Date(1463408443000+0800)\/",
"FStockOrgId": {
"FNUMBER": "100"
},
"FPrdOrgId": {
"FNUMBER": "100"
},
"FOwnerTypeId0": "BD_OwnerOrg",
"FOwnerId0": {
"FNumber": "100"
},
"PRD_INSTOCK__FEntity": [
{
"FMaterialId": {
"FNumber": "11.05.0001"
},
"FUnitID": {
"FNumber": "07"
},
"FProductType": 1,
"FInStockType": 1,
"FBaseUnitId": {
"FNumber": "07"
},
"FRealQty": 1.0,
"FMustQty": 1.0,
"FStockId": {
"FNumber": "20001"
},
"FOwnerTypeId": "BD_OwnerOrg",
"FOwnerId": {
"FNumber": "100"
},
"FWorkShopId1": {
"FNumber": "1402"
},
"FMoBillNo": "2116051600001",
"FMoEntryId": "100002",
"FMoId": 100002,
"FMoEntrySeq": 1,
"FSrcBillNo": "2116051600001",
"FSrcEntryId": "100002",
"FSrcInterId": 100002,
"FEntrySrcEntrySeq": 1,
"FSrcBillType": "PRD_MO",
"FLot": {
"FNumber": "201605168888"
},
"FMemo": "test"
}
]
}
}, result= {"Result":{"ResponseStatus":{"ErrorCode":500,"IsSuccess":false,"Errors":[{"FieldName":"FMaterialId","Message":"单据体“明细”第1行字段“物料编码”是必填项"}],"SuccessEntitys":[]},"Id":""}}

总是提示这样,我根据Cloud输入后的值逐个填写,还是这样,不知为什么?