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
- If necessary, start Guidewire Studio™ for ContactManager.
- In the Project window, navigate to and double-click ValidateABContactCreationPlugin.gwp.
-
The default registered plugin implementation is in the Gosu Class field:
gw.plugin.contact.ValidateABContactCreationPluginImpl
-
Under the Gosu Class field, RequiresTaxID is defined in the Parameters table. The default value is
true. If you set it tofalse, TaxID is not required for creating any contact subtype.
