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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CategoryIdProject category that the price applies to. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | SMAServiceSubscriptionSalesPriceEntity |
CurrencyCodeSales currency of the price. | String (3)SMASalesCurrencyCode | Yes | Currency.CurrencyCode | SMAServiceSubscriptionSalesPriceEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjIdProject that the price applies to. | String (20)ProjId | No | ProjTable.ProjId | SMAServiceSubscriptionSalesPriceEntity |
ProjPeriodIdProject period code for the price. | StringProjPeriodId | Yes | ProjPeriodTable.PeriodId | SMAServiceSubscriptionSalesPriceEntity |
ProjPriceGroupPrice group for the price. | StringProjPriceGroupID | No | SMAServiceSubscriptionSalesPriceEntity | |
ProjValidForWhether the price is valid for a table, a group or all. | EnumProjPriceGroupValidForTableGroupAll (enum) | No | SMAServiceSubscriptionSalesPriceEntity | |
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 | |
SalesPriceSales price amount. | RealAmount | No | SMAServiceSubscriptionSalesPriceEntity | |
SMASubscriptionIdSubscription that the price belongs to. | String (20)SMASubscriptionId | No | SMASubscriptionTable.SubscriptionId | SMAServiceSubscriptionSalesPriceEntity |
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 | |
ValidFromDate from which the price is effective. | DateTransDate | Yes | SMAServiceSubscriptionSalesPriceEntity |
Indexes (1)
PerProjCatSubDateIdxProjValidFor,ProjId,ProjPriceGroup,CategoryId,SMASubscriptionId,ProjPeriodId,ValidFrom,CurrencyCodeUnique.
Relations (6)
Each relation joins SMASalesPriceSubscription to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany SMASalesPriceSubscription records → exactly one Currency record
ProjCategory→ProjCategoryJoin on
CategoryId = ProjCategory.CategoryIdMany SMASalesPriceSubscription records → zero or one ProjCategory record
ProjPeriodTable→ProjPeriodTableJoin on
ProjPeriodId = ProjPeriodTable.PeriodIdMany SMASalesPriceSubscription records → exactly one ProjPeriodTable record
ProjPriceGroup→PriceDiscGroupJoin on
ProjPriceGroup = PriceDiscGroup.GroupId,PriceDiscGroup.Type = PriceGroupType::PriceGroup,PriceDiscGroup.Module = ModuleInventCustVend::CustMany SMASalesPriceSubscription records → zero or one PriceDiscGroup record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany SMASalesPriceSubscription records → zero or one ProjTable record
SMASubscriptionTable→SMASubscriptionTableJoin on
SMASubscriptionId = SMASubscriptionTable.SubscriptionIdMany 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.
SMAServiceSubscriptionSalesPriceEntity· 9 fields from this table
Need help with SMASalesPriceSubscription in a report, an integration or a migration? Talk to Dr Dynamics.