Share via


RetailTransactionServiceCustomer::createAddress Method [AX 2012]

Create address for customer.

Syntax

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

Run On

Called

Parameters

  • 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