调用工序汇报webAPI保存数据和工序计划不对应

我调用了工序汇报接口直接保存工序汇报数据,可以正常保存第一序和第二序的数据,但是查工序计划列表内保存的两条数据都到了第一序的完成数量内,不知道是哪个字段起了决定性作用。以下是保存的Json字符串()"FOperNumber": "40"代表保存到第二个工序,"FOperNumber": "10"代表保存到第一个工序){
"Creator": "",
"NeedUpDateFields": [],
"NeedReturnFields": [],
"IsDeleteEntry": "true",
"SubSystemId": "",
"IsVerifyBaseDataField": "false",
"IsEntryBatchFill": "true",
"ValidateFlag": "true",
"NumberSearch": "true",
"InterationFlags": "",
"IsAutoSubmitAndAudit": "false",
"Model": {
"FID": "",
"FBllNo": "",
"F_PAEZ_Text1": "机模",
"F_PAEZ_Text2": "",
"F_PAEZ_Text3": "",
"FWorkShopID": {
"FNUMBER": "01005003901"
},
"FEntity": [{
"FId": "",
"FSeq": 1,
"FSourceBillType": "SFC_OperationPlanning",
"FSourceBillNo": "OP020441",
"FSrcInterId": "120450",
"FSrcEntrySeq": "1",
"FSrcEntryId": "120770",
"FMoId": "107392",
"FMoEntryId": "117334",
"FOptPlanId": "120450",
"FOptPlanNo": "OP020441",
"FOptPlanSeqId": "120770",
"FOptPlanOptId": "145075",
"FMoNumber": "MO007335",
"FMoRowNumber": "1",
"FSeqNumber": "0",
"FReportType": {
"FNUMBER": "HBLX01_SYS"
},
"FOperNumber": "40",
"FMaterialId": {
"FNumber": "21000000264"
},
"F_PAEZ_Base": {
"FNUMBER": "BZ001"
},
"FUnitID": {
"FNumber": "UOM006"
},
"FFinishQty": 10,
"FQuaQty": "10",
"FFailQty": "0",
"F_PAEZ_Text6": "",
"F_PAEZ_Text7": "",
"F_PAEZ_Text": "机模",
"F_PAEZ_Decimal1": 0,
"F_PAEZ_Decimal2": 0,
"F_PAEZ_Decimal3": 0,
"F_PAEZ_Decimal4": 0,
"F_PAEZ_Decimal5": 0,
"F_PAEZ_Decimal6": 0,
"F_PAEZ_Decimal7": 0,
"F_PAEZ_Decimal8": 0,
"F_PAEZ_Decimal9": 0,
"F_PAEZ_Decimal10": 0,
"F_PAEZ_Decimal11": 0,
"F_PAEZ_Decimal12": 0,
"F_PAEZ_Decimal13": 0,
"F_PAEZ_Decimal14": 0,
"F_PAEZ_Decimal15": 0,
"F_PAEZ_Decimal16": 0,
"F_PAEZ_Decimal17": 0,
"F_SYJ_Decimal": 0,
"F_SYJ_Decimal1": 0,
"FSeqType": "M",
"FMoPrdOrgId": {
"FNumber": "100"
},
"FMoPrdDept": {
"FNUMBER": "01005003901"
},
"FBomId": {
"FNUMBER": "21000000264_V1.0"
},
"FPrdType": "1",
"FCostRate": "100",
"FOptBillCreatType": "A",
"FOwnerTypeId": "BD_OwnerOrg",
"FOwnerId": {
"FNumber": "100"
},
"FRouteId": {
"FNUMBER": "RT000467"
},
"FEntity_Link": [{
"Id": 0,
"FEntity_Link_FFlowId": " ",
"FEntity_Link_FFlowLineId": 0,
"FEntity_Link_FRuleId": "SFC_OPRTPLAN2OPTRRPT",
"STableId": 0,
"FEntity_Link_FSTableName": "T_SFC_OPERPLANNINGSEQ",
"FEntity_Link_FSBillId": "120450",
"FEntity_Link_FSId": "120770"
}]
}]
}
}

 

问题名称:调用工序汇报webAPI保存数据和工序计划不对应

点击链接查看答案:

https://club.kingdee.com/forum.php?mod=viewthread&tid=1495370

未经允许不得转载:友商问答 » 调用工序汇报webAPI保存数据和工序计划不对应

赞 (0)