<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://trueerp.com/erpwiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://trueerp.com/erpwiki/index.php?action=history&amp;feed=atom&amp;title=20_Templates</id>
		<title>20 Templates - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://trueerp.com/erpwiki/index.php?action=history&amp;feed=atom&amp;title=20_Templates"/>
		<link rel="alternate" type="text/html" href="http://trueerp.com/erpwiki/index.php?title=20_Templates&amp;action=history"/>
		<updated>2026-10-24T04:56:42Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>http://trueerp.com/erpwiki/index.php?title=20_Templates&amp;diff=2279&amp;oldid=prev</id>
		<title>Simon Clive: Created page with &quot;Template Designer   ERP has a complete Report Designer within the software. This allows any User with SQL database knowledge, the ability to design  and create their own template...&quot;</title>
		<link rel="alternate" type="text/html" href="http://trueerp.com/erpwiki/index.php?title=20_Templates&amp;diff=2279&amp;oldid=prev"/>
				<updated>2011-06-29T00:37:19Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Template Designer   ERP has a complete Report Designer within the software. This allows any User with SQL database knowledge, the ability to design  and create their own template...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Template Designer&lt;br /&gt;
&lt;br /&gt;
 ERP has a complete Report Designer within the software. This allows any User with SQL database knowledge, the ability to design &lt;br /&gt;
and create their own templates to report on data stored within ERP. The User has the freedom to customise templates and reports to &lt;br /&gt;
suit their own Organisations requirements.  Refer to the detailed user manual for the report builder module called LearnReportBuilder.pdf&amp;lt;File=LearnReportBuilder.pdf&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Note:  If you have customised your Templates, it is important to remember to Export your Custom Templates BEFORE running any &lt;br /&gt;
ERP Update.  Exporting Customised Templates to an archive folder as you complete them is a good practice. Some custom &lt;br /&gt;
templates may need modifying after a software update.    &lt;br /&gt;
&lt;br /&gt;
How To View Templates&lt;br /&gt;
&lt;br /&gt;
Select the General tab.&lt;br /&gt;
Select the Templates button &lt;br /&gt;
OR select Templates via the top menu bar under, Reports&amp;gt;&amp;gt;Templates.&lt;br /&gt;
&lt;br /&gt;
The Customise Templates screen will load with the Cursor in the Search Text field.&lt;br /&gt;
Start typing the name of the Template you wish to open/view, e.g. Sales Order. Alternately you can also scroll up/down to find &lt;br /&gt;
	the report that you're looking for.  The arrow on the left of the List will indicate which Template is selected, as more than one &lt;br /&gt;
	template will be highlighted when Sal is typed into the Search field.&lt;br /&gt;
Select View Report to open the Print Preview, view of the selected Template.&lt;br /&gt;
&lt;br /&gt;
The Preview will load as 1 sheet per page, (full page view). Left zoom button view.&lt;br /&gt;
Select the middle zoom button to zoom in for a half page close-up view. &lt;br /&gt;
Select the right zoom button to display the page as actual size (100%). &lt;br /&gt;
Enter a % value manually into the zoom percentage field to display the preview as required, e.g. 80%.&lt;br /&gt;
If the report is spread over multiple pages you can toggle between these using the toggle arrow buttons.&lt;br /&gt;
Select the Printer icon to print the report from within this Preview page.&lt;br /&gt;
Select Close to return to the Customise Templates screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Customise Templates screen displays 3 columns: &lt;br /&gt;
&lt;br /&gt;
1.	Template Name. This indicates the actual name of your Template. It is a good idea to name all related Templates &lt;br /&gt;
	with the same first name, e.g. Sales Order, Sales Order Matrix etc. This keeps them listed together for convenience.&lt;br /&gt;
	This field can be sorted alphabetically in either ascending or descending order by clicking on the field header. The &lt;br /&gt;
	order is indicated by the finger pointer.&lt;br /&gt;
&lt;br /&gt;
2.	Type field. This indicates what area of ERP the template is designed to be used for, e.g. Sales Order Type to create &lt;br /&gt;
	a new 'Sales Order' template. The Type list is predefined; meaning a report Type can only be one that is already specified in ERP.&lt;br /&gt;
	This column can also be sorted alphabetically in either ascending or descending order by clicking on the field header. The order is 	&lt;br /&gt;
	indicated by the finger pointer.&lt;br /&gt;
&lt;br /&gt;
3.	Default. If this field is ticked it indicates that this template is the default template used by ERP when printing reports of that Type. &lt;br /&gt;
	The default can be changed to any other Template of the same Type. There can only be one default template set for each 'type'. &lt;br /&gt;
	This column can also be sorted by ascending or descending order by clicking on the field header, conveniently listing all your 'default' &lt;br /&gt;
	templates together. The order is indicated by the finger pointer.&lt;br /&gt;
