Configuring moving policies between accounts

The Policy entity has a MovedPolicySourceAccount foreign key which points to the source Account. This field is null for any policy which was not moved. This illustration shows the Account and Policy entities.



See the Data Dictionary for a complete list of all properties in the entities. The illustration displays a partial list.

Account plugin

When you move policies between accounts, PolicyCenter moves the policies then calls the transferPolicies method of the IAccountPlugin. The code for this plugin is in gw.plugin.account.impl.AccountPlugin. In AccountPlugin.gs, the default implementation of the transferPolicies method does nothing. You can modify this method if you need to execute additional transfer logic. For example, this plugin can notify an external system about the policy move. If you have additional entities that reference accounts, you can modify those entities.