Table

SubBillMilestoneAllocationLine

Subscription billing milestone allocation line

Line of a milestone allocation. Each line is identified by the billing schedule line reference and a line number. It holds the item, percentage and amount for the line, and can link to a related child billing schedule line.

Table name
SubBillMilestoneAllocationLine
Module
Subscription billing
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
IdLineNum
Replacement key
IdLineNum
Key fields
SubBillSchedLineRecId, LineNum
Model
SubscriptionBilling

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillSchedLineRecIdReference to the milestone allocation header that owns this line.Int64
RefRecId
YesSubBillMilestoneAllocationHeader.SubBillSchedLineRecIdNone
LineNumLine number within the allocation.Real
LineNum
YesNone
AllocationPercentageAllocation percentage for the line.Real
Percent
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ItemIdItem number for the line.String (20)
ItemIdSmall
NoNone
OrigExtendedAmountOriginal net amount before changes. Currency not stated in the metadata.Real
SalesLineAmount
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
RelatedChildLineRecIdSystem record ID of the related child billing schedule line.Int64
RefRecId
NoSubBillScheduleLine.RecIdNone
SubBillAdjustmentYes/No flag showing whether the line is an adjustment.Enum
NoYes (enum)
NoNone
SubBillAmountNet amount of the line. Currency not stated in the metadata.Real
SalesLineAmount
NoNone
SubBillPercentagePercentage share allocated to this line.Real
Percent
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • MilestoneAllocationHeader → SubBillMilestoneAllocationHeader

    Join on SubBillSchedLineRecId = SubBillMilestoneAllocationHeader.SubBillSchedLineRecId

    Many SubBillMilestoneAllocationLine records → exactly one SubBillMilestoneAllocationHeader record

  • BillingScheduleLine → SubBillScheduleLine

    Join on RelatedChildLineRecId = SubBillScheduleLine.RecId

    Zero or one SubBillMilestoneAllocationLine record → exactly one SubBillScheduleLine record

Get this data out

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

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

Email sales@drdynamics.co.uk