&lt;br /&gt;
How To Edit Templates&lt;br /&gt;
&lt;br /&gt;
Select the Customise Templates window as shown above.&lt;br /&gt;
If you know the name of the report you can type it in the Search text and it will appear as highlighted, otherwise you can also &lt;br /&gt;
	scroll up/down to find the report that you require. In this example we will use the Sales Order report.&lt;br /&gt;
Double-click on the Report and this will open the report in the ERP Report Designer.&lt;br /&gt;
By default the Template is opened in Design mode but you can always view a Preview by clicking on the Preview tab.&lt;br /&gt;
Back in Design mode you have a wide range of tools along the top of the screen to customise the template as required by the &lt;br /&gt;
	organisation. These tools are covered in more detail below in How to Create New Template.&lt;br /&gt;
&lt;br /&gt;
How To Create a New Template&lt;br /&gt;
&lt;br /&gt;
In ERP you can re-create any existing template and customise it as required by your organisation. Customisation is limited to the &lt;br /&gt;
available SQL String per template, and the SQL knowledge of the person designing the Template. LearnReportBuilder.pdf&amp;lt;File=LearnReportBuilder.pdf&amp;gt;&lt;br /&gt;
You can also create totally new report templates from a blank page, but this requires advanced knowledge of SQL Strings and ERP &lt;br /&gt;
software, therefore it is probable that you will have to seek the skills of a ERP Programmer to achieve your desired results in a timely &lt;br /&gt;
fashion.&lt;br /&gt;
&lt;br /&gt;
The process of creating a new template by using the base of an existing one, involves copying all the detail from the original (including &lt;br /&gt;
the layout and data elements) into the new template, then amending it. &lt;br /&gt;
&lt;br /&gt;
To create a new Template go to the Customise Templates window and select New. This will create a new line in the Template &lt;br /&gt;
	list and will allow you to enter a name and type for the new template &lt;br /&gt;
In the Template Name field enter the name for the new template and in the Type field select a Template Type from the dropdown &lt;br /&gt;
	list. In this example we will use the Invoice type and name it Invoice New&lt;br /&gt;
Double-click on the newly created template to load the Report Designer. Note that this template is currently blank.&lt;br /&gt;
To exit from this screen use File=&amp;gt;Close from the menu bar, or you can use the x button at the top right.&lt;br /&gt;
&lt;br /&gt;
NB: Closing out of the Template Designer will NOT save any changes that have been made to that template. You will &lt;br /&gt;
Always have to select the 'Save/Close' button on the Customise Templates window before changes to templates &lt;br /&gt;
will be saved.&lt;br /&gt;
&lt;br /&gt;
We now need to copy the SQL String from the original Invoice and paste it into the Invoice New.&lt;br /&gt;
Select Invoice from the Template list.&lt;br /&gt;
Highlight ALL of the SQL String and copy it.&lt;br /&gt;
Select Invoice New from the template List. &lt;br /&gt;
Highlight ALL of the SQL String then paste the SQL string you have just copied from the original Invoice.&lt;br /&gt;
&lt;br /&gt;
Note: SQL (acronym for Structured Query Language) is a standard method of conveying information to and from a database. &lt;br /&gt;
In ERP the SQL String allows information to be retrieved from the ERP Server and used in Reports.&lt;br /&gt;
&lt;br /&gt;
The SQL Strings used in ERP are unique for every report; therefore it is vital when we create new reports that the &lt;br /&gt;
SQL String is copied from the correct Report Type.&lt;br /&gt;
&lt;br /&gt;
Double-click on Invoice to open the Report Designer.&lt;br /&gt;
Select all off the layout of the template by using Ctrl+A and then copy it into your clipboard by using Ctrl+C&lt;br /&gt;
Take a note of how many breakpoints the layout of the Template has. In the Invoice below we have 3 breakpoints; Header, &lt;br /&gt;
	Detail and Footer. These are indicated by the grey bar going across the page. &lt;br /&gt;
The reason for this is that the new report will also need to have the same in order for the layout to be pasted correctly. &lt;br /&gt;
Take a note of how much of the page is used in between the breakpoints. &lt;br /&gt;
&lt;br /&gt;
Close out of 'Invoice' and Open 'Invoice New'. &lt;br /&gt;
By default any new invoice template will open with 3 breakpoints; Header, Detail and Footer and will not have much space &lt;br /&gt;
between them&lt;br /&gt;
&lt;br /&gt;
Note: Remember you can always use 'Save/Close' to save changes to templates and then re-open the report to carry on working. &lt;br /&gt;
This will ensure you capture correct settings of your new template design before you proceed to make further changes that &lt;br /&gt;
you may not initially get right.&lt;br /&gt;
&lt;br /&gt;
We now need to resize the distance between breakpoints so that the layout that is to be pasted will fit correctly.&lt;br /&gt;
To resize the distance between breakpoints you can simply click and drag the grey bar up or down for each breakpoint&lt;br /&gt;
Following on from our example of the Invoice the Header covers just over 5 inches, Detail covers around half an inch &lt;br /&gt;
	and Footer covers just under 4 inches. We will use around an inch more for each one as we can re-adjust distance after &lt;br /&gt;
	pasting the layout.&lt;br /&gt;
