RetailOrderManager::CreateOneTimeAddress Method [AX 2012]
Create address for customer.
Syntax
client server private static LogisticsLocationRecId CreateOneTimeAddress(
CustAccount custAccount,
CustName custName,
LogisticsAddressStreetNumber streetNumber,
AddressStreet street,
AddressCity city,
LogisticsAddressDistrictName districtName,
AddressCountyId county,
AddressStateId state,
AddressZipCodeId zip,
AddressCountryRegionId country,
Phone phone,
Email eMail)
Run On
Called
Parameters
- custAccount
Type: CustAccount Extended Data Type
Customer account
- custName
Type: CustName Extended Data Type
Customer name
- streetNumber
Type: LogisticsAddressStreetNumber Extended Data Type
StreetNumber
- street
Type: AddressStreet Extended Data Type
Street
- city
Type: AddressCity Extended Data Type
City
- districtName
Type: LogisticsAddressDistrictName Extended Data Type
District Name
- 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
- eMail
Type: Email Extended Data Type
Email
Return Value
Type: LogisticsLocationRecId Extended Data Type
location Id