调用webapi 其他出库单的接口报错
金蝶云社区-云社区用户3J371676
云社区用户3J371676
0人赞赏了该文章 1,128次浏览 未经作者许可,禁止转载编辑于2016年09月02日 17:38:18

发送数据:{
"format":1,
"useragent":"ApiClient",
"rid":"{ED8118CD-A363-D1B1-D445-2CAA970F20BF}",
"parameters":[
"STK_MisDelivery",
{
"Creator":"",
"NeedUpDateFields":"",
"Model":{
"FID":0,
"FBillNo":"",
"FBillTypeID":{
"FNumber":"QTCKD01_SYS"
},
"FCustomerID":{
"FNUMBER":"CUST0054"
},
"FDocumentStatus":"C",
"FDate":"2016-09-02 17:30:39",
"FSalOrgId":{
"FNUMBER":"100.002"
},
"FLocalCurId":{
"FNUMBER":"100.002"
},
"FBranchId":{
"FNumber":"100.002"
},
"FDeptId":{
"FNumber":"BM000004"
},
"FEntity":[
{
"FMaterialID":{
"FNumber":"CMKCHLB01_SYS0280"
},
"FStockStausID":{
"FNumber":"QTCKD01_SYS"
},
"FLot":{
"FNumber":"20151225"
},
"FStockId":{
"FNumber":""
},
"FExtAuxUnitQty":1,
"FQty":1
}
],
"FVIPNumber":"18180051676",
"FTotalAmount":0,
"FDiscountAmount":0,
"FUUID":"",
"FSaleOption":"",
"FBillStatus":"",
"FTotalRealAmt":0
}
}
],
"timestamp":"2016-09-02",
"v":"1.0"
}

返回数据:

{
"Result":{
"ResponseStatus":{
"ErrorCode":500,
"IsSuccess":false,
"Errors":[
{
"FieldName":"FStockId",
"Message":"单据体“明细信息”第1行字段“发货仓库”是必填项",
"DIndex":0
}
],
"SuccessEntitys":[

]
},
"Id":""
}
}

返回提示发货仓库是必填项 但是我是填了的 数据也可以找到 但是为什么总是报错 希望老师指点 谢谢