Table

RetailVendTable

Product import vendor setup

Holds product import settings for each vendor, with one row per vendor account. It covers number sequences, prefixes for product, colour, size and style, rounding, price points, export paths and exchange rate. It links to the vendor record.

Table name
RetailVendTable
Module
Commerce
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
AccountIdx
Replacement key
None
Key fields
AccountNum
Model
Foundation

Fields (32)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumVendor account that these import settings belong to.String (20)
VendAccount
YesVendTable.AccountNumNone
barcodeNumberSeqNumber sequence code used for bar codes.String
NumberSequenceCode
NoRetailVendVendorV3EntityVendVendorV2Entity
colorIdPrefixTwo-character prefix used for colour IDs.String (2)
RetailColorIdPrefix
NoRetailVendVendorV3EntityVendVendorV2Entity
createBarcodeIfNeededYes/No flag to create a bar code when one is missing.Enum
RetailCreateBarcodeIfNeeded
NoYes (enum)
NoRetailVendVendorV3EntityVendVendorV2Entity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
defaultShelfLifePeriod_ATHDefault shelf life period for the vendor's products, as a whole number.Integer
RetailShelfLifePeriod
NoNone
ExchRateFixed exchange rate value for the vendor.Real
ExchRate
NoRetailVendVendorV3EntityVendVendorV2Entity
FileExportPrefixPrefix added to the names of exported files.String
RetailFilePrefix
NoNone
FixedExchRateYes/No flag showing whether a fixed exchange rate is used.Enum
FixedExchRate
NoYes (enum)
NoRetailVendVendorV3EntityVendVendorV2Entity
ForeignVendPriceGroup_ATHPrice group used for foreign vendors.String
VendPriceGroup
NoNone
FranchiseeIdID of the franchisee linked to the vendor.String
RetailFranchiseeId
NoNone
itemNumberPrefixTwo-character prefix used for product numbers.String (2)
RetailItemNumberPrefix
NoNone
itemNumberSeqNumber sequence code used for product numbers.String
NumberSequenceCode
NoNone
ItemSalesExportPathFile path where product sales data is exported.String (259)
RetailFilePath
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
pricePointGroupIdPrice point group used for the vendor's products.String
RetailPricePointGroupId
NoRetailSalesPricePointGroup.GroupIdRetailVendVendorV3EntityVendVendorV2Entity
PricePointRoundingTypeDirection of rounding for price points. The values are Up, Down and Nearest.Enum
RetailPricePointRoundingType
RetailRoundingTypeBase (enum)
NoRetailVendVendorV3EntityVendVendorV2Entity
purchUnitPurchase unit used for the vendor's products.String
PurchUnit
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
roundingMethodRounding method group applied to prices.String
RetailRoundingMethodId
NoRetailRoundingMethodGroup.RoundingMethodIdRetailVendVendorV3EntityVendVendorV2Entity
salesPriceRoundingHow sales prices are rounded. The values are None, Rounding and Price points.Enum
RetailSalesPriceRounding
RetailSalesPriceRoundingBase (enum)
NoRetailVendVendorV3EntityVendVendorV2Entity
salesUnitSales unit used for the vendor's products.String
SalesUnit
NoNone
serviceCategoryService category assigned to the vendor.String
RetailServiceCategoryId
NoRetailServiceCategory.ServiceCategoryRetailVendVendorV3EntityVendVendorV2Entity
sizeIdPrefixTwo-character prefix used for size IDs.String (2)
RetailSizeIdPrefix
NoRetailVendVendorV3EntityVendVendorV2Entity
styleIdPrefixTwo-character prefix used for style IDs.String (2)
RetailStyleIdPrefix
NoRetailVendVendorV3EntityVendVendorV2Entity
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
usePrefixForItemNumberYes/No flag to add the prefix to product numbers.Enum
RetailUsePrefixForItemNumber
NoYes (enum)
NoNone
useVendorsItemNumberSeqYes/No flag to use the vendor's own product number sequence.Enum
NoYes (enum)
NoNone
VendorProductHierarchyIdCategory hierarchy used for the vendor's products, stored as its system record ID.Int64
EcoResCategoryHierarchyId
NoEcoResCategoryHierarchy.RecIdRetailVendVendorV3EntityVendVendorV2Entity
vendTypeType of vendor. The values are None, Own, 3rd party and Contract concession.Enum
RetailVendType
RetailVendTypeBase (enum)
NoRetailVendVendorV3EntityVendVendorV2Entity

Indexes (1)

  • AccountIdxPrimary index

    AccountNum

    Unique, alternate key.

Relations (8)

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

  • BarcodeNumberSeq → NumberSequenceTable

    Join on barcodeNumberSeq = NumberSequenceTable.NumberSequence

    Many RetailVendTable records → zero or one NumberSequenceTable record

  • EcoResCategoryHierarchy → EcoResCategoryHierarchy

    Join on VendorProductHierarchyId = EcoResCategoryHierarchy.RecId

    Many RetailVendTable records → zero or one EcoResCategoryHierarchy record

  • ItemNumberSeq → NumberSequenceTable

    Join on itemNumberSeq = NumberSequenceTable.NumberSequence

    Many RetailVendTable records → zero or one NumberSequenceTable record

  • PriceDiscGroup → PriceDiscGroup

    Join on ForeignVendPriceGroup_ATH = PriceDiscGroup.GroupId, PriceDiscGroup.Type = PriceGroupType::PriceGroup, PriceDiscGroup.Module = ModuleInventCustVend::Vend

    Many RetailVendTable records → zero or one PriceDiscGroup record

  • RetailRoundingMethodGroup → RetailRoundingMethodGroup

    Join on roundingMethod = RetailRoundingMethodGroup.RoundingMethodId

    Many RetailVendTable records → zero or one RetailRoundingMethodGroup record

  • RetailSalesPricePointGroup → RetailSalesPricePointGroup

    Join on pricePointGroupId = RetailSalesPricePointGroup.GroupId

    Many RetailVendTable records → zero or one RetailSalesPricePointGroup record

  • RetailServiceCategory → RetailServiceCategory

    Join on serviceCategory = RetailServiceCategory.ServiceCategory

    Many RetailVendTable records → zero or one RetailServiceCategory record

  • VendTable → VendTable

    Join on AccountNum = VendTable.AccountNum

    Zero or one RetailVendTable record → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk