Defining the revisioned field on the policy audit contact

Complete the step Defining the revisioned field on the account audit contact before you perform this step.

Define an internal field on the PolicyAuditContact_Ext entity. Define the field as follows:

  • Set the value of the setterScriptability and getterScriptability attributes to doesNotExist. This value makes the field internal and not visible to Gosu code. The field will not appear in the data dictionary. For more information about these attributes, see <column>.
  • Define the PolicyAuditContact_Ext entity as implementing the AccountSyncable interface.

In the following illustration, the circled number 2 shows the AuditLicenseNumberInternal_Ext field that you will create on the PolicyAuditContact entity.



Define revisioned field on policy audit contact

Procedure

  1. In Studio, navigate to PolicyAuditContact_ext.eti entity as you did in Defining the revisioned field on the account audit contact.
  2. Open PolicyAuditContact_Ext.eti.
  3. Next to extension , click the drop-down list and choose column.
  4. Enter the following values for the new column:

    Name

    Value

    name

    AuditLicenseNumberInternal_Ext

    type

    mediumtext

    desc

    The policy audit contact

    getterScriptability

    doesNotExist

    setterScriptability

    doesNotExist

  5. Click subtype at the top of the Element hierarchy.
  6. Next to extension , click the drop-down list and choose implementsInterface.
  7. Enter the following values for implementsInterface:

    Name

    Value

    iface

    gw.api.domain.account.AccountSyncable

    impl

    gw.contact.PolicyAuditContactAccountSyncableImpl

    The implementation does not exist yet. You add this implementation in later steps.

What to do next

Defining field as syncable on the policy contact role