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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRetail channel the transaction belongs to, pointing to the channel record. | Int64RefRecId | No | RetailChannelTable.RecId | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more |
storeNumber of the store, pointing to the store record. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | RetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityRetailTransactionAuditableAddressLineEntity |
terminalNumber of the POS register, pointing to the register record. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more |
transactionIdNumber of the retail transaction. | String (44)RetailTransactionId | Yes | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more | |
SaleLineNumLine number of the sales line the address belongs to. | RealLineNum | No | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more | |
AttentionToAddressLineName of the person or team the address is for, shown as an attention line. | String (255)LogisticsAttentionToAddressLine | No | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more | |
BuildingComplimentName stored with the address, labelled as Name.low confidence | String (60)Name | No | RetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntity | |
CityCity of the address. | String (60)AddressCity | No | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more | |
CountryRegionIdCountry or region of the address. | StringAddressCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more |
CountyCounty of the address. | String (30)AddressCountyId | No | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | RetailTransactionAddressTransBIEntity | |
DeliveryNameName of the recipient on the address. | String (160)CustName | No | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more | |
DistrictNameDistrict of the address. | String (60)LogisticsAddressDistrictName | No | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more | |
EmailEmail address. | String (80)Email | No | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more | |
EmailContentEmail address content stored for the address.low confidence | String (400)RetailShipAddressEmailContent | No | RetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntity | |
OriginLocation number showing where the record came from. | String (50)RetailConnDistributionLocationId | No | RetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PhoneTelephone number. | String (20)Phone | No | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | RetailTransactionAddressTransBIEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReplicationCounterFromOriginCounter used to track replication from the source location. | IntegerRetailReplicationCounter | No | RetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntity | |
SalesNameName stored with the address for the sale. | String (60)SalesName | No | RetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityRetailTransactionAuditableAddressLineEntity | |
StateState of the address. | StringLogisticsAddressStateId | No | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more | |
StreetStreet of the address. | String (250)AddressStreet | No | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more | |
StreetNumberStreet number of the address. | String (20)LogisticsAddressStreetNumber | No | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ZipCodeZIP or postal code of the address. | StringLogisticsAddressZipCodeId | No | RetailTransactionAddressLineEntityRetailTransactionAddressTransEntityRetailTransactionAddressTransBIEntityand 1 more |
Indexes (2)
RetailTransactionAddressTransIdxPrimary indexChannel,store,terminal,transactionId,SaleLineNumUnique, alternate key.
LocationIdxOrigin,ReplicationCounterFromOriginNot unique.
Relations (6)
Each relation joins RetailTransactionAddressTrans to another table on the fields shown.
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
CountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany RetailTransactionAddressTrans records → exactly one LogisticsAddressCountryRegion record
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailTransactionAddressTrans records → zero or one RetailChannelTable record
RetailStoreTable→RetailStoreTableJoin on
store = RetailStoreTable.StoreNumberMany RetailTransactionAddressTrans records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
terminal = RetailTerminalTable.terminalIdMany RetailTransactionAddressTrans records → exactly one RetailTerminalTable record
RetailTransactionSalesTrans→RetailTransactionSalesTransJoin on
SaleLineNum = RetailTransactionSalesTrans.lineNum,transactionId = RetailTransactionSalesTrans.transactionId,terminal = RetailTransactionSalesTrans.terminalId,store = RetailTransactionSalesTrans.storeZero or one RetailTransactionAddressTrans record → exactly one RetailTransactionSalesTrans record
RetailTransactionTable→RetailTransactionTableJoin on
transactionId = RetailTransactionTable.transactionId,terminal = RetailTransactionTable.terminal,store = RetailTransactionTable.storeZero 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.
RetailTransactionAddressLineEntity· 16 fields from this tableRetailTransactionAddressTransEntity· 22 fields from this tableRetailTransactionAddressTransBIEntity· 24 fields from this tableRetailTransactionAuditableAddressLineEntity· 18 fields from this table
Need help with RetailTransactionAddressTrans in a report, an integration or a migration? Talk to Dr Dynamics.