Table

RetailTransactionAddressTransHistory

Retail Transaction Address

Archived address details for a retail transaction, optionally tied to a sales line number. It holds name, street, city, country/region and contact fields. Rows are identified by store, register and transaction number. No key or relation is defined in the metadata.

Table name
RetailTransactionAddressTransHistory
Module
Commerce transactions and orders
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (28)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AttentionToAddressLineName of the person or department the address is meant for.String (255)
LogisticsAttentionToAddressLine
NoNone
BuildingComplimentExtra name text for the address, such as a building name. The label is only 'Name', so the exact use is inferred.low confidenceString (60)
Name
NoNone
ChannelReference to the channel record, stored as a record ID.Int64
RefRecId
NoNone
CityCity of the address.String (60)
AddressCity
NoNone
CountryRegionIdCountry or region code of the address.String
AddressCountryRegionId
NoNone
CountyCounty of the address.String (30)
AddressCountyId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryNameName of the party at the address.String (160)
CustName
NoNone
DistrictNameDistrict of the address.String (60)
LogisticsAddressDistrictName
NoNone
EmailEmail address stored with the address.String (80)
Email
NoNone
EmailContentEmail address content held with the address, up to 400 characters.low confidenceString (400)
RetailShipAddressEmailContent
NoNone
OriginLocation number showing where the record came from.String (50)
RetailConnDistributionLocationId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PhoneTelephone number stored with the address.String (20)
Phone
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReplicationCounterFromOriginCounter value from the origin location, used to track replication of the record.Integer
RetailReplicationCounter
NoNone
SaleLineNumLine number of the sales line the address relates to.Real
LineNum
NoNone
SalesNameName stored for the sale, up to 60 characters.String (60)
SalesName
NoNone
StateState code of the address.String
LogisticsAddressStateId
NoNone
storeNumber of the store where the transaction took place.String
RetailStoreId
NoNone
StreetStreet part of the address.String (250)
AddressStreet
NoNone
StreetNumberStreet number of the address.String (20)
LogisticsAddressStreetNumber
NoNone
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
terminalNumber of the register where the transaction took place.String
RetailTerminalId
NoNone
transactionIdNumber of the transaction the address belongs to.String (44)
RetailTransactionId
YesNone
ZipCodeZIP or postal code of the address.String
LogisticsAddressZipCodeId
NoNone

Indexes (2)

Get this data out

No public entity reads from RetailTransactionAddressTransHistory. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk