Table

RetailTransactionAdditionalAddressTrans

Additional addresses for Commerce transactions

Stores extra addresses for a retail transaction, such as an invoice address or a user-defined address. Each row is identified by channel, store, register, transaction number and address type. It links to the transaction and can point to a postal address record.

Table name
RetailTransactionAdditionalAddressTrans
Module
Commerce transactions and orders
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
RetailTransactionAdditionalAddressTransIdx
Replacement key
None
Key fields
Channel, Store, Terminal, TransactionId, AddressType
Model
Foundation

Fields (28)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRetail channel the transaction belongs to, pointing to the channel record.Int64
RefRecId
NoRetailChannelTable.RecIdRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
StoreNumber of the store, pointing to the store record.String
RetailStoreId
NoRetailStoreTable.StoreNumberRetailTransactionAdditionalAddressTransBIEntity
TerminalNumber of the POS register, pointing to the register record.String
RetailTerminalId
NoRetailTerminalTable.terminalIdRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
TransactionIdNumber of the retail transaction the address belongs to.String (44)
RetailTransactionId
YesRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
AddressTypeType of the additional address: user defined or invoice.Enum
RetailAdditionalAddressType (enum)
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
AttentionToAddressLineName of the person or team the address is for, shown as an attention line.String (255)
LogisticsAttentionToAddressLine
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
BuildingComplimentName stored with the address, labelled as Name.low confidenceString (60)
Name
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
CityCity of the address.String (60)
AddressCity
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
CountryRegionIdCountry or region of the address.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
CountyCounty of the address.String (30)
AddressCountyId
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionAdditionalAddressTransBIEntity
DeliveryNameName of the recipient on the address.String (160)
CustName
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
DistrictNameDistrict of the address.String (60)
LogisticsAddressDistrictName
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
EmailEmail address.String (80)
Email
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
EmailContentEmail address content stored for the address.low confidenceString (400)
RetailShipAddressEmailContent
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
OriginLocation number showing where the record came from.String (50)
RetailConnDistributionLocationId
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PhoneTelephone number.String (20)
Phone
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
PostalAddressRecordIdPostal address record this row refers to.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdRetailTransactionAdditionalAddressTransBIEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoRetailTransactionAdditionalAddressTransBIEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReplicationCounterFromOriginCounter used to track replication from the source location.Integer
RetailReplicationCounter
NoRetailTransactionAdditionalAddressTransBIEntity
StateState of the address.String
LogisticsAddressStateId
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
StreetStreet of the address.String (250)
AddressStreet
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
StreetNumberStreet number of the address.String (20)
LogisticsAddressStreetNumber
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ZipCodeZIP or postal code of the address.String
LogisticsAddressZipCodeId
NoRetailTransactionAdditionalAddressLineEntityRetailTransactionAdditionalAddressTransBIEntity

Indexes (2)

Relations (6)

Each relation joins RetailTransactionAdditionalAddressTrans to another table on the fields shown.

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many RetailTransactionAdditionalAddressTrans records → exactly one LogisticsAddressCountryRegion record

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionAdditionalAddressTrans records → zero or one RetailChannelTable record

  • RetailStoreTable → RetailStoreTable

    Join on Store = RetailStoreTable.StoreNumber

    Many RetailTransactionAdditionalAddressTrans records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on Terminal = RetailTerminalTable.terminalId

    Many RetailTransactionAdditionalAddressTrans records → exactly one RetailTerminalTable record

  • RetailTransactionTable → RetailTransactionTable

    Join on TransactionId = RetailTransactionTable.transactionId, Terminal = RetailTransactionTable.terminal, Store = RetailTransactionTable.store

    Zero or one RetailTransactionAdditionalAddressTrans record → exactly one RetailTransactionTable record

  • LogisticsPostalAddress → LogisticsPostalAddress

    Join on PostalAddressRecordId = LogisticsPostalAddress.RecId

    Zero or one RetailTransactionAdditionalAddressTrans record → zero or one LogisticsPostalAddress record

Get this data out

Tables are not exposed directly. These public entities read from RetailTransactionAdditionalAddressTrans; use one of them in Power BI, Power Platform or a data management project.

Need help with RetailTransactionAdditionalAddressTrans in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk