收款单保存接口问题
金蝶云社区-云社区用户4eh5512
云社区用户4eh5512
0人赞赏了该文章 953次浏览 未经作者许可,禁止转载编辑于2016年06月17日 11:51:55

参数:
{
"Creator": "100",
"NeedUpDateFields": null,
"Model": {
"FID": 0,
"FBillTypeID": {
"FBILLTYPEID": null,
"FNumber": "SKDLX01_SYS",
"FName": null
},
"FBillNo": null,
"FDATE": null,
"FCONTACTUNITTYPE": "BD_Customer",
"FCONTACTUNIT": {
"FItemID": 0,
"FNumber": "1000006",
"FName": null
},
"FPAYUNITTYPE": null,
"FPAYUNIT": {
"FItemID": 0,
"FNumber": "1000006",
"FName": null
},
"FCURRENCYID": null,
"FRECEIVEAMOUNTFOR_H": 0,
"FREALRECAMOUNTFOR": 0,
"FPAYORGID": null,
"FSETTLEORGID": null,
"FSETTLERATE": 1,
"FRECAMOUNTFOR": 0,
"FSALEORGID": null,
"FSALEDEPTID": null,
"FCASHSALE": false,
"FRECAMOUNT": 0,
"FSALEGROUPID": null,
"FSALEERID": null,
"FDOCUMENTSTATUS": null,
"FIsSameOrg": false,
"FACCOUNTSYSTEM": null,
"FDepartment": null,
"FBUSINESSTYPE": null,
"FCreditCheckResult": null,
"FISINIT": false,
"FSOURCESYSTEM": null,
"FMAINBOOKCURID": null,
"FEXCHANGETYPE": null,
"FRECEIVEAMOUNT_H": 0,
"FEXCHANGERATE": 1,
"FWRITTENOFFSTATUS": null,
"FREALRECAMOUNT_H": 0,
"FCreatorId": null,
"FModifierId": null,
"FAPPROVERID": null,
"FCreateDate": null,
"FModifyDate": null,
"FApproveDate": null,
"FCancellerId": null,
"FCancelDate": null,
"FCancelStatus": "A",
"FSETTLECUR": null,
"FRECEIVEBILLENTRY": [{
"Id": 0,
"Seq": 0,
"SETTLETYPEID_Id": 0,
"FSETTLETYPEID": {
"Id": 0,
"msterID": 0,
"MultiLanguageText": null,
"Name": null,
"FNumber": "JSFS04_SYS",
"SETTLECATEGORY": null,
"FTYPE": null
},
"SETTLERECAMOUNTFOR": 0,
"SETTLEDISTAMOUNTFOR": 0,
"FRECTOTALAMOUNTFOR": 100,
"SETTLERECAMOUNT": 0,
"SETTLEDISTAMOUNT": 0,
"RECTOTALAMOUNT": 0,
"WRITTENOFFSTATUS": null,
"WRITTENOFFAMOUNTFOR": 0,
"COMMENT": null,
"OPPOSITEBANKACCOUNT": null,
"OPPOSITECCOUNTNAME": null,
"RECEIVEITEM": null,
"HANDLINGCHARGEFOR": 0,
"HANDLINGCHARGE": 0,
"REALRECAMOUNTFOR": 0,
"ASSTOTALAMOUNTFOR": 0,
"RECEIVEITEMTYPE": null,
"SaleOrderID": 0,
"ACCOUNTID_Id": 0,
"FACCOUNTID": {
"Id": 0,
"msterID": 0,
"MultiLanguageText": null,
"NAME": null,
"FNUMBER": "1234",
"BANKID_Id": 0,
"BANKID": null,
"FIsSupBank": false
},
"OVERUNDERAMOUNTFOR": 0,
"OPPOSITEBANKNAME": null,
"SETTLENO": null,
"BLEND": false,
"FPURPOSEID_Id": 20010,
"FPURPOSEID": {
"FId": 0,
"FMultiLanguageText": null,
"FName": null,
"FNumber": "SFKYT01_SYS",
"FRECPAYTYPE": "0",
"FBUSINESSTYPE": "1",
"FINMANEGEMENT": true
},
"OVERUNDERAMOUNT": 0,
"FINNERACCOUNTID_Id": 0,
"FINNERACCOUNTID": null,
"ReFundAmount": 0,
"CashAccount_Id": 0,
"CashAccount": null,
"RECAMOUNTFOR_E": 0,
"RECAMOUNT_E": 0,
"FPOSTDATE": null,
"FISPOST": false,
"AR_ASSSALESORDER": null
}],
"FRECEIVEBILLSRCENTRY": [{
"Id": 0,
"Seq": 0,
"SRCBILLID": 0,
"AFTTAXTOTALAMOUNT": 0,
"FSRCSETTLETYPEID_Id": 0,
"FSRCSETTLETYPEID": {
"Id": 0,
"msterID": 0,
"MultiLanguageText": null,
"Name": null,
"FNumber": "12341234",
"SETTLECATEGORY": null,
"FTYPE": null
},
"SRCCURRENCYID_Id": 0,
"SRCCURRENCYID": null,
"EXPIRY": null,
"PLANRECAMOUNT": 0,
"REALRECAMOUNT": 0,
"SRCBILLTYPEID": null,
"SRCBILLNO": null,
"SRCSEQ": 0,
"SRCROWID": 0,
"FRECEIVEBILLSRCENTRY_Link": null
}]
}
}
返回结果:
{
"Result": {
"ResponseStatus": {
"ErrorCode": 500,
"IsSuccess": false,
"Errors": [{
"FieldName": "FPURPOSEID",
"Message": "单据体“收款单明细”第1行字段“收款用途”是必填项",
"DIndex": 0
},
{
"FieldName": "",
"Message": "第1行分录,银行业务的结算方式,我方银行相关信息必录!",
"DIndex": 0
}],
"SuccessEntitys": []
},
"Id": ""
}
}
在线等,高人速来!!!