Share via


RetailTransactionServiceCustomer::updateAddress Method [AX 2012]

Update address

Syntax

client server public static container updateAddress(
    RefRecId addressRecId, 
    CustName custName, 
    AddressStreet street, 
    AddressCity city, 
    AddressCountyId county, 
    AddressStateId state, 
    AddressZipCodeId zip, 
    AddressCountryRegionId country, 
    Phone phone, 
    LogisticsElectronicAddressLocator email, 
    URL url, 
    TaxGroup taxGroup, 
   [LogisticsLocationRoleType role, 
    int64 phoneRecId, 
    int64 emailRecId, 
    int64 urlRecId, 
    LogisticsAddressStreetNumber streetNumber, 
    LogisticsAddressDistrictName districtName, 
    LogisticsAddressBuildingCompliment buildingCompliment, 
    boolean makePostalAddressPrimary])

Run On

Called

Parameters

  • phoneRecId
    Type: int64
    Phone RecId
  • emailRecId
    Type: int64
    Email RecId
  • urlRecId
    Type: int64
    URL RecId
  • makePostalAddressPrimary
    Type: boolean
    Optional. True if this should become the new primary address

Return Value

Type: container
A container with entity keys

Remarks

Original parameter list consisted of a single _paramList parameter of type container.

See Also

Reference

RetailTransactionServiceCustomer Class