Table

SMASalesPriceSubscription

Sales price - subscription

Holds sales prices for subscriptions. A price can be set for a project, a project category, a period code and a price group, in a sales currency. It links to a subscription and has an effective date.

Table name
SMASalesPriceSubscription
Module
Service management
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
SMASubscription
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CategoryIdProject category that the price applies to.String (30)
ProjCategoryId
NoProjCategory.CategoryIdSMAServiceSubscriptionSalesPriceEntity
CurrencyCodeSales currency of the price.String (3)
SMASalesCurrencyCode
YesCurrency.CurrencyCodeSMAServiceSubscriptionSalesPriceEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjIdProject that the price applies to.String (20)
ProjId
NoProjTable.ProjIdSMAServiceSubscriptionSalesPriceEntity
ProjPeriodIdProject period code for the price.String
ProjPeriodId
YesProjPeriodTable.PeriodIdSMAServiceSubscriptionSalesPriceEntity
ProjPriceGroupPrice group for the price.String
ProjPriceGroupID
NoSMAServiceSubscriptionSalesPriceEntity
ProjValidForWhether the price is valid for a table, a group or all.Enum
ProjPriceGroupValidFor
TableGroupAll (enum)
NoSMAServiceSubscriptionSalesPriceEntity
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
SalesPriceSales price amount.Real
Amount
NoSMAServiceSubscriptionSalesPriceEntity
SMASubscriptionIdSubscription that the price belongs to.String (20)
SMASubscriptionId
NoSMASubscriptionTable.SubscriptionIdSMAServiceSubscriptionSalesPriceEntity
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
ValidFromDate from which the price is effective.Date
TransDate
YesSMAServiceSubscriptionSalesPriceEntity

Indexes (1)

Relations (6)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many SMASalesPriceSubscription records → exactly one Currency record

  • ProjCategory → ProjCategory

    Join on CategoryId = ProjCategory.CategoryId

    Many SMASalesPriceSubscription records → zero or one ProjCategory record

  • ProjPeriodTable → ProjPeriodTable

    Join on ProjPeriodId = ProjPeriodTable.PeriodId

    Many SMASalesPriceSubscription records → exactly one ProjPeriodTable record

  • ProjPriceGroup → PriceDiscGroup

    Join on ProjPriceGroup = PriceDiscGroup.GroupId, PriceDiscGroup.Type = PriceGroupType::PriceGroup, PriceDiscGroup.Module = ModuleInventCustVend::Cust

    Many SMASalesPriceSubscription records → zero or one PriceDiscGroup record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many SMASalesPriceSubscription records → zero or one ProjTable record

  • SMASubscriptionTable → SMASubscriptionTable

    Join on SMASubscriptionId = SMASubscriptionTable.SubscriptionId

    Many SMASalesPriceSubscription records → zero or one SMASubscriptionTable record

Get this data out

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

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

Email sales@drdynamics.co.uk