Table

SubBillMilestoneAllocationHeader

Milestone allocation header

Header record for a milestone allocation, keyed by the billing schedule line it refers to. It stores the milestone template used, the allocation method, the extended price and the parent item.

Table name
SubBillMilestoneAllocationHeader
Module
Subscription billing
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
ScheduleLineRecId
Replacement key
ScheduleLineRecId
Key fields
SubBillSchedLineRecId
Model
SubscriptionBilling

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillSchedLineRecIdSystem record ID of the billing schedule line this allocation belongs to.Int64
RefRecId
YesSubBillScheduleLine.RecIdNone
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
SubBillAllocationMethodMethod used to split the amount: percentage, variable amount, equal amount or percent completed.Enum
SubBillAllocationMethod (enum)
NoNone
SubBillExtendedPriceExtended price of the item being allocated. Currency not stated in the metadata.Real
SalesInvoicedQty
YesNone
SubBillMilestoneTemplateDescriptionDescription of the milestone template.String (60)
Description
NoNone
SubBillMilestoneTemplateIdMilestone template used for this allocation, linked to the milestone template header.String (20)
SubBillMilestoneTemplateId
NoSubBillMilestoneTemplateHeader.SubBillMilestoneTemplateIdNone
SubBillParentItemItem number of the parent item.String (20)
ItemIdSmall
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • BillingScheduleLine → SubBillScheduleLine

    Join on SubBillSchedLineRecId = SubBillScheduleLine.RecId

    Zero or one SubBillMilestoneAllocationHeader record → exactly one SubBillScheduleLine record

  • MilestoneTemplateHeader → SubBillMilestoneTemplateHeader

    Join on SubBillMilestoneTemplateId = SubBillMilestoneTemplateHeader.SubBillMilestoneTemplateId

    Many SubBillMilestoneAllocationHeader records → zero or one SubBillMilestoneTemplateHeader record

Get this data out

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

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

Email sales@drdynamics.co.uk