通过调用api凭证接口新建凭证,第一次新建凭证的凭证号为14,异常,第二次及其后新建的凭证号为1、2,3,正常。
传入内容:
{
"Creator": null,
"NeedUpDateFields": null,
"Model": {
"Id": 0,
"BillNo": null,
"VOUCHERGROUPNO": null,
"FVOUCHERID": 0,
"FCREATORID": 0,
"FAccountBookID": {
"FID": 0,
"FMASTERID": null,
"FNumber": "001",
"FName": null,
"FForbidStatus": null
},
"FCreatorId": null,
"FYEAR": 2016,
"FPERIOD": 10,
"FDate": "\/Date(1475251200000+0800)\/",
"FSystemID": {
"FID": 0,
"FMASTERID": null,
"FNumber": "gl",
"FName": null,
"FForbidStatus": null
},
"FVOUCHERGROUPID": {
"FID": 0,
"FMASTERID": null,
"FNumber": "PRE001",
"FName": null,
"FForbidStatus": null
},
"GL_VOUCHER__FEntity": [{
"FEXPLANATION": "收资金周转借款",
"FACCOUNTID": {
"FID": 0,
"FMASTERID": null,
"FNumber": "1002.01.09",
"FName": null,
"FForbidStatus": null
},
"FDetailID": 1,
"FDEBIT": 5000.00,
"FCREDIT": null
},
{
"FEXPLANATION": "收资金周转借款",
"FACCOUNTID": {
"FID": 0,
"FMASTERID": null,
"FNumber": "2241.19",
"FName": null,
"FForbidStatus": null
},
"FDetailID": 103416,
"FDEBIT": null,
"FCREDIT": 5000.00
}]
}
}
推荐阅读