您好!销售出库单扩展了,扩展后的表单标识是:b77d2780-99ef-41eb-9b93-8905d812215c
然后一直报错,如下:
"Creator": "PDA",
"NeedUpDateFields": [],
"Model": {
"FID": 0,
"FBillTypeID": {
"FNumber": "XSCKD01_SYS"
},
"FDate": "\/Date(1462972174000+0800)\/",
"FSettleCurrID": {
"FNumber": "PRE001"
},
"FSaleOrgId": {
"FNUMBER": "100"
},
"FStockOrgId": {
"FNUMBER": "100"
},
"FCustomerID": {
"FNUMBER": "20002"
},
"F_XDG_Assistant": {
"FNUMBER": "XDXDFS01"
},
"FOwnerTypeIdHead": "BD_OwnerOrg",
"FOwnerIdHead": {
"FNumber": "100"
},
"b77d2780-99ef-41eb-9b93-8905d812215c__FEntity": [
{
"FMaterialId": {
"FNumber": "11.01.002"
},
"FUnitID": {
"FNumber": "07"
},
"FRealQty": 7.0,
"FBaseUnitQty": 7.0,
"FStockID": {
"FNumber": "20001"
},
"FStockStatusID": {
"FNumber": "KCZT01_SYS"
},
"FSrcBillNo": "",
"FSrcType": "",
"FEntrynote": "test"
},
{
"FMaterialId": {
"FNumber": "11.01.004"
},
"FUnitID": {
"FNumber": "07"
},
"FRealQty": 7.0,
"FBaseUnitQty": 7.0,
"FStockID": {
"FNumber": "20001"
},
"FStockStatusID": {
"FNumber": "KCZT01_SYS"
},
"FSrcBillNo": "",
"FSrcType": "",
"FEntrynote": "test"
}
]
}
}, result= {"Result":{"ResponseStatus":{"ErrorCode":500,"IsSuccess":false,"Errors":[{"FieldName":"FEntity","Message":"分录实体“明细信息”是必填项"}],"SuccessEntitys":[]},"Id":""}}
我个人觉得是b77d2780-99ef-41eb-9b93-8905d812215c__FEntity 有问题;但是改成FEntity或 SAL_OUTSTOCK__FEntity 也不行,不知为什么?
推荐阅读