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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNumVendor account that these import settings belong to. | String (20)VendAccount | Yes | VendTable.AccountNum | None |
barcodeNumberSeqNumber sequence code used for bar codes. | StringNumberSequenceCode | No | RetailVendVendorV3EntityVendVendorV2Entity | |
colorIdPrefixTwo-character prefix used for colour IDs. | String (2)RetailColorIdPrefix | No | RetailVendVendorV3EntityVendVendorV2Entity | |
createBarcodeIfNeededYes/No flag to create a bar code when one is missing. | EnumRetailCreateBarcodeIfNeededNoYes (enum) | No | RetailVendVendorV3EntityVendVendorV2Entity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
defaultShelfLifePeriod_ATHDefault shelf life period for the vendor's products, as a whole number. | IntegerRetailShelfLifePeriod | No | None | |
ExchRateFixed exchange rate value for the vendor. | RealExchRate | No | RetailVendVendorV3EntityVendVendorV2Entity | |
FileExportPrefixPrefix added to the names of exported files. | StringRetailFilePrefix | No | None | |
FixedExchRateYes/No flag showing whether a fixed exchange rate is used. | EnumFixedExchRateNoYes (enum) | No | RetailVendVendorV3EntityVendVendorV2Entity | |
ForeignVendPriceGroup_ATHPrice group used for foreign vendors. | StringVendPriceGroup | No | None | |
FranchiseeIdID of the franchisee linked to the vendor. | StringRetailFranchiseeId | No | None | |
itemNumberPrefixTwo-character prefix used for product numbers. | String (2)RetailItemNumberPrefix | No | None | |
itemNumberSeqNumber sequence code used for product numbers. | StringNumberSequenceCode | No | None | |
ItemSalesExportPathFile path where product sales data is exported. | String (259)RetailFilePath | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
pricePointGroupIdPrice point group used for the vendor's products. | StringRetailPricePointGroupId | No | RetailSalesPricePointGroup.GroupId | RetailVendVendorV3EntityVendVendorV2Entity |
PricePointRoundingTypeDirection of rounding for price points. The values are Up, Down and Nearest. | EnumRetailPricePointRoundingTypeRetailRoundingTypeBase (enum) | No | RetailVendVendorV3EntityVendVendorV2Entity | |
purchUnitPurchase unit used for the vendor's products. | StringPurchUnit | No | None | |
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 | |
roundingMethodRounding method group applied to prices. | StringRetailRoundingMethodId | No | RetailRoundingMethodGroup.RoundingMethodId | RetailVendVendorV3EntityVendVendorV2Entity |
salesPriceRoundingHow sales prices are rounded. The values are None, Rounding and Price points. | EnumRetailSalesPriceRoundingRetailSalesPriceRoundingBase (enum) | No | RetailVendVendorV3EntityVendVendorV2Entity | |
salesUnitSales unit used for the vendor's products. | StringSalesUnit | No | None | |
serviceCategoryService category assigned to the vendor. | StringRetailServiceCategoryId | No | RetailServiceCategory.ServiceCategory | RetailVendVendorV3EntityVendVendorV2Entity |
sizeIdPrefixTwo-character prefix used for size IDs. | String (2)RetailSizeIdPrefix | No | RetailVendVendorV3EntityVendVendorV2Entity | |
styleIdPrefixTwo-character prefix used for style IDs. | String (2)RetailStyleIdPrefix | No | RetailVendVendorV3EntityVendVendorV2Entity | |
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 | |
usePrefixForItemNumberYes/No flag to add the prefix to product numbers. | EnumRetailUsePrefixForItemNumberNoYes (enum) | No | None | |
useVendorsItemNumberSeqYes/No flag to use the vendor's own product number sequence. | EnumNoYes (enum) | No | None | |
VendorProductHierarchyIdCategory hierarchy used for the vendor's products, stored as its system record ID. | Int64EcoResCategoryHierarchyId | No | EcoResCategoryHierarchy.RecId | RetailVendVendorV3EntityVendVendorV2Entity |
vendTypeType of vendor. The values are None, Own, 3rd party and Contract concession. | EnumRetailVendTypeRetailVendTypeBase (enum) | No | RetailVendVendorV3EntityVendVendorV2Entity |
Indexes (1)
AccountIdxPrimary indexUnique, alternate key.
Relations (8)
Each relation joins RetailVendTable to another table on the fields shown.
BarcodeNumberSeq→NumberSequenceTableJoin on
barcodeNumberSeq = NumberSequenceTable.NumberSequenceMany RetailVendTable records → zero or one NumberSequenceTable record
EcoResCategoryHierarchy→EcoResCategoryHierarchyJoin on
VendorProductHierarchyId = EcoResCategoryHierarchy.RecIdMany RetailVendTable records → zero or one EcoResCategoryHierarchy record
ItemNumberSeq→NumberSequenceTableJoin on
itemNumberSeq = NumberSequenceTable.NumberSequenceMany RetailVendTable records → zero or one NumberSequenceTable record
PriceDiscGroup→PriceDiscGroupJoin on
ForeignVendPriceGroup_ATH = PriceDiscGroup.GroupId,PriceDiscGroup.Type = PriceGroupType::PriceGroup,PriceDiscGroup.Module = ModuleInventCustVend::VendMany RetailVendTable records → zero or one PriceDiscGroup record
RetailRoundingMethodGroup→RetailRoundingMethodGroupJoin on
roundingMethod = RetailRoundingMethodGroup.RoundingMethodIdMany RetailVendTable records → zero or one RetailRoundingMethodGroup record
RetailSalesPricePointGroup→RetailSalesPricePointGroupJoin on
pricePointGroupId = RetailSalesPricePointGroup.GroupIdMany RetailVendTable records → zero or one RetailSalesPricePointGroup record
RetailServiceCategory→RetailServiceCategoryJoin on
serviceCategory = RetailServiceCategory.ServiceCategoryMany RetailVendTable records → zero or one RetailServiceCategory record
VendTable→VendTableJoin on
AccountNum = VendTable.AccountNumZero 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.
RetailVendVendorV3Entity· 14 fields from this tableVendVendorV2Entity· 14 fields from this table
Need help with RetailVendTable in a report, an integration or a migration? Talk to Dr Dynamics.