In the installation layout, each piping section needs its length, diameter and type. In a hurry, it’s easy to leave a cell empty.
The rule checks the whole table, not just one field.
The rule
- Checks
- The piping type marked on the form and the columns of the layout table.
- Blocks when
- Only exposed piping is marked and some section lacks length, diameter or type.
- Message to the inspector
- A message saying exposed piping is selected and which table data is missing.
- Applies to
- Forms with a piping layout table.
Test cases
This is how it’s simulated before saving: if a case doesn’t give the expected result, nothing is saved.
| Situation | Result |
|---|---|
| Exposed piping · all sections complete | Passes |
| Exposed piping · one section without diameter | Blocks |
| Embedded piping · empty layout table | Passes |
Variant: at least one piping type
The form must have at least one piping type marked: exposed, in conduit, sleeved, embedded or buried.
Ask your assistant for it
With the RETGAS connector in Claude, all you have to write is:
«If only exposed piping is marked on the form, every section in the layout table must have length, diameter and type. Build the rule and test it.»
Why it matters
-
It checks tables, not just fields
The engine goes through every row. An empty cell in section five won’t slip by.
-
It depends on what was marked
The requirement only applies when it should. If the piping is embedded, the rule asks for nothing.
The engine flags and the person decides. Rules only run when they’re active and linked to the form. How they’re configured
Tables are where most data goes missing and where it shows the least. The rule checks them in full.
Other examples
- Times The start time comes before the end time
- Times The visit lasts at least the minimum time
- Photos The photos were taken on the day of the visit
- Result consistency A compliant report can’t have failed items
- Distributors The meter serial on the bill matches the actual meter
- Calculations The appliances’ power adds up
- Distributors The inspection fee is the one agreed with each distributor
- Appliance census The census code follows each distributor’s format
- Appliance census The census type matches the flue (D.E.P.C.) column
- Appliance census Planned points in the census are marked as planned
- Appliance census Every appliance is in a registered room