Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
<p>If the report you need is not already available, the 'Guided Reports' Wizard will walk you through creating a custom report.</p> |
5 |
<p>If the report you need is not already available, the 'Guided Reports' Wizard will walk you through creating a custom report.</p> |
6 |
|
6 |
|
7 |
|
|
|
8 |
<ul> |
7 |
<ul> |
9 |
<li>Go to the 'Reports' module (usually under 'More' in your Global Nav)</li> |
8 |
<li>Go to the 'Reports' module (usually under 'More' in your Global Nav)</li> |
10 |
<li>Choose 'Guided Reports' under 'Guided Reports Wizard'</li> |
9 |
<li>Choose 'Guided Reports' under 'Guided Reports Wizard'</li> |
Lines 13-31
Link Here
|
13 |
<p>Answer the 6 questions presented in order to create your report.</p> |
12 |
<p>Answer the 6 questions presented in order to create your report.</p> |
14 |
|
13 |
|
15 |
<p><strong>Step 1: Choose a Module to Report on</strong></p> |
14 |
<p><strong>Step 1: Choose a Module to Report on</strong></p> |
|
|
15 |
|
16 |
<ul> |
16 |
<ul> |
17 |
<li>Choose a Koha module to build a report on (patrons, circ, cataloging, etc)</li> |
17 |
<li>Choose a Koha module to build a report on (patrons, circ, cataloging, etc)</li> |
18 |
<li>Click 'Next'</li> |
18 |
<li>Click 'Next'</li> |
19 |
</ul> |
19 |
</ul> |
20 |
|
20 |
|
21 |
<p><strong>Step 2: Pick a Report Type</strong></p> |
21 |
<p><strong>Step 2: Pick a Report Type</strong></p> |
|
|
22 |
|
22 |
<ul><li style="color: #990000">IMPORTANT: Only Tabular should be chosen with this option</li></ul> |
23 |
<ul><li style="color: #990000">IMPORTANT: Only Tabular should be chosen with this option</li></ul> |
|
|
24 |
|
23 |
<p><strong>Step 3: Select Columns for Display</strong></p> |
25 |
<p><strong>Step 3: Select Columns for Display</strong></p> |
|
|
26 |
|
24 |
<p><strong>Step 4: Select Criteria to Limit</strong></p> |
27 |
<p><strong>Step 4: Select Criteria to Limit</strong></p> |
|
|
28 |
|
25 |
<ul><li>This is optional, if you don't want to limit results by any one field, just leave this section blank.</li></ul> |
29 |
<ul><li>This is optional, if you don't want to limit results by any one field, just leave this section blank.</li></ul> |
|
|
30 |
|
26 |
<p><strong>Step 5: Pick which columns to perform mathmatical functions on</strong></p> |
31 |
<p><strong>Step 5: Pick which columns to perform mathmatical functions on</strong></p> |
|
|
32 |
|
27 |
<ul><li>This is optional, if you don't want to do any math on the results, just leave this section blank.</li></ul> |
33 |
<ul><li>This is optional, if you don't want to do any math on the results, just leave this section blank.</li></ul> |
|
|
34 |
|
28 |
<p><strong>Step 6: Choose how you want the report ordered</strong></p> |
35 |
<p><strong>Step 6: Choose how you want the report ordered</strong></p> |
|
|
36 |
|
29 |
<ul><li>This is optional, if you want the results to come out as they are in the table, just leave this section blank.</li></ul> |
37 |
<ul><li>This is optional, if you want the results to come out as they are in the table, just leave this section blank.</li></ul> |
30 |
|
38 |
|
31 |
<h1>Edit Reports</h1> |
39 |
<h1>Edit Reports</h1> |
Lines 34-51
Link Here
|
34 |
|
42 |
|
35 |
<ul><li><em>Get there:</em> More > Reports > Guided Reports > Use Saved</li></ul> |
43 |
<ul><li><em>Get there:</em> More > Reports > Guided Reports > Use Saved</li></ul> |
36 |
|
44 |
|
37 |
<ul><li>To edit a report click 'Edit SQL' beside the report</li> |
45 |
<ul> |
38 |
<li>A page with editable fields will open so that you can change the title, notes and SQL related to the report</li></ul> |
46 |
<li>To edit a report click 'Edit SQL' beside the report</li> |
39 |
|
47 |
<li>A page with editable fields will open so that you can change the title, notes and SQL related to the report</li> |
|
|
48 |
</ul> |
40 |
|
49 |
|
41 |
<h1>Questions</h1> |
50 |
<h1>Questions</h1> |
42 |
|
51 |
|
43 |
<p><strong>Can I have reports run on a schedule?</strong></p> |
|
|
44 |
|
45 |
<p>Yes, you can use the Task Scheduler tool.</p> |
46 |
|
47 |
<ul><li><em>Get there:</em> More > Tools > Task Scheduler</li></ul> |
48 |
|
49 |
<p><strong>Is there a repository for reports?</strong></p> |
52 |
<p><strong>Is there a repository for reports?</strong></p> |
50 |
|
53 |
|
51 |
<p>There is a page on the Koha Wiki: <a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="_new">http://wiki.koha-community.org/wiki/SQL_Reports_Library</a> with reports written by Koha libraries around the world.</p> |
54 |
<p>There is a page on the Koha Wiki: <a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="_new">http://wiki.koha-community.org/wiki/SQL_Reports_Library</a> with reports written by Koha libraries around the world.</p> |
Lines 55-68
Link Here
|
55 |
<p><strong>Can I have run-time defined parameters?</strong></p> |
58 |
<p><strong>Can I have run-time defined parameters?</strong></p> |
56 |
|
59 |
|
57 |
<p>Yes, you can: there is a specific syntax that Koha will understand as 'ask for values when running the report'. The syntax is <<Question to ask|authorised_value>>.</p> |
60 |
<p>Yes, you can: there is a specific syntax that Koha will understand as 'ask for values when running the report'. The syntax is <<Question to ask|authorised_value>>.</p> |
|
|
61 |
|
58 |
<ul> |
62 |
<ul> |
59 |
<li>The << and >> are just delimiters. You must put << at the beginning and >> at the end of your parameter</li> |
63 |
<li>The << and >> are just delimiters. You must put << at the beginning and >> at the end of your parameter</li> |
60 |
<li>The <strong>Question to ask</strong> will be displayed on the left of the string to enter. |
64 |
<li>The <strong>Question to ask</strong> will be displayed on the left of the string to enter. |
61 |
<li>The <strong>authorised_value</strong> can be omitted if not applicable. If it contains an authorised value category, or <strong>branches</strong> or <strong>itemtype</strong> or <strong>categorycode</strong>, a list with the Koha authorised values will be displayed instead of a free field</li> |
65 |
<li>The <strong>authorised_value</strong> can be omitted if not applicable. If it contains an authorised value category, or <strong>branches</strong> or <strong>itemtype</strong> or <strong>categorycode</strong>, a list with the Koha authorised values will be displayed instead of a free field</li> |
62 |
</ul> |
66 |
</ul> |
|
|
67 |
|
63 |
<p>Note that you can have more than one parameter in a given SQL</p> |
68 |
<p>Note that you can have more than one parameter in a given SQL</p> |
|
|
69 |
|
64 |
<p>Note that entering nothing at run time won't probably work as you expect. It will be considered as "value empty" not as "ignore this parameter". For example entering nothing for : "title=<<Enter title>>" will display results with title='' (no title). If you want to have to have something not mandatory, use "title like <<Enter title>>" and enter a % at run time instead of nothing</p> |
70 |
<p>Note that entering nothing at run time won't probably work as you expect. It will be considered as "value empty" not as "ignore this parameter". For example entering nothing for : "title=<<Enter title>>" will display results with title='' (no title). If you want to have to have something not mandatory, use "title like <<Enter title>>" and enter a % at run time instead of nothing</p> |
|
|
71 |
|
65 |
<p>Sample :</p> |
72 |
<p>Sample :</p> |
|
|
73 |
|
66 |
<ul><li>SELECT surname,firstname FROM borrowers WHERE branchcode=<<Enter patrons library|branches>> AND surname like <<Enter filter for patron surname (% if none)>></li></ul> |
74 |
<ul><li>SELECT surname,firstname FROM borrowers WHERE branchcode=<<Enter patrons library|branches>> AND surname like <<Enter filter for patron surname (% if none)>></li></ul> |
67 |
|
75 |
|
|
|
76 |
<p><strong>See the full documentation for Custom Reports in the <a href="http://manual.koha-community.org/3.6/en/reports.html#customreports">manual</a> (online).</strong></p> |
77 |
|
68 |
[% INCLUDE 'help-bottom.inc' %] |
78 |
[% INCLUDE 'help-bottom.inc' %] |