PayrollTaxRegionAddressFormHandler.validatePostalAddress Method [AX 2012]

Validates that the address that is passed in matches a corresponding GNIS location.

public boolean validatePostalAddress(
    LogisticsPostalAddress _postalAddressOrig, 
    LogisticsPostalAddress _postalAddress, 
   [boolean _displayErrors])

Run On

Called

Parameters

_postalAddressOrig
Type: LogisticsPostalAddress Table
This parameter is not used by this overridden method.
_postalAddress
Type: LogisticsPostalAddress Table
The address to validate.
_displayErrors
Type: boolean
A Boolean value that determines whether a message box that contains any errors is displayed to the user.

Return Value

Type: boolean
true if the address can be linked to a GNIS location; otherwise, false.

If more than one GNIS location matches the address, a lookup is opened, so that the user can select the GNIS location.

Community Additions

ADD
Show: