LogisticsPostalAddress::formatAddress Method

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          server public static LogisticsAddressing formatAddress(
            LogisticsAddressStreet _street, 
            LogisticsAddressZipCodeId _zipcode, 
            LogisticsAddressCityName _city, 
            LogisticsAddressCountryRegionId _countryRegion, 
            LogisticsAddressStateId _state, 
            LogisticsAddressCountyId _county, 
           [LogisticsAddressDistrictName districtName, 
            LogisticsAddressStreetNumber streetNumber, 
            LogisticsAddressBuildingCompliment buildingCompliment, 
            LogisticsAddressPostBox postBox, 
            LogisticsAddressCityRecId _cityId, 
            LogisticsAddressDistrictRecId _districtId, 
            LogisticsAddressStreetID_RU _streetId, 
            LogisticsAddressHouseId_RU _houseId, 
            LogisticsAddressFlatId_RU _flatId, 
            LogisticsAddressBuilding_RU _building, 
            LogisticsAddressApartment_RU _apartment, 
            LogisticsAddressFormatId _addrFormat])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static LogisticsAddressing formatAddress(
            LogisticsAddressStreet _street, 
            LogisticsAddressZipCodeId _zipcode, 
            LogisticsAddressCityName _city, 
            LogisticsAddressCountryRegionId _countryRegion, 
            LogisticsAddressStateId _state, 
            LogisticsAddressCountyId _county, 
           [LogisticsAddressDistrictName districtName, 
            LogisticsAddressStreetNumber streetNumber, 
            LogisticsAddressBuildingCompliment buildingCompliment, 
            LogisticsAddressPostBox postBox, 
            LogisticsAddressCityRecId _cityId, 
            LogisticsAddressDistrictRecId _districtId, 
            LogisticsAddressStreetID_RU _streetId, 
            LogisticsAddressHouseId_RU _houseId, 
            LogisticsAddressFlatId_RU _flatId, 
            LogisticsAddressBuilding_RU _building, 
            LogisticsAddressApartment_RU _apartment])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static LogisticsAddressing formatAddress(
            LogisticsAddressStreet _street, 
            LogisticsAddressZipCodeId _zipcode, 
            LogisticsAddressCityName _city, 
            LogisticsAddressCountryRegionId _countryRegion, 
            LogisticsAddressStateId _state, 
            LogisticsAddressCountyId _county, 
           [LogisticsAddressDistrictName districtName, 
            LogisticsAddressStreetNumber streetNumber, 
            LogisticsAddressBuildingCompliment buildingCompliment, 
            LogisticsAddressPostBox postBox])

  Microsoft Dynamics AX 2012 (FPK)
          server public static LogisticsAddressing formatAddress(
            LogisticsAddressStreet _street, 
            LogisticsAddressZipCodeId _zipcode, 
            LogisticsAddressCityName _city, 
            LogisticsAddressCountryRegionId _countryRegion, 
            LogisticsAddressStateId _state, 
            LogisticsAddressCountyId _county, 
           [LogisticsAddressDistrictName districtName, 
            LogisticsAddressStreetNumber streetNumber, 
            LogisticsAddressBuildingCompliment buildingCompliment, 
            LogisticsAddressPostBox postBox])

  Microsoft Dynamics AX 2012 (SYS)
          server public static LogisticsAddressing formatAddress(
            LogisticsAddressStreet _street, 
            LogisticsAddressZipCodeId _zipcode, 
            LogisticsAddressCityName _city, 
            LogisticsAddressCountryRegionId _countryRegion, 
            LogisticsAddressStateId _state, 
            LogisticsAddressCountyId _county, 
           [LogisticsAddressDistrictName districtName, 
            LogisticsAddressStreetNumber streetNumber, 
            LogisticsAddressBuildingCompliment buildingCompliment, 
            LogisticsAddressPostBox postBox])

Run On

Server

Parameters

See Also

Reference

LogisticsPostalAddress Table