RetailOrderManager::getAddressLineFromTransaction Method [AX 2012]

Fetch the address records corresponding to specified sales lines of the provided transaction.

client server private static RetailTransactionAddressTrans getAddressLineFromTransaction(RetailTransactionTable transactionTable, [LineNum salesLineNum])

Run On

Called

Parameters

transactionTable
Type: RetailTransactionTable Table
The transaction that needs to be looked up.
salesLineNum
Type: LineNum Extended Data Type
The sale line number associated with the address line. (optional)

Return Value

Type: RetailTransactionAddressTrans Table
RetailTransactionAddressTrans for the specified sales line.

A sales line number with the value of zero indicates that the address at the order header level should be returned.

Show: