Table

SubBillCustomerSplitAudit

Customer split audit table

Audit records for customer splits on subscription billing schedule lines. The key is the line number, the schedule line number and the billing schedule number. Rows hold the split customer, dates, percentage, reason, project, and payment settings.

Table name
SubBillCustomerSplitAudit
Module
Subscription billing
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
LineNumIdx
Replacement key
LineNumIdx
Key fields
LineNum, ScheduleLineNum, BillingScheduleNumber
Model
SubscriptionBilling

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LineNumLine number of the audit row. It is part of the key.Real
LineNum
YesNone
ScheduleLineNumLine number of the billing schedule line. It is part of the key.Real
LineNum
YesSubBillScheduleLine.LineNumNone
BillingScheduleNumberNumber of the billing schedule. It is part of the key and is used with the schedule line number.String (20)
SubBillBillingScheduleNumber
YesSubBillScheduleLine.SubBillBillingScheduleNumberNone
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
CustAccountCustomer account that receives the split. It is the billing schedule customer.String (20)
CustAccount
NoCustTable.AccountNumNone
CustomerRefCustomer reference text.String (60)
CustRef
NoNone
CustomerRequisitionCustomer requisition or purchase order number.String (20)
CustPurchaseOrder
NoNone
CustomerSplitRecIdPoints to the customer split line.Int64
RefRecId
NoSubBillCustomerSplitLine.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EndDateEnd date of the split.Date
SubBillEndDate
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
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymModeCustomer method of payment.String
CustPaymMode
NoCustPaymModeTable.PaymModeNone
PaymSchedPayment schedule used for the split.String (30)
PaymSchedId
NoPaymSched.NameNone
PaymTermIdTerms of payment used for the split.String (100)
CustPaymTermId
NoPaymTerm.PaymTermIdNone
PercentagePercentage of the split.Real
Percent
NoNone
ProjCategoryIdProject category linked to the split.String (30)
ProjCategoryId
NoProjCategory.CategoryIdNone
ProjIdProject linked to the split.String (20)
ProjId
NoProjTable.ProjIdNone
ProjLinePropertyIdProject line property linked to the split.String
ProjLinePropertyId
NoProjLineProperty.LinePropertyIdNone
ReasonReason code linked to the split.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
StartDateStart date of the split.Date
SubBillStartDate
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (10)

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

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many SubBillCustomerSplitAudit records → zero or one CustTable record

  • ScheduleLine → SubBillScheduleLine

    Join on BillingScheduleNumber = SubBillScheduleLine.SubBillBillingScheduleNumber, ScheduleLineNum = SubBillScheduleLine.LineNum

    Many SubBillCustomerSplitAudit records → exactly one SubBillScheduleLine record

  • CustomerSplitLine → SubBillCustomerSplitLine

    Join on CustomerSplitRecId = SubBillCustomerSplitLine.RecId

    Many SubBillCustomerSplitAudit records → zero or one SubBillCustomerSplitLine record

  • ReasonCode → ReasonTable

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

    Many SubBillCustomerSplitAudit records → zero or one ReasonTable record

  • ProjCategory → ProjCategory

    Join on ProjCategoryId = ProjCategory.CategoryId

    Many SubBillCustomerSplitAudit records → zero or one ProjCategory record

  • ProjLineProperty → ProjLineProperty

    Join on ProjLinePropertyId = ProjLineProperty.LinePropertyId

    Many SubBillCustomerSplitAudit records → zero or one ProjLineProperty record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many SubBillCustomerSplitAudit records → zero or one ProjTable record

  • PaymTermId → PaymTerm

    Join on PaymTermId = PaymTerm.PaymTermId

    Many SubBillCustomerSplitAudit records → zero or one PaymTerm record

  • PaymMode → CustPaymModeTable

    Join on PaymMode = CustPaymModeTable.PaymMode

    Many SubBillCustomerSplitAudit records → zero or one CustPaymModeTable record

  • PaymSched → PaymSched

    Join on PaymSched = PaymSched.Name

    Many SubBillCustomerSplitAudit records → zero or one PaymSched record

Get this data out

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

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

Email sales@drdynamics.co.uk