RetailTransactionServiceCustomer::upsertPartyLogisticsElectronicAddress Method [AX 2012]

Inserts or updates the electronic address based on the locator.

client server private static container upsertPartyLogisticsElectronicAddress(
    RecId party, 
    RecId logisticsElectronicAddressRecId, 
    LogisticsElectronicAddressLocator value, 
    LogisticsLocationRecId logisticsLocationRecId, 
    LogisticsElectronicAddressMethodType type, 
    LogisticsLocationRecId parentLocationRecId)

Run On

Called

Parameters

party
Type: RecId Extended Data Type
Party of this customer
logisticsElectronicAddressRecId
Type: RecId Extended Data Type
RecId of LogisticsElectronic address.
value
Type: LogisticsElectronicAddressLocator Extended Data Type
Value of the loator.
logisticsLocationRecId
Type: LogisticsLocationRecId Extended Data Type
Value of the location record id.
type
Type: LogisticsElectronicAddressMethodType Enumeration
Type of the electronic address.
parentLocationRecId
Type: LogisticsLocationRecId Extended Data Type
Value of the parent location record id.

Return Value

Type: container
A container object with Location Id and electronic address id.
Show: