Inspection results
The inspection results object contains information about an inspection result.
Last updated
The inspection results object contains information about an inspection result.
Last updated
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.
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.
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:
Here’s an example document that prints inspection results for an opportunity.
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:
The inspection_result
object can be accessed in document layouts created against the following modules:
The inspection_result
object can be accessed in discussion templates created against the following modules:
description
Returns the inspection result description.
inspection_at
Returns the date of the inspection result.
passed
Returns true
if the inspection result is passed; false
otherwise.
passed_to_word
Returns Yes
in the user's locale language if the inspection result is passed; No
otherwise.
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.
task_list_results
Returns inspection result task objects for any tasks against this inspection result.