Extend entity and Gosu class for future-date policy changes
Complete the step Define the field as syncable on the account contact role before you perform this step.
In certain circumstances, a policy may have a change to the contact name that takes effect at a future date. This change will be applied the account contact at that future date. For more information, see Revisioning contact information in policies.
Because of future-dated changes, you must extend the PendingAccountContactRoleUpdate entity. The PendingEntityUpdate entities are necessary to update the account level fields when PolicyCenter changes those fields on the policy in the future.
Extend entity Gosu class
Procedure
- Navigate to .
- Right-click Entity and select .
- Enter PendingAccountContactRoleUpdate and click OK.
-
In the extension file, add a column with the following values:
Name
Value
nameAuditLicenseNumber_Ext
typemediumtext
descThe audit license number that needs to be updated on the AccountContactRole at a future date.
-
Add another column with the following values:
Name
Value
nameAuditLicenseNumberIsNull_Ext
typebit
defaultfalse
descTrue if the AuditLicenseNumber_Ext field will be set to null.
- In gw.account.PendingAccountContactRoleUpdateAdapter.gs, add code to the applyUpdate method that copies these two properties.
