Table
RetailCustTable
Customers (Retail)
Retail settings for a customer, keyed by customer account and linked to the main customer table. It holds receipt options, an image, loyalty and personalization choices, and business-to-business (B2B) user details. It can also point to a customer hierarchy node.
- Table name
RetailCustTable- Module
Commerce customers- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
accountIdx- Replacement key
accountIdx- Key fields
accountNum- Model
Foundation
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
accountNumCustomer account that these retail settings belong to. | String (20)CustAccount | Yes | CustTable.AccountNum | None |
B2BCustomerHierarchyNodePoints to the customer hierarchy node linked to the customer. | Int64RefRecId | No | CustHierarchyNode.RecId | None |
B2BUserIdUnique ID (GUID) of the B2B user. | GuidRetailB2BUserId | No | None | |
BlockCustomerForLoyaltyEnrollmentYes/No flag that stops the customer from joining a loyalty programme. | EnumRetailBlockCustomerForLoyaltyEnrollmentNoYes (enum) | No | None | |
CustAccountAsyncCustomer account value used for asynchronous processing.low confidence | String (38)RetailAsyncCustAccount | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ImageText value that holds the customer's image attribute. | String (1999)RetailImageAttributeValueText | No | None | |
IsB2BAdminYes/No flag that marks the customer as a B2B administrator. | EnumRetailCustTableIsB2BAdminNoYes (enum) | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
nonChargableAccountYes/No flag. The name suggests the account cannot be charged, but the metadata gives no label.low confidence | EnumRetailNonChargableAccountNoYes (enum) | No | None | |
OptOutPersonalizationYes/No flag that shows the customer has opted out of personalization. | EnumRetailOptOutPersonalizationNoYes (enum) | No | None | |
OptOutWebActivityTrackingYes/No flag that shows the customer does not want web activity tracked. | EnumRetailOptOutWebActivityTrackingNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostAsShipmentYes/No flag for posting as a shipment. | EnumRetailPostAsShipmentNoYes (enum) | No | CustCustomerV3EntityCustCustomerV2EntityCustCustomerEntityand 2 more | |
receiptEmailEmail address for sending receipts to the customer. | String (80)RetailReceiptEmail | No | CustCustomerV3EntityCustCustomerV2EntityCustCustomerEntityand 2 more | |
receiptOptionHow the customer gets receipts: standard receipt, email or both. | EnumRetailReceiptOptionRetailReceiptOptionBase (enum) | No | CustCustomerV3EntityCustCustomerV2EntityCustCustomerEntityand 2 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 | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
requiresApprovalYes/No flag. The name suggests approval is required, but the label "To" is unclear.low confidence | EnumRetailRequiresApprovalNoYes (enum) | No | None | |
ReturnTaxGroup_WSales tax group used for returns. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | CustCustomerV3EntityCustCustomerV2EntityCustCustomerEntityand 2 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 | |
useOrderNumberReferenceYes/No flag for using an order number reference. | EnumRetailUseOrderNumberReferenceNoYes (enum) | No | CustCustomerV3EntityCustCustomerV2EntityCustCustomerEntityand 2 more |
Indexes (2)
accountIdxPrimary indexReplacement keyUnique, alternate key.
CustAccountAsyncNot unique.
Relations (3)
Each relation joins RetailCustTable to another table on the fields shown.
CustTable→CustTableJoin on
accountNum = CustTable.AccountNumZero or one RetailCustTable record → exactly one CustTable record
TaxGroupHeading_ReturnTaxGroup_W→TaxGroupHeadingJoin on
ReturnTaxGroup_W = TaxGroupHeading.TaxGroupMany RetailCustTable records → zero or one TaxGroupHeading record
CustHierarchyNode→CustHierarchyNodeJoin on
B2BCustomerHierarchyNode = CustHierarchyNode.RecIdMany RetailCustTable records → zero or one CustHierarchyNode record
Get this data out
Tables are not exposed directly. These public entities read from RetailCustTable; use one of them in Power BI, Power Platform or a data management project.
CustCustomerV3Entity· 5 fields from this tableCustCustomerV2Entity· 5 fields from this tableCustCustomerEntity· 5 fields from this tableCustFoundationEntity· 5 fields from this tableCustFoundationExtendedEntity· 5 fields from this table
Need help with RetailCustTable in a report, an integration or a migration? Talk to Dr Dynamics.