WEB API 收款单保存报错,急急急!!!
金蝶云社区-kayson_yang
kayson_yang
0人赞赏了该文章 1,953次浏览 未经作者许可,禁止转载编辑于2017年03月29日 11:34:40

{"Result":{"ResponseStatus":{"ErrorCode":500,"IsSuccess":false,"Errors":[{"FieldName":"FPURPOSEID","Message":"单据体“收款单明细”第1行字段“收款用途”是必填项","DIndex":0},{"FieldName":"FCONTACTUNIT","Message":"字段“往来单位”是必填项","DIndex":0},{"FieldName":"FPAYUNIT","Message":"字段“付款单位”是必填项","DIndex":0},{"FieldName":"","Message":"第1行分录,应收金额金额必须大于0","DIndex":0}],"SuccessEntitys":[],"SuccessMessages":[]},"Id":"","NeedReturnData":[{}]}}

"{\"Creator\":\"100.01\"," +
"\"NeedUpDateFields\":[]," +
"\"NeedReturnFields\":[]," +
"\"IsDeleteEntry\":\"True\"," +
"\"SubSystemId\":\"\"," +
"\"Model\":{" +
"\"FID\":\"0\"," +
"\"FBillTypeID\":{\"FNumber\":\"SKDLX01_SYS\"}," +//必填项 SKDLX02_SYS SKDLX03_SYS SKDLX04_SYS SKDLX05_SYS
"\"FBillNo\":\"\"," +
"\"FDATE\":\"2017-03-29\"," +//必填项
"\"FCONTACTUNITTYPE\":\"BD_Customer\"," +//必填项
"\"FCONTACTUNIT\":{\"FNumber\":\"CUST0008\"}," +//必填项
"\"FPAYUNITTYPE\":\"BD_Customer\"," +//必填项
"\"FPAYUNIT\":{\"FNumber\":\"CUST0008\"}," +//必填项
"\"FCURRENCYID\":{\"FNumber\":\"PRE001\"}," +//必填项
"\"FPAYORGID\":{\"FNumber\":\"100.01\"}," +//必填项
"\"FSETTLERATE\":\"0\"," +
"\"FSETTLEORGID\":{\"FNumber\":\"\"}," +
"\"FSALEORGID\":{\"FNumber\":\"\"}," +
"\"FSALEDEPTID\":{\"FNumber\":\"\"}," +
"\"FSALEGROUPID\":{\"FNumber\":\"\"}," +
"\"FSALEERID\":{\"FNumber\":\"\"}," +
"\"FDOCUMENTSTATUS\":\"\"," +//必填项
"\"FAFTTAXTOTALAMOUNT \":\"500.00\"," +//必填项
"\"FDepartment\":{\"FNumber\":\"\"}," +
"\"FBUSINESSTYPE\":\"\",\"FISINIT\":\"false\"," +
"\"FEXCHANGERATE\":\"0\"," +
"\"FCancelStatus\":\"\"," +//必填项
"\"FSETTLECUR\":{\"FNumber\":\"PRE001\"}," +//必填项
"\"FISB2C\":\"false\"," +
"\"FWBSETTLENO\":\"\"," +
"\"FIsWriteOff\":\"false\"," +
"\"FMatchMethodID\":\"0\"," +
"\"FRECEIVEBILLENTRY\":[{\"FEntryID\":\"0\"," +
"\"FSETTLETYPEID\":{\"FNumber\":\"JSFS01_SYS\"}," +//必填项 JSFS01_SYS-JSFS012_SYS 09
"\"FPURPOSEID\":{\"FNumber\":\"SFKYT01_SYS\"}," +//必填项 SFKYT02_SYS
"\"F_PAEZ_Assistant\":{\"FNumber\":\"\"}," +
"\"FRECEIVEITEMTYPE\":\"\"," +
"\"FRECEIVEITEM\":\"\"," +
"\"FSaleOrderID\":\"0\"," +
"\"FRECTOTALAMOUNTFOR\":\"0\"," +
"\"FRECAMOUNTFOR_E\":\"500.00\"," +
"\"FSETTLEDISTAMOUNTFOR\":\"0\"," +
"\"FHANDLINGCHARGEFOR\":\"0\"," +
"\"FOVERUNDERAMOUNTFOR\":\"0\"," +
"\"FACCOUNTID\":{\"FNumber\":\"\"}," +
"\"FOPPOSITEBANKACCOUNT\":\"\"," +
"\"FOPPOSITECCOUNTNAME\":\"\"," +
"\"FINNERACCOUNTID\":{\"FNumber\":\"\"}," +
"\"FCashAccount\":{\"FNumber\":\"\"}," +
"\"FSETTLENO\":\"\",\"FOPPOSITEBANKNAME\":\"\"," +
"\"FCOMMENT\":\"\",\"FRECAMOUNT_E\":\"0\"," +
"\"FPOSTDATE\":\"2017-03-19\"," +//必填字段
"\"FMATERIALID\":{\"FNumber\":\"\"}," +
"\"FSALEORDERNO\":\"\"," +
"\"FMATERIALSEQ\":\"0\"," +
"\"FORDERENTRYID\":\"0\"," +
"\"FASSSALESORDER\":[{\"FDetailID\":\"0\"}]}]," +
"\"FRECEIVEBILLSRCENTRY\":[{\"FEntryID\":\"0\"," +
"\"FORDERBILLNO\":\"\"," +
"\"FSRCMATERIALID\":{\"FNumber\":\"\"}," +
"\"FSRCMATERIALSEQ\":\"0\",\"FSRCORDERENTRYID\":\"0\"}]," +
"\"FBILLRECEIVABLEENTRY\":[{\"FEntryID\":\"0\"," +
"\"FInnerAccountID_B\":{\"FNumber\":\"\"}," +
"\"FBILLID\":{\"FNumber\":\"\"}," +
"\"FUSEDAMOUNTFOR\":\"0\"," +
"\"FBILLPARAMOUNT\":\"0\"," +
"\"FPARLEFTAMOUNTSTD\":\"0\"," +
"\"FUSEDAMOUNTSTD\":\"0\"," +
"\"FTempOrgId\":{\"FNumber\":\"\"}}]," +
"\"FBILLSKDRECENTRY\":[{\"FEntryID\":\"0\"," +
"\"FInnerActId\":{\"FNumber\":\"\"}," +
"\"FReceivebleBillId\":{\"FNumber\":\"\"}," +
"\"FPayPurse\":{\"FNumber\":\"\"}," +
"\"FReturnAmount\":\"0\"," +
"\"FReturnAmountStd\":\"0\"," +
"\"FKDBPARBILLNO\":\"\"," +
"\"FParAmount\":\"0\"," +
"\"FPARAMOUNTSTD\":\"0\"," +
"\"FBCONTACTUNITTYPE\":\"\"," +
"\"FBCONTACTUNIT\":{\"FNumber\":\"\"}}]}}"