Show/Hide Toolbars

Jim2® Business Engine Help File

Included Templates (template inheritance) allow values configured in one template to be inherited by another template, and combine to be used as part of the job creation process. The use of template inheritance is optional, but as the quantity of projects grow the greater the case for using template inheritance becomes.

 

For each project where a billing template has been created, each template has an included template called the Managed Services Default Billing Template. When viewing the Managed Services Default Billing Template, you will see that it has an included template called the Default Template.

 

MS default template

 

The included template can be changed to any other shared template. There can be an unlimited number of completely separate sets of inheritance trees in place, and an unlimited number of included templates applied to a template. In addition to Project header value inheritance, stock lines and associated values can also be inherited.

 

Examples:

All non-billing jobs that are linked to a Project are to be created with a status of Assigned, rather than Booked. The most efficient way to achieve this is to change the value of the status in the Default Template to Assigned.

default template assigned

You have three hundred contracts that have exactly the same stock and stock quantity. In this case, you would be better to create a single contract template with the stock and quantity configured, link all three hundred contracts (included template), and inherit that stock data rather than configuring it specifically at each contract project-specific billing template. Then, should you need to change or add stock to this type of contract, the change can be made in one place (the template) rather than having to update all three hundred individually. It is worth noting that the template to job creation process will use normal Jim2 pricing rules. You do not need to set a specific price override at template level unless you want to. When the billing job creation is performed, all three hundred jobs are created with the same stock, quantity and selling price based on whatever has been set up in the Jim2 pricing rules you have configured.

 

When a job is created from a template, the creation process first checks the project-specific template. If it finds a value for a given field, it will be used. It then checks for any included templates. If found, it will look for any value it did not find in the project-specific template. If found in the first included template, this will be used.

 

The order of inheritance for a given field value is as follows:

1.A value configured on the template, either explicitly or from the linked Project.

2.A value found in the first included template in the included templates list on the template.

3.A value found in the first included template list of included templates. This extends to as many included templates that are found.

4.A value found in the next included template in the included template list on the template.

5.And so on, as jim2 works through the configured included templates until it either finds a value or doesn’t.

6.The first value found in the process is used, and the process stops.

 

Example 1

Project Template (has no value for status configured)

Included template1 within Project template

First included template within included template1

Second included template within included template1

 

Included Template2 within Project template

First included template within included template2

Second included template within included template2 (status value of XYZ configure)

 

Status value shown on Project template and used in job creation: XYZ

 

Example 2

Project Template (has no value for status configured)

Included template1 within Project template

First included template within included template1

Second included template within included template1 (status value of UVW configure)

 

Included template2 within Project template

First included template within included template2

Second included template within included template2 (status value of XYZ configure)

 

Status value shown on Project template and used in job creation: UVW

 

Example 3

Project Template (has no value for status configured)

Included template1 within Project template (status value of EFG configure)

First included template within included template1

Second included template within included template1(status value of UVW configure)

 

Included template2 within Project template

First included template within included template2

Second included template within included template2 (status value of XYZ configure)

 

Status value shown on Project template and used in job creation: EFG

 

Example 4

Project Template (status value of ABC configure)

Included template1 within Project template status value of EFG configure)

First included template within included template1

Second included template within included template1 (status value of UVW configure)

 

Included Template2 within Project template

First included template within included template2

Second included template within included template2 (status value of XYZ configure)

 

Status value shown on Project template and used in job creation: ABC

 

warning1

Important

The value and where it is found is displayed by hovering over a given template value when in View mode as per the image below:

 

hover over status

 

Further information: