Inside the census code there’s a position for the appliance type. Depending on the type, the D.E.P.C. column, for the evacuation of combustion products, goes as “Yes” or “No”.
If the code says one type and the column says something else, the report contradicts itself on the same row. The distributor notices; better that the engine notices first.
The rule
- Checks
- Each appliance’s census code and the D.E.P.C. column on the same row.
- Blocks when
- The code’s type is B, C or D and the D.E.P.C. column isn’t Yes, or the type is another one and the column isn’t No. It doesn’t apply on a main line.
- Message to the inspector
- “Appliance SABD can’t have D.E.P.C. marked as No.”
- Applies to
- Forms with an appliances table and a D.E.P.C. column.
Test cases
This is how it’s simulated before saving: if a case doesn’t give the expected result, nothing is saved.
| Situation | Result |
|---|---|
| SABD (type B) · D.E.P.C. Yes | Passes |
| SABD (type B) · D.E.P.C. No | Blocks |
| SAAD (type A) · D.E.P.C. No | Passes |
| SAAD (type A) · D.E.P.C. Yes | Blocks |
Ask your assistant for it
With the RETGAS connector in Claude, all you have to write is:
«In the appliances table, if the census code’s type is B, C or D, the D.E.P.C. column has to be Yes; otherwise, No. Test it with one appliance of each type.»
Why it matters
-
It reads inside the code
The engine takes the type inside the census code and compares it with what was marked next to it.
-
Always the same criterion
The link between the type and the column is fixed. The rule applies it the same way on every report and with every inspector.
The engine flags and the person decides. Rules only run when they’re active and linked to the form. How they’re configured
A contradiction on the same row takes seconds to fix on site. Later, it costs a return.
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
- Tables Exposed piping has length, diameter and type
- 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 Planned points in the census are marked as planned
- Appliance census Every appliance is in a registered room