RETGAS
All rules
Appliance census Validation rules engine

The census code follows each distributor’s format

Each distributor asks for the appliance census with its own code. The rule checks, row by row, that every code has the format the visit’s distributor requires.

A rule in use at inspection bodies; names changed

In the appliances table, each appliance carries a census code that says what appliance it is, its type and its capacity. Distributor A wants it in 4 characters; Distributor B, in 3.

A mistyped code, or one written in another distributor’s format, sends the report back. It’s one of the most frequent reasons for returns.

The rule

Checks
The visit’s distributor and the census code in every row of the appliances table, with its room.
Blocks when
A code doesn’t have the distributor’s format: 4 characters for A, 3 for B, with a valid type in its position. Special codes for planned points are accepted. It doesn’t apply on a main line.
Message to the inspector
“Appliance 2 in room Kitchen doesn’t meet the required census format SAD.”
Applies to
Forms with an appliances table, for distributors that require a census.

Test cases

This is how it’s simulated before saving: if a case doesn’t give the expected result, nothing is saved.

Situation Result
Distributor A · SAAD Passes
Distributor A · SAD Blocks
Distributor B · SAD Passes
Two identical appliances · SAAD*2 Passes
Special planned-point code · 99 Passes

Variant: one format for all

An inspection body can require the 4-character code on all its forms and with any distributor. If a distributor changes its format, the rule is adjusted; the inspector’s app doesn’t change.

Ask your assistant for it

With the RETGAS connector in Claude, all you have to write is:

«In the appliances table, the census code must be 4 characters for Distributor A and 3 for Distributor B, accepting the special planned-point codes. It doesn’t apply on a main line. Prepare it and test it with one code of each format.»

Why it matters

  1. It says which row to fix

    The message gives the appliance number, the room and the code. The inspector goes straight to that row.

  2. Each distributor’s format

    The rule applies the format that matches the visit’s distributor. One inspection form works for several.

The engine flags and the person decides. Rules only run when they’re active and linked to the form. How they’re configured

The census is what the distributor loads into its system. If the code arrives correctly written, the report won’t come back over it.

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