json格式如下
{
"Creator": "KG",
"NeedUpDateFields": [],
"Model": {
"FID": 0,
"FBillTypeID": {
"FNUMBER": "YSD01_SYS"
},
"FDATE": "2015-12-20",
"FCUSTOMERID": {
"FNUMBER": "00001"
},
"FCURRENCYID": {
"FNumber": "PRE001"
},
"FALLAMOUNTFOR": 100,
"FSETTLEORGID": {
"FNUMBER": "100"
},
"FPAYORGID": {
"FNUMBER": "100"
},
"AR_receivable__FEntityDetail": [
{
"FMATERIALID": {
"FNumber": "100110"
},
"FPRICEUNITID": {
"FNumber": "Pcs"
},
"FPriceQty": 1,
"FTaxPrice": 2,
"FPrice": 2,
"FEntryTaxRate": 20,
"FEntryDiscountRate": 20,
"FNoTaxAmountFor_D": 20,
"FDISCOUNTAMOUNTFOR": 2,
"FTAXAMOUNTFOR_D": 2,
"FALLAMOUNTFOR_D": 20
}
]
}
}
插入时报错"Errors":[{"FieldName":"","Message":"第1行分录,物料必录。"}
物料明明已经传入,有人知道是什么原因吗?