Configure the TaxID contact creation requirement

About this task

You can set whether or not TaxID is required for creating contacts. In the base configuration, this setting affects only PersonVendor and CompanyVendor subtypes. You set the variable RequiresTaxID in the registry file ValidateABContactCreationPlugin.gwp.

ValidateABContactCreationPluginImpl uses this value when it calls the following method that it inherits from ValidateABContactCreationPluginBase:

override function setParameters(p0: Map<Object, Object>) {
  _requiresTaxID = Boolean.valueOf(p0.get("RequiresTaxID") as String)
}

Procedure

  1. If necessary, start Guidewire Studio™ for ContactManager.
  2. In the Project window, navigate to configuration > config > Plugins > registry and double-click ValidateABContactCreationPlugin.gwp.
  3. The default registered plugin implementation is in the Gosu Class field:
    gw.plugin.contact.ValidateABContactCreationPluginImpl
  4. Under the Gosu Class field, RequiresTaxID is defined in the Parameters table. The default value is true. If you set it to false, TaxID is not required for creating any contact subtype.