Table

SubBillScheduleLineMilestoneAudit

Milestone audit

Audit rows recording changes to the net amount of a billing schedule line linked to milestones. Each row stores the original and new amounts, a reason and the related allocation header. It has no defined key.

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

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AllocationRecIdRecord ID of the milestone allocation header.Int64
RefRecId
NoSubBillMilestoneAllocationHeader.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ItemIdItem number.String (20)
ItemIdSmall
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NewNetAmountNet amount after the change.Real
SalesLineAmount
NoNone
OriginalNetAmountNet amount before the change.Real
SalesLineAmount
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReasonReason code, pointing to the reason record.String
ReasonCode
NoReasonTable.ReasonNone
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
SubBillSchedLineRecIdRecord ID of the billing schedule line.Int64
RefRecId
YesSubBillScheduleLine.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • SubBillScheduleLine → SubBillScheduleLine

    Join on SubBillSchedLineRecId = SubBillScheduleLine.RecId

    Zero or one SubBillScheduleLineMilestoneAudit record → zero or one SubBillScheduleLine record

  • SubBillMilestoneAllocation → SubBillMilestoneAllocationHeader

    Join on AllocationRecId = SubBillMilestoneAllocationHeader.RecId

    Zero or one SubBillScheduleLineMilestoneAudit record → zero or one SubBillMilestoneAllocationHeader record

  • ReasonCode → ReasonTable

    Join on Reason = ReasonTable.Reason, ReasonTable.SubBillMilestoneAudit = NoYes::Yes

    Many SubBillScheduleLineMilestoneAudit records → zero or one ReasonTable record

Get this data out

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

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

Email sales@drdynamics.co.uk