Table

RetailTransactionAddressTrans

Retail Transaction Address

Holds the address for a sales line of a retail transaction. Each row is identified by channel, store, register, transaction number and sales line number. It links to the transaction and its sales line.

Table name
RetailTransactionAddressTrans
Module
Commerce transactions and orders
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
RetailTransactionAddressTransIdx
Replacement key
None
Key fields
Channel, store, terminal, transactionId, SaleLineNum
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.RecIdRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
storeNumber of the store, pointing to the store record.String
RetailStoreId
NoRetailStoreTable.StoreNumberRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityRetailTransactionAuditableAddressLineEntity
terminalNumber of the POS register, pointing to the register record.String
RetailTerminalId
NoRetailTerminalTable.terminalIdRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
transactionIdNumber of the retail transaction.String (44)
RetailTransactionId
YesRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
SaleLineNumLine number of the sales line the address belongs to.Real
LineNum
NoRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
AttentionToAddressLineName of the person or team the address is for, shown as an attention line.String (255)
LogisticsAttentionToAddressLine
NoRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
BuildingComplimentName stored with the address, labelled as Name.low confidenceString (60)
Name
NoRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntity
CityCity of the address.String (60)
AddressCity
NoRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
CountryRegionIdCountry or region of the address.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
CountyCounty of the address.String (30)
AddressCountyId
NoRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionAddressTransBIEntity
DeliveryNameName of the recipient on the address.String (160)
CustName
NoRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
DistrictNameDistrict of the address.String (60)
LogisticsAddressDistrictName
NoRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
EmailEmail address.String (80)
Email
NoRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
EmailContentEmail address content stored for the address.low confidenceString (400)
RetailShipAddressEmailContent
NoRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntity
OriginLocation number showing where the record came from.String (50)
RetailConnDistributionLocationId
NoRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntity
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
NoRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoRetailTransactionAddressTransBIEntity
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
NoRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntity
SalesNameName stored with the address for the sale.String (60)
SalesName
NoRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityRetailTransactionAuditableAddressLineEntity
StateState of the address.String
LogisticsAddressStateId
NoRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
StreetStreet of the address.String (250)
AddressStreet
NoRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
StreetNumberStreet number of the address.String (20)
LogisticsAddressStreetNumber
NoRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more
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
NoRetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more

Indexes (2)

Relations (6)

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

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many RetailTransactionAddressTrans records → exactly one LogisticsAddressCountryRegion record

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionAddressTrans records → zero or one RetailChannelTable record

  • RetailStoreTable → RetailStoreTable

    Join on store = RetailStoreTable.StoreNumber

    Many RetailTransactionAddressTrans records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on terminal = RetailTerminalTable.terminalId

    Many RetailTransactionAddressTrans records → exactly one RetailTerminalTable record

  • RetailTransactionSalesTrans → RetailTransactionSalesTrans

    Join on SaleLineNum = RetailTransactionSalesTrans.lineNum, transactionId = RetailTransactionSalesTrans.transactionId, terminal = RetailTransactionSalesTrans.terminalId, store = RetailTransactionSalesTrans.store

    Zero or one RetailTransactionAddressTrans record → exactly one RetailTransactionSalesTrans record

  • RetailTransactionTable → RetailTransactionTable

    Join on transactionId = RetailTransactionTable.transactionId, terminal = RetailTransactionTable.terminal, store = RetailTransactionTable.store

    Zero or one RetailTransactionAddressTrans record → exactly one RetailTransactionTable record

Get this data out

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

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

Email sales@drdynamics.co.uk