Table

RevRecRevenuePrice

Revenue allocation prices

Holds revenue allocation prices, each valid for a date range and currency. A price can apply to one item, an item group or all items. It can also apply to one customer, a customer group or all customers. The key combines the dates, currency and item and account selections.

Table name
RevRecRevenuePrice
Module
Accounts receivable
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
ReplacementKeyIdx
Key fields
ToDate, FromDate, Currency, ItemRelation, ItemCode, AccountRelation, AccountCode
Model
RevenueRecognition

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ToDateLast date the price is valid.Date
ToDate
NoRevRecRevenuePriceEntity
FromDateFirst date the price is valid.Date
FromDate
NoRevRecRevenuePriceEntity
CurrencyCurrency the price is set in.String (3)
CurrencyCode
YesCurrency.CurrencyCodeRevRecRevenuePriceEntity
ItemRelationItem or item group the price applies to.String (20)
PriceDiscItemRelation
NoInventItemGroup.ItemGroupIdInventTable.ItemIdRevRecRevenuePriceEntity
ItemCodeSays whether the price applies to one item, an item group or all items.Enum
PriceDiscItemCode
TableGroupAll (enum)
NoRevRecRevenuePriceEntity
AccountRelationCustomer or customer group the price applies to.String (20)
PriceDiscAccountRelation
NoCustGroup.CustGroupCustTable.AccountNumRevRecRevenuePriceEntity
AccountCodeSays whether the price applies to one customer, a customer group or all customers.Enum
PriceDiscAccountCode
TableGroupAll (enum)
NoRevRecRevenuePriceEntity
AllocationPriceThe revenue allocation price value.Real
Price
NoRevRecRevenuePriceEntity
AmountPercentListSays whether the price is a fixed amount or a percentage of list price.Enum
RevRecAmountPercentList (enum)
NoRevRecRevenuePriceEntity
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
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
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

Indexes (1)

Relations (5)

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

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many RevRecRevenuePrice records → exactly one Currency record

  • CustGroup → CustGroup

    Join on AccountCode = 1, AccountRelation = CustGroup.CustGroup

    Many RevRecRevenuePrice records → zero or one CustGroup record

  • CustTable → CustTable

    Join on AccountCode = null, AccountRelation = CustTable.AccountNum

    Many RevRecRevenuePrice records → zero or one CustTable record

  • InventItemGroup → InventItemGroup

    Join on ItemRelation = InventItemGroup.ItemGroupId, ItemCode = 1

    Many RevRecRevenuePrice records → zero or one InventItemGroup record

  • InventTable → InventTable

    Join on ItemCode = null, ItemRelation = InventTable.ItemId

    Many RevRecRevenuePrice records → zero or one InventTable record

Get this data out

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

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

Email sales@drdynamics.co.uk