下面是采购退料的JSON ,为啥子表总是说字段没值,明明已经有值了:
"Creator": "PDA",
"NeedUpDateFields": [],
"Model": {
"FID": 0,
"FBillTypeID": {
"FNumber": "TLD01_SYS"
},
"FBusinessType": "CG",
"FDate": "\/Date(1460035243000+0800)\/",
"FMRTYPE": "B",
"FMRMODE": "A",
"FStockOrgId": {
"FNumber": "100"
},
"FRequireOrgId": {
"FNumber": "100"
},
"FOwnerIDHead": {
"FNumber": "100"
},
"FPurchaseOrgId": {
"FNumber": "100"
},
"FSupplierID": {
"FNumber": "200000"
},
"PUR_MRB_FPURMRBENTRY": [
{
"FMATERIALID": {
"FNumber": "05040015"
},
"FUNITID": {
"FNumber": "Pcs"
},
"FRMREALQTY": 1.0,
"FREPLENISHQTY": 1.0,
"FKEAPAMTQTY": 1.0,
"FPRICEUNITID": {
"FNumber": "Pcs"
},
"FPRICEUNITQTY": 1.0,
"FSTOCKID": {
"FNumber": "CK001"
},
"FStockStatusId": {
"FNumber": "KCZT04_SYS"
},
"FCARRYQTY": 1.0,
"FCARRYUNITID": {
"FNumber": "Pcs"
},
"FSerialNote": "test",
"FLot": {
"FName": ""
}
}
]
}
}, result= {"Result":{"ResponseStatus":{"ErrorCode":500,"IsSuccess":false,"Errors":[{"FieldName":"FPRICEUNITID","Message":"单据体“明细信息”第1行字段“计价单位”是必填项"},{"FieldName":"FUnitID","Message":"单据体“明细信息”第1行字段“库存单位”是必填项"},{"FieldName":"FCarryUnitId","Message":"单据体“明细信息”第1行字段“采购单位”是必填项"},{"FieldName":"FMATERIALID","Message":"单据体“明细信息”第1行字段“物料编码”是必填项"},{"FieldName":"","Message":"第1行分录,实退数量必须大于0!"},{"FieldName":"","Message":"第1行分录,计价数量必须大于0!"},{"FieldName":"","Message":"第1行分录,采购数量必须大于0"},{"FieldName":"AbstractInteractionResult","Message":"AbstractInteractionResult.InteractionContext is null"}]},"Id":""}}