订单接口提示错误
金蝶云社区-Jerry王
Jerry王
0人赞赏了该文章 786次浏览 未经作者许可,禁止转载编辑于2019年04月11日 11:15:51
提示错误:{"Result":{"ResponseStatus":{"ErrorCode":500,"IsSuccess":false,"Errors":[{"FieldName":"FUnitID","Message":"单据体“订单明细”第1行字段“销售单位”是必填项","DIndex":0}],"SuccessEntitys":[],"SuccessMessages":[],"MsgCode":0},"Id":"","NeedReturnData":[{}]}}
但是我的销售单位已经给值了,还报错,求老师帮忙看看啥原因?版本金蝶星空 7.3
我的接口:{ "Creator": "",
"NeedUpDateFields": [],
"NeedReturnFields": [],
"IsDeleteEntry": "True",
"SubSystemId": "",
"IsVerifyBaseDataField": "false",
"IsEntryBatchFill": "True",
"Model": {
"FID": 0,
"FHEADLOCID": {
"FNUMBER": "371608024-007"
},
"FNote": "测试",
"FBusinessType": "NORMAL",
"FBillTypeID": {
"FNumber": "XSDD01_SYS"
},
"FDate": "2019/4/11 10:24:44",
"FSaleOrgId": {
"FNumber": "214"
},
"FSalerId": {
"FNumber": "00580"
},
"FCustId": {
"FNumber": "371608024"
},
"FSaleDeptId": {
"FNumber": "XD01191004"
},
"FHeadDeliveryWay": {
"FNumber": "JHFS01_SYS"
},
"FISINIT": false,
"FIsMobile": false,
"FXDStockOrgId": {
"FNumber": "101"
},
"FSaleOrderFinance": {
"FSettleCurrId": {
"FNumber": "PRE001"
},
"FRecConditionId": {
"FNumber": "005"
},
"FIsPriceExcludeTax": true,
"FIsIncludedTax": 1,
"FExchangeTypeId": {
"FNumber": "HLTX01_SYS"
}
},
"FSaleOrderEntry": [{
"FRowType": "Standard",
"FMaterialId": {
"FNumber": "40102217420"
},
"F_XD_PriceSrc": "1",
"FDiscountRate": "20",
"FFloorPrice ": 45,
"F_XD_DeductFlag ": 1,
"F_XD_FSalDeduct": "0",
"F_XD_ServDeduct": "0",
"FUnitID": {
"FNumber": "xiang"
},
"FQty": 5,
"FPriceUnitID": {
"FNumber": "dai"
},
"FPriceQty": 50,
"FPrice": 45,
"FTaxPrice": 45,
"FIsFree": 0,
"FEntryTaxRate": 0,
"FExpPeriod": 24,
"FExpUnit": "M",
"FDeliveryDate": "2019/4/11 10:24:44",
"FStockOrgId": {
"FNumber": "101"
},
"FSettleOrgIds": {
"FNumber": "101"
},
"FSupplyOrgId": {
"FNumber": "101"
},
"FOwnerTypeId": "BD_OwnerOrg",
"FOwnerId": {
"FNumber": "101"
},
"FReserveType": "1",
"FPriceBaseQty": 50,
"FStockUnitID": {
"FNumber": "kg"
},
"FStockQty": 50,
"FStockBaseQty": 50,
"FOUTLMTUNIT": "SAL",
"FOutLmtUnitID": {
"FNumber": "kg"
},
"FMonthFlag": 0,
"FSeasonFlag": 0,
"FHalfYearFlag": 0,
"FYearFlag": 0,
"FSalFlag": 0,
"FServFlag": 0,
"FSalDiscount": 100,
"FTechFlag": 0,
"FXDStockStatusId": {
"FNumber": "KCZT01_SYS"
},
"FOrderEntryPlan": [{
"FPlanDate": "2019/4/11 10:24:44",
"FPlanUnitId": {
"FNumber": "xiang"
},
"FPlanQty": 5
}]
}, {
"FRowType": "Standard",
"FMaterialId": {
"FNumber": "40303103514"
},
"F_XD_PriceSrc": "1",
"FDiscountRate": "20",
"FFloorPrice ": 14.6,
"F_XD_DeductFlag ": 1,
"F_XD_FSalDeduct": "0",
"F_XD_ServDeduct": "0",
"FUnitID": {
"FNumber": "buc"
},
"FQty": 2,
"FPriceUnitID": {
"FNumber": "dai"
},
"FPriceQty": 200,
"FPrice": 12.920353982300884955752212389,
"FTaxPrice": 14.6,
"FIsFree": 0,
"FEntryTaxRate": 13,
"FExpPeriod": 24,
"FExpUnit": "M",
"FDeliveryDate": "2019/4/11 10:24:44",
"FStockOrgId": {
"FNumber": "101"
},
"FSettleOrgIds": {
"FNumber": "101"
},
"FSupplyOrgId": {
"FNumber": "101"
},
"FOwnerTypeId": "BD_OwnerOrg",
"FOwnerId": {
"FNumber": "101"
},
"FReserveType": "1",
"FPriceBaseQty": 200,
"FStockUnitID": {
"FNumber": "kg"
},
"FStockQty": 200,
"FStockBaseQty": 200,
"FOUTLMTUNIT": "SAL",
"FOutLmtUnitID": {
"FNumber": "kg"
},
"FMonthFlag": 0,
"FSeasonFlag": 0,
"FHalfYearFlag": 0,
"FYearFlag": 0,
"FSalFlag": 0,
"FServFlag": 0,
"FSalDiscount": 100,
"FTechFlag": 0,
"FXDStockStatusId": {
"FNumber": "KCZT01_SYS"
},
"FOrderEntryPlan": [{
"FPlanDate": "2019/4/11 10:24:44",
"FPlanUnitId": {
"FNumber": "buc"
},
"FPlanQty": 2
}]
}],
"FSaleOrderPlan": [{
"FNeedRecAdvance": false,
"FRecAdvanceRate": 100.0000000000,
"FRecAdvanceAmount": "1800",
"FPlanMaterialId": {
"FNumber": "40102217420"
},
"FMaterialSeq": 1
}, {
"FNeedRecAdvance": false,
"FRecAdvanceRate": 100.0000000000,
"FRecAdvanceAmount": "2336",
"FPlanMaterialId": {
"FNumber": "40303103514"
},
"FMaterialSeq": 2
}]
}
}