Inspection results

The inspection results object contains information about an inspection result.

Testing & Inspection in Current RMS lets you log inspection results against serialized assets. It's designed for tests like PAT, Test & Tag, LOLER, and other periodic inspections.

You can print documents against a logged inspection result against a stock level. Out of the box, we include an "Test & Inspection Result Sheet" document that prints key information about a test.

You can also access inspection results against the stock level object. The most common use for this is for printing a list of inspection results for assets on an opportunity.

An asset can be set up for more than one test type, so use the name to filter if you just need to show a certain kind of test on a document.

Inspection result tasks

When setting up your inspection results, you may create inspection tasks. These are other values that you might want to store during a test, e.g. weights or electrical results.

Inspection tasks are stored as an array against the inspection result.

Inspection result tasks

Product and asset information

It's common to want to print product and asset information on an inspection result document. Use the stock level object to do this. For example:

Asset number

{{ inspection_result.stock_level.asset_number }}

Product name

{{ inspection_result.stock_level.product.name }}

Example

Here’s an example document that prints inspection results for an opportunity.

A screenshot of the example Testing & Inspection certificate.
Testing & Inspection certificate

Objects that return inspection results

Inspection results can be accessed within a forloop that iterates for each result. You may use:

inspection_results

Returns all inspection results for a stock level. For example, from an opportunity document layout:

latest_inspection_results

Returns the latest inspection results for .stock level , i.e. the most recent. For example, from an opportunity document layout:

Document layouts

The inspection_result object can be accessed in document layouts created against the following modules:

Inspection result

Opportunity

Product

Quarantine

Discussion templates

The inspection_result object can be accessed in discussion templates created against the following modules:

Opportunity

Product

Quarantine

description

Returns the inspection result description.

Input

Output

inspection_at

Returns the date of the inspection result.

Input

Output

passed

Returns true if the inspection result is passed; false otherwise.

Input

Output

passed_to_word

Returns Yes in the user's locale language if the inspection result is passed; No otherwise.

Input

Output

You may also use the bool_to_word filter on a boolean to convert true or false into "Yes" or "No" in the user's locale language.

stock_level

Returns stock level objects for an inspection result's related stock level.

Usually used to print the asset number or access the product object.

Input

Output

Stock level

task_list_results

Returns inspection result task objects for any tasks against this inspection result.

Input

Output

Inspection result tasks

Last updated

Was this helpful?