Define revisioned field on account location

About this task

Define the field on the account. In the default configuration for locations, the revisioned fields are on the AccountLocation entity. If the field already exists, you do not need to define it. If the field does not exist, add the field to an extension entity for AccountLocation.

The step-by-step instructions add a FloodPlain field to the AccountLocation entity.

To add the revisioned field to the account location, you first define the revisioned field for AccountLocation in an extension entity.

Procedure

  1. In Studio, navigate to configuration > config > Extensions > Entity.
  2. Right-click Entity, and select New > Entity Extension.
  3. Select AccountLocation and click OK.
  4. In AccountLocation.etx enter a column with the following values:

    Name

    Value

    name

    FloodPlain

    type

    bit

    desc

    Whether the location is on a flood plain.

What to do next

Define revisioned field on policy location