[解决]写插件通过webapi生成生产领料单,提示库存状态必填
金蝶云社区-Tony
Tony
1人赞赏了该文章 1,066次浏览 未经作者许可,禁止转载编辑于2017年02月09日 16:38:14


提示库存状态和仓库必填,但我的json已经对这两个字段赋值了,是哪出问题了?

{
"Creator": "qgp",
"NeedUpDateFields": [
""
],
"Model": {
"FID": 0,
"FBillType": {
"FNumber": "SCLLD01_SYS"
},
"FDate": "\/Date(1486569600000+0800)\/",
"FDocumentStatus": "A",
"FStockOrgId": {
"FNumber": "100"
},
"FPrdOrgId": {
"FNumber": "100"
},
"FWorkShopId": {
"FNumber": "23.01"
},
"FCreatorId": {
"FName": "沈丽英"
},
"FCreateDate": "\/Date(1486569600000+0800)\/",
"FModifierId": {
"FName": "沈丽英"
},
"FModifyDate": "\/Date(1486569600000+0800)\/",
"FDescription": "",
"FCurrId": {
"FNumber": "PRE001"
},
"FIsCrossTrade": false,
"FVmiBusiness": false,
"FEntity": [
{
"FEntryID": 0,
"FParentMaterialId": {
"FNumber": "5.1.3.002.040"
},
"FMaterialId": {
"FNumber": "5.1.2.002.040"
},
"FUnitID": {
"FNumber": "KG"
},
"FAppQty": "22",
"FActualQty": "22",
"FStockId": {
"FNumber": "1.01"
},
"FStockLocId": {
"FStockLocId__FF101001": {
"FNumber": "XBS01"
}
},
"FLot": {
"FNumber": "H1612588-9"
},
"FStockStatusId": {
"FNumber": "KCZT01_SYS"
},
"FMoBillNo": "MO011575",
"FOwnerTypeId": "BD_OwnerOrg",
"FStockUnitId": {
"FNumber": "KG"
},
"FBaseUnitId": {
"FNumber": "KG"
},
"FAuxPropId": {
"FAuxPropId__FF100001": {
"FNumber": "101.036"
}
},
"FOwnerId": {
"FNumber": "100"
},
"FGH": "170209A432",
"FSrcBillType": "PRD_PPBOM",
"FSrcBillNo": "PPBOM00016915",
"FEntity_Link": [
{
"FEntity_Link_FFlowId": "",
"FEntity_Link_FFlowLineId": "",
"FEntity_Link_FRuleId": "PRD_PPBOM2PICKMTRL_NORMAL",
"FEntity_Link_FSTableName": "T_PRD_PPBOMENTRY",
"FEntity_Link_FSBillId": "143622",
"FEntity_Link_FSId": "143475",
"FEntity_Link_FBaseUnitQtyOld": "22",
"FEntity_Link_FBaseUnitQty": "22"
}
]
}
]
}
}

您的鼓励与嘉奖将成为创作者们前进的动力,如果觉得本文还不错,可以给予作者创作打赏哦!

请选择打赏金币数 *

10金币20金币30金币40金币50金币60金币
可用金币: 0