RETGAS
All rules
Appliance census Validation rules engine

The census type matches the flue (D.E.P.C.) column

The census code states the appliance type, and the type defines what goes in the D.E.P.C. column. The rule cross-checks both on every row.

A rule in use at inspection bodies; names changed

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

  1. It reads inside the code

    The engine takes the type inside the census code and compares it with what was marked next to it.

  2. 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

Personalized demo · response < 2 business h

Ready to optimize your operation?

In 20 min: how to cut admin time by 60%. No commitment.

  • ✓ Walkthrough with your real case
  • ✓ Quote based on your volume
  • ✓ Deployment in 1–2 weeks
Follow us: Facebook Instagram WhatsApp

Book your demo

5 fields. We'll reach out on WhatsApp the same day.

By submitting you accept our privacy policy.

Message us on WhatsApp