# GeoCodeUpdater

## Program ID

MetraPipeline.GeoCodeUpdater.1

## Description

GeoCodeUpdater plug-in updates the Geocode value in the t_av_internal table. This is done since account creation is a two step process and at the first step, the city, state and zipcode (3 essential parameters required to calculate Geocode) are not available if an account (not a contact) is being created. Account ID is required for updating the appropriate account.

## Required Input Properties

Tag name | Value type | Description
geocode | String | A Geocode value calculated based on the city, state and ZIP code.
accountID | String | Account ID of the account that requires updating.
accounttype | String | Account type required in determining if the account is Bill-To or Ship-To.
actiontype | String | Action type required in determining if account, contact or both are in concern.

## Required Output Properties

Tag name | Value type | Description
accounttype | String | Account Type: 1 = Bill-To 2 = Ship-To
country | String | Country name.

## Additional Configuration Tags

None.

## Configuration Example

<configdata>
<geocode>geocode</geocode>
<accountID>_AccountID</accountID>
<accounttype>accounttype</accounttype>
<actiontype>actiontype</actiontype>
</configdata>