Table

ReqDemPlanCubeStagingTable

Staging table for historical data

Staging table that holds historical inventory transaction data for demand forecasting. Each row carries a date, a quantity and a transaction type. It also carries product, customer, location and inventory dimension values. It has no defined key and links to the data source and to the original inventory transaction.

Table name
ReqDemPlanCubeStagingTable
Module
Master planning
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
ReqDemandPlanning
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (29)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AllocationKeyItem allocation key linked to the historical transaction, pointing to an item allocation line.String
ForecastItemAllocationId
NoNone
ColorColour of the product variant, taken from the colours list.String
EcoResColorName
NoEcoResColor.NameNone
ConfigurationProduct configuration name, taken from the configurations list.String (50)
EcoResConfigurationName
NoEcoResConfiguration.NameNone
CustAccountCustomer account number linked to the transaction.String (20)
CustAccount
NoCustTable.AccountNumNone
CustGroupIdCustomer group the customer belongs to.String
CustGroupId
NoCustGroup.CustGroupNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DataSourcePoints to the data source record that tells where this history came from.Int64
ReqDemPlanDataSourceRecId
YesReqDemPlanDataSource.RecIdNone
InventDimIdInventory dimension number that identifies the combination of inventory dimensions.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventTransOriginPoints to the originator record of the inventory transaction.Int64
InventTransOriginId
NoInventTransOrigin.RecIdNone
InventTransRecIdSystem record ID of the source inventory transaction.Int64
InventTransRefRecId
NoInventTrans.RecIdNone
ItemIdItem number of the product in the transaction.String (20)
ItemId
NoInventTable.ItemIdNone
LogisticsAddressStateIdState code of the address. It is used together with the country or region.String
LogisticsAddressStateId
NoLogisticsAddressState.StateIdNone
LogisticsCountryRegionCodeCountry or region code of the address.String
LogisticsAddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProductSystem record ID of the product.Int64
EcoResProductRecId
NoEcoResProduct.RecIdNone
ProductVersionVersion of the product, taken from the versions list.String
EcoResVersionName
NoEcoResVersion.NameNone
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
SiteInventory site where the transaction took place.String
InventSiteId
NoInventSite.SiteIdNone
SizeSize of the product variant, taken from the sizes list.String
EcoResSizeName
NoEcoResSize.NameNone
StatusIdInventory status of the stock in the transaction.String
WHSInventStatusId
NoWHSInventStatus.InventStatusIdNone
StyleStyle of the product variant, taken from the styles list.String
EcoResStyleName
NoEcoResStyle.NameNone
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
TransactionDateDate of the historical transaction.Date
TransDate
NoNone
TransactionQtyQuantity of the historical transaction, in inventory units.Real
InventQty
NoNone
TransactionTypeKind of inventory transaction, such as sales order, purchase order, production or transfer.Enum
InventTransType (enum)
NoNone
VersionReference number held as a record ID. The metadata does not say which record it points to.low confidenceInt64
RefRecId
NoNone
WarehouseWarehouse where the transaction took place.String
InventLocationId
NoInventLocation.InventLocationIdNone

Indexes (4)

Relations (19)

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

  • Color → EcoResColor

    Join on Color = EcoResColor.Name

    Many ReqDemPlanCubeStagingTable records → exactly one EcoResColor record

  • Config → EcoResConfiguration

    Join on Configuration = EcoResConfiguration.Name

    Many ReqDemPlanCubeStagingTable records → exactly one EcoResConfiguration record

  • CustGroup → CustGroup

    Join on CustGroupId = CustGroup.CustGroup

    Many ReqDemPlanCubeStagingTable records → zero or one CustGroup record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many ReqDemPlanCubeStagingTable records → zero or one CustTable record

  • DataSource → ReqDemPlanDataSource

    Join on DataSource = ReqDemPlanDataSource.RecId

    Many ReqDemPlanCubeStagingTable records → exactly one ReqDemPlanDataSource record

  • EcoResProduct → EcoResProduct

    Join on Product = EcoResProduct.RecId

    Many ReqDemPlanCubeStagingTable records → zero or one EcoResProduct record

  • ForecastItemAllocationLine → ForecastItemAllocationLine

    Join on ItemId = ForecastItemAllocationLine.ItemId, AllocationKey = ForecastItemAllocationLine.AllocationId

    Many ReqDemPlanCubeStagingTable records → exactly one ForecastItemAllocationLine record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many ReqDemPlanCubeStagingTable records → zero or one InventDim record

  • InventTrans → InventTrans

    Join on InventTransRecId = InventTrans.RecId

    Many ReqDemPlanCubeStagingTable records → zero or one InventTrans record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransOrigin = InventTransOrigin.RecId

    Many ReqDemPlanCubeStagingTable records → zero or one InventTransOrigin record

  • Item → InventTable

    Join on ItemId = InventTable.ItemId

    Many ReqDemPlanCubeStagingTable records → exactly one InventTable record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on LogisticsCountryRegionCode = LogisticsAddressCountryRegion.CountryRegionId

    Many ReqDemPlanCubeStagingTable records → zero or one LogisticsAddressCountryRegion record

  • LogisticsAddressState → LogisticsAddressState

    Join on LogisticsAddressStateId = LogisticsAddressState.StateId, LogisticsCountryRegionCode = LogisticsAddressState.CountryRegionId

    Many ReqDemPlanCubeStagingTable records → zero or one LogisticsAddressState record

  • Site → InventSite

    Join on Site = InventSite.SiteId

    Many ReqDemPlanCubeStagingTable records → exactly one InventSite record

  • Size → EcoResSize

    Join on Size = EcoResSize.Name

    Many ReqDemPlanCubeStagingTable records → exactly one EcoResSize record

  • Status → WHSInventStatus

    Join on StatusId = WHSInventStatus.InventStatusId

    Many ReqDemPlanCubeStagingTable records → exactly one WHSInventStatus record

  • Style → EcoResStyle

    Join on Style = EcoResStyle.Name

    Many ReqDemPlanCubeStagingTable records → exactly one EcoResStyle record

  • ProductVersion → EcoResVersion

    Join on ProductVersion = EcoResVersion.Name

    Many ReqDemPlanCubeStagingTable records → exactly one EcoResVersion record

  • Warehouse → InventLocation

    Join on Warehouse = InventLocation.InventLocationId

    Many ReqDemPlanCubeStagingTable records → exactly one InventLocation record

Get this data out

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

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

Email sales@drdynamics.co.uk