How do I set up the required address option for accounts and contacts?

Administrators can set an address as required or optional depending on the type of account or contact. You can specify that an address is required and determine how the address appears on the UI.

Manage Profile Values

Use the Manage Administrator Profile Values task to specify that an address is required while creating an account. Profile options let you enable or disable address options for accounts and contacts. Use these profile options to specify that an address is required while creating an account.

Profile Option Code

Profile User Name

Description

ZCA_ACCOUNT_ADDRESS_REQUIRED_ENABLED

Account Address Required

Specify whether an address is required while creating an account.

ZCA_CONTACT_ADDRESS_REQUIRED_ENABLED

Contact Address Required

Specify whether an address is required while creating a contact.

This table lists the profile values and which types of accounts require the address to be entered. By default, the profile option setting is Required for customer.

Profile Value

Description

Required for Account Type

Yes

The address is required.

All types of accounts.

No

The address isn't required.

The address is optional, regardless of the account type.

Required for customer

The address is required only for the account type that's set to this profile value.

The address is required only for customers.

To make the address required while creating an account:

  1. In the Setup and Maintenance area, go to the following:

    • Offering: Sales

    • Functional Area: Sales Foundation

    • Task: Manage Administrator Profile Values

  2. Click the Manage Administrator Profile Values link.

    The Manage Administrator Profile Values page appears.

  3. Enter the code in the Code field, and click Search.

    The application displays the profile option information.

  4. In the Profile Values section, select Yes in the Profile Value field.

  5. Click Save and Close.

Manage Address Formats

Use the Manage Address Format task to set up address attributes. The address format lets you manage the appearance of the address for accounts and contacts. For example, you can change the case of letters in an address, or mark a specific address attribute as required.

To specify which fields in an address are required:

  1. In the Setup and Maintenance area, go to the following:

    • Offering: Sales

    • Functional Area: Sales Foundation

    • Task: Manage Address Formats

  2. Click the Manage Address Formats link.

    The Manage Address Formats page appears.

  3. Select a country from the drop-down list.

  4. In the Format Variation Layout area, select the fields that you want to set as required in the Required column.

  5. Click Done.

Groovy Support for Numbering Management

You can automatically generate the site ID of an address while creating a contact or an account using a groovy script. Before you can use the groovy script, you must verify that the value for HZ_GENERATE_PARTY_SITE_NUMBER profile option is set to Auto numbering, update allowed (AUTONUM_UPDATE).