Table

RetailPubCatalog

Published catalog

Holds the published copy of a catalog, keyed by the original catalog record. It stores the status, owner, validity dates, last publish time and category hierarchy. It also has a setting for taking a snapshot.

Table name
RetailPubCatalog
Module
Commerce merchandising
Table group
Main
Table type
Regular
Data per company
No
Configuration key
Retail
Primary index
RecId
Replacement key
OriginIdx
Key fields
Origin
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
OriginThe original catalog that this published record is based on.Int64
RefRecId
YesCatalog.RecIdNone
CategoryHierarchyThe category hierarchy used by the catalog.Int64
EcoResCategoryHierarchyId
NoEcoResCategoryHierarchy.RecIdNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
EnableSnapshotYes/No setting for taking a snapshot of the catalog.Enum
RetailEnableSnapshot
NoYes (enum)
NoNone
LegacyModifiedByShortened user name kept only for backward compatibility with older versions.String (8)NoNone
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
OriginRecVersionVersion number of the original record.Integer
RetailOriginRecVersion
NoNone
OwnerThe person who owns the catalog.Int64
RefRecId
YesDirPerson.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PublishedDateTimeDate and time, in UTC, when the catalog was last published.UtcDateTime
CatalogPublishDateTime
NoNone
PublishedValidFromEffective date of the published catalog.Date
ValidFromDate
NoNone
PublishedValidToExpiration date of the published catalog.Date
ValidToDate
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
StateStatus of the catalog, such as draft, approved, published or expired.Enum
CatalogState (enum)
YesNone
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
ValidFromEffective date of the catalog.Date
ValidFromDate
YesNone
ValidFromDateTimeEffective date and time of the catalog, in UTC.UtcDateTime
ValidFromDateTime
NoNone
ValidToExpiration date of the catalog.Date
ValidToDate
YesNone

Indexes (1)

  • OriginIdxReplacement key

    Origin

    Unique, alternate key.

Relations (3)

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

  • DirPerson → DirPerson

    Join on Owner = DirPerson.RecId

    Many RetailPubCatalog records → exactly one DirPerson record

  • Origin → Catalog

    Join on Origin = Catalog.RecId

    Zero or one RetailPubCatalog record → exactly one Catalog record

  • CategoryHierarchy → EcoResCategoryHierarchy

    Join on CategoryHierarchy = EcoResCategoryHierarchy.RecId

    Many RetailPubCatalog records → zero or one EcoResCategoryHierarchy record

Get this data out

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

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

Email sales@drdynamics.co.uk