&lt;br /&gt;
Once the breakpoint distances have been set, click into the body of the template and then paste the Invoice template &lt;br /&gt;
	using Ctrl+V (by default time/date and page numbering are inserted on blank reports). &lt;br /&gt;
&lt;br /&gt;
You can now resize the breakpoints to fit the template content, by dragging them back up to the base of the text. &lt;br /&gt;
&lt;br /&gt;
NB: By default you will not be able to drag the breakpoint beyond the text.&lt;br /&gt;
&lt;br /&gt;
If we now preview the Invoice it will show up exactly as the original Invoice.&lt;br /&gt;
&lt;br /&gt;
You may have noticed that there are a number of tools in the ERP Template Designer that can be used to edit any report. &lt;br /&gt;
	The first and most important one is the 'Select Object'. &lt;br /&gt;
&lt;br /&gt;
Using the 'Select Object' you can select, highlight, move and resize almost any item on the template. When the Report &lt;br /&gt;
	Designer is opened the 'Select Object' is selected by default.&lt;br /&gt;
&lt;br /&gt;
Label Object. This allows the adding of a text Label onto the report. You can then change the properties by right-clicking &lt;br /&gt;
	on it.&lt;br /&gt;
&lt;br /&gt;
If you right-click while on an existing object anywhere on the ERP Report Explorer, you will be able to view and change the &lt;br /&gt;
	setting for that item, e.g. below are the options for the Label Object.&lt;br /&gt;
&lt;br /&gt;
Memo Object. This allows the adding of a longer piece of text onto the report, for example a terms statement. &lt;br /&gt;
&lt;br /&gt;
Rich Text. Using this you are able to add text in Rich Text Format. &lt;br /&gt;
&lt;br /&gt;
System Variable. This function will allow you to select from a list a variable that the system has already stored, for example &lt;br /&gt;
	the date, page numbering etc. &lt;br /&gt;
First select the System Variable object, place it on the report. &lt;br /&gt;
Then choose the variable you require from the dropdown list on the toolbar. &lt;br /&gt;
&lt;br /&gt;
Image. Most organisations need to use images such as their logos onto their templates. The image function allows you to &lt;br /&gt;
	import external images and customise them on the template. &lt;br /&gt;
Select the Image object and place it into the template.&lt;br /&gt;
&lt;br /&gt;
You would then need to right-click on the image box, select 'Picture', browse to the picture and select it to import it &lt;br /&gt;
	onto the template. &lt;br /&gt;
&lt;br /&gt;
Using the right-click options you would then be able to edit and customise the reports as required.&lt;br /&gt;
&lt;br /&gt;
Shape. This function will allow you to select from a list a shape that the system has already stored, for example square, &lt;br /&gt;
	circle etc. &lt;br /&gt;
First select the Shape object, place it on the report and then choose the shape you require from the dropdown list on the &lt;br /&gt;
	toolbar. &lt;br /&gt;
&lt;br /&gt;
Barcode. You can add barcodes to specific reports by selecting the Barcode Object and placing it on the report. You can &lt;br /&gt;
	then change the human readable text/numbers of the barcode from the textbox. &lt;br /&gt;
&lt;br /&gt;
All of the objects detailed above are Standard Components that can be used on the report; they are independent and are not &lt;br /&gt;
associated to any specific data in the ERP Database.&lt;br /&gt;
&lt;br /&gt;
The next set of Components in the ERP Report Designer is Database Components. These are also objects that can be used&lt;br /&gt;
on any report but the essential difference is that they are linked to data stored in the ERP Database and retrieve information &lt;br /&gt;
directly from it. &lt;br /&gt;
&lt;br /&gt;
In the ERP Report Designer we have 6 Database Components in total; &lt;br /&gt;
&lt;br /&gt;
DBText 2; &lt;br /&gt;
	DBMemo; &lt;br /&gt;
	DBRichText; &lt;br /&gt;
	DBCalc; &lt;br /&gt;
	DBImag; &lt;br /&gt;
	DBBarCode; &lt;br /&gt;
