|
4 registered users in last 24 hours GEN Write a report using ]po['s reporting engine
Package [package_intranet_reporting_tutorial|intranet-reporting-tutorial] contains some sample reports that show the structure of typical ]po[ reports.
Elements of a typical reportSQLThe sql statement defines content and grouping of a report. Report Definition
All report are defined by:
List of all countersset counters [list \
$invoice_subsubtotal_counter \
$delnote_subsubtotal_counter \
$quote_subsubtotal_counter \
$bill_subsubtotal_counter \
$po_subsubtotal_counter \
$expense_subsubtotal_counter \
$timesheet_subsubtotal_counter \
$invoice_subtotal_counter \
$delnote_subtotal_counter \
$quote_subtotal_counter \
$bill_subtotal_counter \
$po_subtotal_counter \
$expense_subtotal_counter \
$timesheet_subtotal_counter \
$invoice_total_counter \
$delnote_total_counter \
$quote_total_counter \
$bill_total_counter \
$po_total_counter \
$expense_total_counter \
$timesheet_total_counter \
]
Counter definitionSample:set quote_subsubtotal_counter [list pretty_name "Quote Amount" var quote_subsubtotal reset \$project_id expr "\$quote_amount+0"] Principal methods usedim_report_render_header
|
