ValidateGeoCodeHR

Validate Geo Code

Minor Business Rule

Object Name: B0500543

Parent DLL: CHRM

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose

Validates Geo Codes from Vertex database.  The State, County and City for the geo code will be returned if the geo code is valid.  This expands the 

functionality available in B7300002 .


1.2Setup Notes and Prerequisites

Make Sure Vertex is installed and set up in OneWorld'ae


1.3Special Logic


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes

TXA1szTaxRateAreaI9-digit Geo Code

EV01cGeoCodeValidOReturns 0 for invalid 1 for valid

EV01cDeleteGeoCodeCacheIFlag to delete cache

STATEDESszStateOState Name

COUNszCountyOCounty Name

CTY1szCityOCity Name


2.2Related Tables 

Table Table Description

Vertex Geo Codes




2.3Related Business Functions

Source NameFunction Name

B0000182Initialize Environment for Vendor Business Functions



2.4Processing 


1.0Determine Level to Fetch on (Sate, County, City) depending on code sent in
2.0If Terminate cache flag is not 1

2.1Initialize Cache Structure and set up index
2.2If cache already exists look for geo code sent in

2.3If geo code found

2.3.1Send back location information
2.4If geo code not found
2.4.1Fetch from vertex according to level determine in 1.0
2.4.2Send back location information

3.0Terminate cache flag is 1
3.1Terminate cache

Data Structure

D0500543 - Validate GeoCode

Parameter NameData ItemData TypeReq/OptI/O/Both
szTaxRateAreaTXA1charOPTINPUT

A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
against the Tax Areas table (F4008). The system uses the tax rate area in conjunction with the tax explanation code and tax rules to calculate tax 
and G/L distribution amounts when you create an invoice or voucher.

cGeoCodeValidEV01charOPTOUTPUT

An option that specifies the type of processing for an event.

cDeleteGeoCodeCacheEV01charOPTINPUT

An option that specifies the type of processing for an event.

szStateSTATEDEScharOPTOUTPUT

The description for the state code. If you extract address book data from the J.D. Edwards Address Book system, the description 
originates in the UDC 00/S.

szCountyCOUNcharOPTOUTPUT

The name of a county, parish, or other political district that is necessary for the address or for tax purposes.

szCityCTY1charOPTOUTPUT

A name that indicates the city associated with the address.

Related Functions

B0000182 Initialize Environment for Vendor Business Functions

Related Tables

None