RetailOrderManager::getExistingLogisticsLocation Method [AX 2012]

Fetch the logisitics location record id of the provided address in the context of the provided customer account.

Syntax

client server private static LogisticsLocationRecId getExistingLogisticsLocation(RetailTransactionAddressTrans addressTrans, CustAccount custAccount)

Run On

Called

Parameters

Return Value

Type: LogisticsLocationRecId Extended Data Type
Logistics location RecordId of the address specified inside addressTrans.

Remarks

The address book of the provided customer account is searched to verify if the address contained within addressTrans is already part of the specified customer's address book.

If found, then the logisitics location recid of the address is returned. Otherwise, a null location is returned.

See Also

Reference

RetailOrderManager Class