Table

SubBillUnbilledRevenueAccounts

Unbilled revenue account setup

Setup table for ledger accounts used for unbilled revenue. The key is an item code (a single item, a group, all items or a category) plus the item relation. Each record gives accounts for revenue, discount and their offsets, with short-term versions.

Table name
SubBillUnbilledRevenueAccounts
Module
Subscription billing
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
Index
Key fields
ItemCode, ItemRelation
Model
SubscriptionBilling

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ItemCodeSays whether the record applies to one item, an item group, all items or a category.Enum
InventPostingItemCode (enum)
NoSubBillUnbilledRevenueAccountsEntity
ItemRelationItem or item group that the record applies to.String (20)
InventItemRelation
NoInventItemGroup.ItemGroupIdInventTable.ItemIdSubBillUnbilledRevenueAccountsEntity
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
SubBillShortTermUnbilledDiscountAccountLedger account for short-term unbilled discount.Int64
SubBillUnbilledShortTermDiscountAccount
NoDimensionAttributeValueCombination.RecIdNone
SubBillShortTermUnbilledRevenueAccountLedger account for short-term unbilled revenue.Int64
SubBillUnbilledShortTermRevenueAccount
NoDimensionAttributeValueCombination.RecIdNone
SubBillUnbilledDiscountAccountLedger account for unbilled discount.Int64
SubBillDeferralUnbilledDiscountAccount
YesDimensionAttributeValueCombination.RecIdNone
SubBillUnbilledDiscountOffsetAccountOffset ledger account for unbilled discount.Int64
SubBillUnbilledDiscountOffsetAccount
NoDimensionAttributeValueCombination.RecIdNone
SubBillUnbilledRevenueAccountLedger account for unbilled revenue.Int64
SubBillUnbilledRevenueAccount
YesDimensionAttributeValueCombination.RecIdNone
SubBillUnbilledRevenueOffsetAccountOffset ledger account for unbilled revenue.Int64
SubBillUnbilledRevenueOffsetAccount
NoDimensionAttributeValueCombination.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (8)

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

  • LedgerDimensionUnbilledRevenueAccount → DimensionAttributeValueCombination

    Join on SubBillUnbilledRevenueAccount = DimensionAttributeValueCombination.RecId

    Many SubBillUnbilledRevenueAccounts records → exactly one DimensionAttributeValueCombination record

  • LedgerDimensionUnbilledDiscAccount → DimensionAttributeValueCombination

    Join on SubBillUnbilledDiscountAccount = DimensionAttributeValueCombination.RecId

    Many SubBillUnbilledRevenueAccounts records → exactly one DimensionAttributeValueCombination record

  • LedgerDimensionUnbilledRevenueOffsetAccount → DimensionAttributeValueCombination

    Join on SubBillUnbilledRevenueOffsetAccount = DimensionAttributeValueCombination.RecId

    Many SubBillUnbilledRevenueAccounts records → exactly one DimensionAttributeValueCombination record

  • LedgerDimensionUnbilledDiscountOffsetAccount → DimensionAttributeValueCombination

    Join on SubBillUnbilledDiscountOffsetAccount = DimensionAttributeValueCombination.RecId

    Many SubBillUnbilledRevenueAccounts records → exactly one DimensionAttributeValueCombination record

  • InventTable → InventTable

    Join on ItemCode = InventPostingItemCode::Table, ItemRelation = InventTable.ItemId

    Many SubBillUnbilledRevenueAccounts records → zero or one InventTable record

  • InventItemGroup → InventItemGroup

    Join on ItemCode = InventPostingItemCode::GroupId, ItemRelation = InventItemGroup.ItemGroupId

    Many SubBillUnbilledRevenueAccounts records → zero or one InventItemGroup record

  • LedgerDimensionUnbilledRevenueShortTermAccount → DimensionAttributeValueCombination

    Join on SubBillShortTermUnbilledRevenueAccount = DimensionAttributeValueCombination.RecId

    Many SubBillUnbilledRevenueAccounts records → exactly one DimensionAttributeValueCombination record

  • LedgerDimensionUnbilledDiscShortTermAccount → DimensionAttributeValueCombination

    Join on SubBillShortTermUnbilledDiscountAccount = DimensionAttributeValueCombination.RecId

    Many SubBillUnbilledRevenueAccounts records → exactly one DimensionAttributeValueCombination record

Get this data out

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

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

Email sales@drdynamics.co.uk