WebApi接口插入采购收料单json解析报错,请教老师帮忙
金蝶云社区-云社区用户gJ447785
云社区用户gJ447785
0人赞赏了该文章 2,038次浏览 未经作者许可,禁止转载编辑于2015年07月16日 14:56:23

请教总部老师指点下,我这里什么原因报的错。
我使用Java代码调用Cloud WebApi接口,在采购入库单中可以正常插入,但是类似代码在采购收料单中插入失败,反复修改测试都通过不了。具体表现如下:
采购入库单json:
{
"Creator": "String",
"NeedUpDateFields": [],
"Model": {
"FID": "0",
"FBillTypeID": {
"FNUMBER": "RKD01_SYS"
},
"FBusinessType": "CG",
"FStockOrgId": {
"FNumber": "101.2"
},
"FPurchaseOrgId": {
"FNumber": "101.2"
},
"FPayOrgId": {
"FNumber": "101.2"
},
"FOwnerTypeIdHead": "BD_OwnerOrg",
"FOwnerIdHead": {
"FNumber": "101.2"
},
"FDemandOrgId": {
"FNumber": "101.2"
},
"FSupplierId": {
"FNumber": "VEN00007"
},
"STK_InStock__FInStockFin": {
"FSettleOrgId": {
"FNumber": "101.2"
},
"FSettleCurrId": {
"FNumber": "PRE001"
},
"FExchangeRate": 1
},
"STK_InStock__FInStockEntry": [
{
"FMaterialId": {
"FNumber": "1.01.001.0055"
},
"FUnitID": {
"FNumber": "Pcs"
},
"FStockId": {
"FNumber": "CK002"
},
"FRealQty": 10,
"FBaseUnitQty": 10,
"FNote": "WebApi"
}
]
}
}

可以正常插入数据