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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LineNumLine number of the audit row. It is part of the key. | RealLineNum | Yes | None | |
ScheduleLineNumLine number of the billing schedule line. It is part of the key. | RealLineNum | Yes | SubBillScheduleLine.LineNum | None |
BillingScheduleNumberNumber of the billing schedule. It is part of the key and is used with the schedule line number. | String (20)SubBillBillingScheduleNumber | Yes | SubBillScheduleLine.SubBillBillingScheduleNumber | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustAccountCustomer account that receives the split. It is the billing schedule customer. | String (20)CustAccount | No | CustTable.AccountNum | None |
CustomerRefCustomer reference text. | String (60)CustRef | No | None | |
CustomerRequisitionCustomer requisition or purchase order number. | String (20)CustPurchaseOrder | No | None | |
CustomerSplitRecIdPoints to the customer split line. | Int64RefRecId | No | SubBillCustomerSplitLine.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EndDateEnd date of the split. | DateSubBillEndDate | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymModeCustomer method of payment. | StringCustPaymMode | No | CustPaymModeTable.PaymMode | None |
PaymSchedPayment schedule used for the split. | String (30)PaymSchedId | No | PaymSched.Name | None |
PaymTermIdTerms of payment used for the split. | String (100)CustPaymTermId | No | PaymTerm.PaymTermId | None |
PercentagePercentage of the split. | RealPercent | No | None | |
ProjCategoryIdProject category linked to the split. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | None |
ProjIdProject linked to the split. | String (20)ProjId | No | ProjTable.ProjId | None |
ProjLinePropertyIdProject line property linked to the split. | StringProjLinePropertyId | No | ProjLineProperty.LinePropertyId | None |
ReasonReason code linked to the split. | StringReasonCode | No | ReasonTable.Reason | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
StartDateStart date of the split. | DateSubBillStartDate | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
LineNumIdxPrimary indexReplacement keyLineNum,ScheduleLineNum,BillingScheduleNumberUnique, alternate key.
Relations (10)
Each relation joins SubBillCustomerSplitAudit to another table on the fields shown.
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany SubBillCustomerSplitAudit records → zero or one CustTable record
ScheduleLine→SubBillScheduleLineJoin on
BillingScheduleNumber = SubBillScheduleLine.SubBillBillingScheduleNumber,ScheduleLineNum = SubBillScheduleLine.LineNumMany SubBillCustomerSplitAudit records → exactly one SubBillScheduleLine record
CustomerSplitLine→SubBillCustomerSplitLineJoin on
CustomerSplitRecId = SubBillCustomerSplitLine.RecIdMany SubBillCustomerSplitAudit records → zero or one SubBillCustomerSplitLine record
ReasonCode→ReasonTableJoin on
Reason = ReasonTable.Reason,ReasonTable.SubBillCustomerSplit = NoYes::YesMany SubBillCustomerSplitAudit records → zero or one ReasonTable record
ProjCategory→ProjCategoryJoin on
ProjCategoryId = ProjCategory.CategoryIdMany SubBillCustomerSplitAudit records → zero or one ProjCategory record
ProjLineProperty→ProjLinePropertyJoin on
ProjLinePropertyId = ProjLineProperty.LinePropertyIdMany SubBillCustomerSplitAudit records → zero or one ProjLineProperty record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany SubBillCustomerSplitAudit records → zero or one ProjTable record
PaymTermId→PaymTermJoin on
PaymTermId = PaymTerm.PaymTermIdMany SubBillCustomerSplitAudit records → zero or one PaymTerm record
PaymMode→CustPaymModeTableJoin on
PaymMode = CustPaymModeTable.PaymModeMany SubBillCustomerSplitAudit records → zero or one CustPaymModeTable record
PaymSched→PaymSchedJoin on
PaymSched = PaymSched.NameMany 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.