2015-06-22 2 views

ответ

0

Если вы используете QBO см этот пример кода в C# -

ReportService reportService = new ReportService(context); 

//Date should be in the format YYYY-MM-DD 
reportService.accounting_method = "Accrual"; 
reportService.start_date = "1997-01-01"; 
reportService.end_date = "2014-12-18"; 
////reportService.classid = "2800000000000634813"; 
//reportService.date_macro = "Last Month"; 
reportService.summarize_column_by = "Month"; 


List<String> columndata = new List<String>(); 
columndata.Add("tx_date"); 
columndata.Add("dept_name"); 
string coldata = String.Join(",", columndata); 
reportService.columns = coldata; 

var report1 = reportService.ExecuteReport("GeneralLedger"); 

Только не забудьте изменить тип отчета и COLS на основе docs- https://developer.intuit.com/docs/0100_accounting/0400_references/reports/cashflow

Смежные вопросы