Table

RetailAsyncCustomerV2

Retail async customer (V2)

Second version of the table for customer data created or changed asynchronously. It is keyed by operation ID and refers to the retail channel where the operation started. Compared with the first version, it adds personalisation and web tracking opt-out flags, a changes text and the last error.

Table name
RetailAsyncCustomerV2
Module
Commerce customers
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
NaturalAltKey
Replacement key
NaturalAltKey
Key fields
OperationId
Model
Foundation

Fields (71)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
OperationIdUnique ID of the asynchronous operation; the key of this record.String (38)
OperationId
NoRetailAsyncCustomerV2Entity
AddressEmailEmail address or other contact locator stored with the customer address.String (255)
LogisticsElectronicAddressLocator
NoRetailAsyncCustomerV2Entity
AddressNameName given to the customer address.String (160)
CustName
NoRetailAsyncCustomerV2Entity
AddressPhoneTelephone number stored with the customer address.String (20)
Phone
NoRetailAsyncCustomerV2Entity
AddressTaxGroupSales tax group set on the customer address.String
TaxGroup
NoRetailAsyncCustomerV2Entity
AddressTypeRole of the address, such as invoice, delivery or home.Enum
LogisticsLocationRoleType (enum)
NoRetailAsyncCustomerV2Entity
AddressUrlWeb address stored with the customer address.String (255)
URL
NoRetailAsyncCustomerV2Entity
BlockedShows whether the customer is blocked and for which kind of transaction, such as invoicing or payment.Enum
CustBlocked
CustVendorBlocked (enum)
NoRetailAsyncCustomerV2Entity
BuildingComplementExtra building detail in the address, such as a unit or annex.String (60)
LogisticsAddressBuildingCompliment
NoRetailAsyncCustomerV2Entity
CellularPhoneMobile phone number of the customer.String (20)
PhoneMobile
NoRetailAsyncCustomerV2Entity
ChangesLong text describing changes. Purpose not clear from the metadata.low confidenceString (-1)NoRetailAsyncCustomerV2Entity
CityCity of the customer address.String (60)
AddressCity
NoRetailAsyncCustomerV2Entity
cnpjCpfNum_BRBrazilian tax registration number (CNPJ or CPF) of the customer; used for Brazil.String (20)
CNPJCPFNum_BR
NoRetailAsyncCustomerV2Entity
ContactPersonIdID of the contact person linked to the customer.String (20)
ContactPersonId
NoRetailAsyncCustomerV2Entity
CountryCountry or region code of the customer address.String
AddressCountryRegionId
NoRetailAsyncCustomerV2Entity
CountyCounty of the customer address.String (30)
AddressCountyId
NoRetailAsyncCustomerV2Entity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreditMaxMaximum credit allowed for the customer, in accounting currency.Real
CustCreditMaxMST
NoRetailAsyncCustomerV2Entity
CurrencyCurrency code set for the customer.String (3)
CustCurrencyCode
NoRetailAsyncCustomerV2Entity
CustAccountCustomer account number in the main customer list.String (20)
CustAccount
NoRetailAsyncCustomerV2Entity
CustAccountAsyncAsynchronous customer account ID of the customer.String (38)
RetailAsyncCustAccount
YesRetailAsyncCustomerV2Entity
CustGroupCustomer group the customer belongs to.String
CustGroupId
NoRetailAsyncCustomerV2Entity
CustNameFull name of the customer or organisation.String (160)
DirPartyName
NoRetailAsyncCustomerV2Entity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DistrictNameDistrict of the customer address.String (60)
LogisticsAddressDistrictName
NoRetailAsyncCustomerV2Entity
EmailEmail address or other contact locator of the customer.String (255)
LogisticsElectronicAddressLocator
NoRetailAsyncCustomerV2Entity
EndDiscTotal discount group assigned to the customer.String
CustEndDiscCode
NoRetailAsyncCustomerV2Entity
FirstNameFirst name of the customer.String (50)
FirstName
NoRetailAsyncCustomerV2Entity
IdentificationNumberIdentification number of the customer, such as an ID document number.String (50)
CustIdentificationNumber
NoRetailAsyncCustomerV2Entity
InvoiceAccountCustomer account that receives the invoices for this customer.String (20)
CustInvoiceAccount
NoRetailAsyncCustomerV2Entity
LanguageIdLanguage code set for the customer.String (7)
CustLanguageId
NoRetailAsyncCustomerV2Entity
LastKnownErrorText of the most recent error recorded when synchronising this record.String (-1)
RetailLastKnownError
NoRetailAsyncCustomerV2Entity
LastNameLast name of the customer.String (50)
LastName
NoRetailAsyncCustomerV2Entity
LineDiscLine discount group assigned to the customer.String
CustLineDiscCode
NoRetailAsyncCustomerV2Entity
MandatoryCreditLimitYes or no flag showing whether a credit limit must be respected for this customer.Enum
MandatoryCreditLimit
NoYes (enum)
NoRetailAsyncCustomerV2Entity
MiddleNameMiddle name of the customer.String (50)
MiddleName
NoRetailAsyncCustomerV2Entity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
MultiLineDiscMultiline discount group assigned to the customer.String
CustMultiLineDiscCode
NoRetailAsyncCustomerV2Entity
OnlineOperationCompletedYes or no flag. Purpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoRetailAsyncCustomerV2Entity
OperationType of asynchronous operation: none, create, update or delete.Enum
RetailAsyncOperation (enum)
NoRetailAsyncCustomerV2Entity
OperationTimeStampDate and time, in UTC, of the asynchronous operation.UtcDateTime
RetailAsyncOperationTimestamp
NoRetailAsyncCustomerV2Entity
OptOutPersonalizationYes means the customer has chosen not to receive personalised recommendations.Enum
RetailOptOutPersonalization
NoYes (enum)
NoRetailAsyncCustomerV2Entity
OptOutWebActivityTrackingYes means the customer has chosen that web activity is not tracked.Enum
RetailOptOutWebActivityTracking
NoYes (enum)
NoRetailAsyncCustomerV2Entity
OrganizationIdNational registry number of the organisation.String
OrgId
NoRetailAsyncCustomerV2Entity
OriginatingChannelPoints to the retail channel where the operation originated.Int64
RefRecId
NoRetailChannelTable.RecIdRetailAsyncCustomerV2Entity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PhoneTelephone number of the customer.String (20)
Phone
NoRetailAsyncCustomerV2Entity
PhoneExtensionExtension for the telephone number.String
PhoneLocal
NoRetailAsyncCustomerV2Entity
PriceGroupPrice group assigned to the customer.String
CustPriceGroup
NoRetailAsyncCustomerV2Entity
ReceiptEmailEmail address used to send receipts to the customer.String (80)
RetailReceiptEmail
NoRetailAsyncCustomerV2Entity
ReceiptOptionChosen way to give receipts: standard, email or both.Enum
RetailReceiptOption
RetailReceiptOptionBase (enum)
NoRetailAsyncCustomerV2Entity
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
RelationshipTypeNumeric relationship type. Purpose not clear from the metadata.low confidenceInt64
RelationType
NoRetailAsyncCustomerV2Entity
ReplicationCounterFromOriginCounter used to track replication of the record from its originating source.Integer
RetailReplicationCounter
NoRetailAsyncCustomerV2Entity
RetailCustAffiliationsLong text with customer affiliation data. Purpose not clear from the metadata.low confidenceString (-1)NoRetailAsyncCustomerV2Entity
StateState of the customer address.String
LogisticsAddressStateId
NoRetailAsyncCustomerV2Entity
StoreRecIdNumeric store reference. Purpose not clear from the metadata.low confidenceInt64NoRetailAsyncCustomerV2Entity
StreetStreet of the customer address.String (250)
AddressStreet
NoRetailAsyncCustomerV2Entity
StreetNumberStreet number of the customer address.String (20)
LogisticsAddressStreetNumber
NoRetailAsyncCustomerV2Entity
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
TaxGroupSales tax group assigned to the customer.String
TaxGroup
NoRetailAsyncCustomerV2Entity
TitleRecordIdNumeric reference to a record, probably a name title. The target is not stated in the metadata.low confidenceInt64
RefRecId
NoRetailAsyncCustomerV2Entity
UrlWeb address of the customer.String (255)
URL
NoRetailAsyncCustomerV2Entity
UseOrderNumberReferenceYes or no flag showing whether an order number reference is used.Enum
RetailUseOrderNumberReference
NoYes (enum)
NoRetailAsyncCustomerV2Entity
UsePurchRequestYes or no flag showing whether a purchase request is required.Enum
RetailUsePurchRequest
NoYes (enum)
NoRetailAsyncCustomerV2Entity
VatNumTax exempt number of the customer.String (20)
VATNum
NoRetailAsyncCustomerV2Entity
ZipCodeZIP or postal code of the customer address.String
LogisticsAddressZipCodeId
NoRetailAsyncCustomerV2Entity

Indexes (2)

Relations (1)

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

  • RetailChannelTable → RetailChannelTable

    Join on OriginatingChannel = RetailChannelTable.RecId

    Many RetailAsyncCustomerV2 records → zero or one RetailChannelTable record

Get this data out

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

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

Email sales@drdynamics.co.uk