Apart from being able to link to fields in the ERP database these are very similar to their Standard Component equivalents &lt;br /&gt;
(apart from DBClac).&lt;br /&gt;
&lt;br /&gt;
Select a Database Component field and place it on the template &lt;br /&gt;
Select the required data from the drop-down list to link the field to a specific field in the database which will then show &lt;br /&gt;
	on the Report.  &lt;br /&gt;
&lt;br /&gt;
In the example below a Database Text Object (DBText) is selected. When the object is placed on the report a list box &lt;br /&gt;
appears in the Toolbar which shows all of the available fields for the Text Object.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select the AmountDue as per example below selected. &lt;br /&gt;
&lt;br /&gt;
NB: The field now displays Sum(AmountDue)&lt;br /&gt;
&lt;br /&gt;
The database fields list box does not contain all of the fields of the database per template. The fields that are available to &lt;br /&gt;
select from the list box are determined by the SQL String which is used in the report/template when it was created &lt;br /&gt;
(detailed above).&lt;br /&gt;
&lt;br /&gt;
Fields can be added and removed from the list box using the SQL String, but this requires advanced knowledge of SQL and &lt;br /&gt;
ERP Software and is recommended to be carried out by ERP approved Personnel.&lt;br /&gt;
&lt;br /&gt;
Regions; Subreports; and Cross Tabs can be added to a report by using the Advance Components. &lt;br /&gt;
&lt;br /&gt;
To make best use of these features please refer to the Report Builder Help LearnReportBuilder.pdf&amp;lt;File=LearnReportBuilder.pdf&amp;gt; or an ERP approved Consultant.&lt;br /&gt;
&lt;br /&gt;
Format and Edit Toolbar. All of the buttons here function the same way as they would on any Microsoft text editing software&lt;br /&gt;
	i.e. Microsoft Word&lt;br /&gt;
Nudge Toolbar. Using these buttons all of the selected components would be moved up or down or left or right by 1 pixel.&lt;br /&gt;
e.g. The highlighted sections, Company Name down to Phone/Fax etc. have been nudged down. In this instance, over top of &lt;br /&gt;
	other fields.&lt;br /&gt;
Size Toolbar. Based on the button you select it would determine the min/max width or the min/max height of all the selected &lt;br /&gt;
	Components and will then set the width/height of all the components to that value.&lt;br /&gt;
&lt;br /&gt;
§	Shrink Width to Smallest&lt;br /&gt;
§	Grow Width to Largest&lt;br /&gt;
§	Shrink Height to Smallest&lt;br /&gt;
§	Grow Height to Largest&lt;br /&gt;
&lt;br /&gt;
Align or Space Toolbar. The buttons on this toolbar will assist in positioning components relative to one another and &lt;br /&gt;
	relative to the band in which they appear.&lt;br /&gt;
&lt;br /&gt;
§	Align Left&lt;br /&gt;
§	Align Middle&lt;br /&gt;
§	Align Right&lt;br /&gt;
§	Align Top&lt;br /&gt;
§	Align Center&lt;br /&gt;
§	Align Bottom&lt;br /&gt;
§	Space Horizontally&lt;br /&gt;
§	Space Vertically&lt;br /&gt;
§	Center Horizontally in Band&lt;br /&gt;
§	Center Vertically in Band&lt;br /&gt;
&lt;br /&gt;
Align Left: Aligns a group of components with the leftmost position of the component that was selected first.&lt;br /&gt;
&lt;br /&gt;
Align Middle: Centers a component based on the horizontal centre of the component that was first selected.&lt;br /&gt;
&lt;br /&gt;
Align Right: Aligns a group of components with the rightmost position of the component that was selected first.&lt;br /&gt;
&lt;br /&gt;
Align Top: Aligns a group of components with the topmost position of the component that was selected first.&lt;br /&gt;
&lt;br /&gt;
Align Center: Centers a component based on the Vertical centre of the component that was first selected.&lt;br /&gt;
&lt;br /&gt;
Align Bottom: Aligns a group of components with the bottommost position of the component that was selected first.&lt;br /&gt;
&lt;br /&gt;
Space Horizontally: Spaces a set of components based on the leftmost position of the first component selected and the &lt;br /&gt;
	rightmost position of the last component selected.&lt;br /&gt;
&lt;br /&gt;
Space Vertically: Spaces a set of components based on the topmost position of the first component selected and the &lt;br /&gt;
	bottommost position of the last component selected.&lt;br /&gt;
&lt;br /&gt;
Centre Horizontally in Band: Centers a component horizontally within a band.&lt;br /&gt;
&lt;br /&gt;
Centre Vertically in Band: Centers a component Vertically within a band.&lt;br /&gt;
&lt;br /&gt;
Note: Please refer to a ERP Consultant or the Report Builder Help if you require any further clarification on Templates.&lt;/div&gt;</summary>
		<author><name>Simon Clive</name></author>	</entry>

	</feed>