RetailTransactionServiceCustomer::createAddress Method [AX 2012]
Create address for customer.
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
CalledParameters
- custAccount
- Type: CustAccount Extended Data Type
Customer account
- custName
- Type: CustName Extended Data Type
Customer name
- street
- Type: AddressStreet Extended Data Type
Street
- city
- Type: AddressCity Extended Data Type
City
- county
- Type: AddressCountyId Extended Data Type
County
- state
- Type: AddressStateId Extended Data Type
State
- zip
- Type: AddressZipCodeId Extended Data Type
Zip
- country
- Type: AddressCountryRegionId Extended Data Type
Country
- phone
- Type: Phone Extended Data Type
Phone
- Type: LogisticsElectronicAddressLocator Extended Data Type
Email
- url
- Type: URL Extended Data Type
URL
- taxGroup
- Type: TaxGroup Extended Data Type
Tax group
- role
- Type: LogisticsLocationRoleType Enumeration
Role
- streetNumber
- Type: LogisticsAddressStreetNumber Extended Data Type
Street number
- districtName
- Type: LogisticsAddressDistrictName Extended Data Type
District name
- buildingCompliment
- Type: LogisticsAddressBuildingCompliment Extended Data Type
Building compliment
- makePostalAddressPrimary
- Type: boolean
Optional. True if this should become the new primary address
Show: