Define revisioned field as syncable on policy location

Before you begin

Define revisioned field on account location

About this task

Define the revisioned field as syncable on the policy location by adding it to the ACCOUNT_SYNCED_FIELDS variable in the gw.policylocation.PolicyLocationAccountSyncableImpl Gosu class.

Procedure

  1. In Studio, navigate to configuration > gsrc and open gw.policylocation.PolicyLocationAccountSyncableImpl.gs.
  2. Add FloodPlain to the ACCOUNT_SYNCED_FIELDS variable:
    static final var ACCOUNT_SYNCED_FIELDS = ImmutableSet.of({
        ...
        AccountLocationToPolicyLocationSyncedField.FloodPlain, 
        ...
      })

What to do next

Add get and set methods to policy location