Table

SubBillSalesLine

Subscription billing sales line

Transaction table for subscription billing sales lines. Each row links a billing schedule line and detail line to customer, delivery, contact, split and unbilled revenue account details. It has no key.

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

Fields (43)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ContactPersonIdContact person, linked to the contacts table.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdNone
CustomerSplitLinePercentPercentage of the customer split line.Real
Percent
NoNone
CustomerSplitPercentPercent of the amount assigned in the customer split.Real
Percent
NoNone
CustomerSplitRecIdSystem record ID of the customer split line.Int64
RefRecId
NoSubBillCustomerSplitLine.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryNameName used for delivery.String (100)
LogisticsDeliveryName
NoNone
DeliveryPostalAddressSystem record ID of the delivery postal address.Int64
LogisticsPostalAddressRecId
NoNone
DiscountAmountTotal discount amount. Currency not stated in the metadata.Real
Amount
NoNone
EmailEmail address.String (80)
Email
NoNone
EndDateEnd date.Date
EndDate
NoNone
InvoiceSeparatelySchNumberBilling schedule number used when invoicing separately.String (20)
SubBillBillingScheduleNumber
NoNone
IsCustomerSplitYes/No flag showing whether the line has a customer split.Enum
NoYes (enum)
NoNone
IsScheduleCustomerSplitYes/No flag showing whether the schedule has a customer split.Enum
NoYes (enum)
NoNone
IsScheduleHeaderCustomerSplitYes/No flag for a customer split on the schedule header. No label is given.Enum
NoYes (enum)
NoNone
IsTerminationCustomerSplitYes/No flag for a customer split on termination.Enum
NoYes (enum)
NoNone
ItemGroupIdItem group of the item, linked to the item group table.String
ItemGroupId
NoInventItemGroup.ItemGroupIdNone
ParmIdParameter ID of the invoice processing line.String (20)
ParmId
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
RefundAmountRefund amount. Currency not stated in the metadata.Real
Amount
NoNone
ScheduleDtlRecIdSystem record ID of the billing detail line. No label is given.Int64NoSubBillDetailLine.RecIdNone
StartDateStart date.Date
StartDate
NoNone
SubBillAddressSystem record ID of the postal address.Int64
LogisticsPostalAddressRecId
NoNone
SubBillAddressNameName used for delivery.String (100)
LogisticsDeliveryName
NoNone
SubBillAllocHdrIdID of the allocation header. No label is given.low confidenceInt64NoNone
SubBillAllocLineIdID of the allocation line. No label is given.low confidenceInt64NoNone
SubBillAllocMEATypeMultiple element arrangement type: none, single or multiple.Enum
SubBillAllocMEAType (enum)
NoNone
SubBillBillingScheduleNumberNumber of the billing schedule.String (20)
SubBillBillingScheduleNumber
NoNone
SubBillDetailLineRecIdSystem record ID of the billing detail line. No label is given.Int64NoNone
SubBillOriginalSalesIdNumber of the original sales order.String (20)
SubBillOriginalSalesId
NoNone
SubBillSalesLineConsolidatedRecIdSystem record ID of the consolidated sales line.Int64
RecId
NoNone
SubBillSchedLineRecIdSystem record ID of the billing schedule line.Int64NoSubBillScheduleLine.RecIdNone
SubBillScheduleLineInvoiceSeparatelyYes/No flag showing whether the schedule line is invoiced separately.Enum
SubBillInvoiceSeparately
NoYes (enum)
NoNone
SubBillScheduleLineInvoiceSeparatelyRecIdSystem record ID of the schedule line invoiced separately. No label is given.Int64
SubBillScheduleLineRecId
NoNone
SubBillScheduleLineRecIdSystem record ID of the billing schedule line.Int64
RefRecId
NoNone
SubBillUnbilledRevenueAccountLedger account combination for unbilled revenue.Int64
SubBillUnbilledRevenueAccount
NoDimensionAttributeValueCombination.RecIdNone
SubBillUnbilledRevenueOffsetAccountLedger account combination that offsets unbilled revenue.Int64
SubBillUnbilledRevenueOffsetAccount
NoDimensionAttributeValueCombination.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TerminationScheduleLineSystem record ID of the billing schedule line affected by a termination.Int64
RefRecId
NoSubBillScheduleLine.RecIdNone
TransRecIdSystem record ID of a related record. The target is not stated in the metadata.low confidenceInt64
RefRecId
NoNone
UnbilledRevenueCreditYes/No flag for an unbilled revenue credit.Enum
NoYesId
NoYes (enum)
NoNone
URLInternet address.String (255)
URL
NoNone

Indexes (2)

Relations (10)

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

  • SubBillDetailLine → SubBillDetailLine

    Join on ScheduleDtlRecId = SubBillDetailLine.RecId

    Zero or one SubBillSalesLine record → zero or one SubBillDetailLine record

  • SubBillInvoiceParmLine → SubBillInvoiceParmLine

    Join on ParmId = SubBillInvoiceParmLine.ParmId

    Many SubBillSalesLine records → zero or one SubBillInvoiceParmLine record

  • SubBillScheduleLine → SubBillScheduleLine

    Join on SubBillSchedLineRecId = SubBillScheduleLine.RecId

    Many SubBillSalesLine records → zero or one SubBillScheduleLine record

  • InventItemGroup → InventItemGroup

    Join on ItemGroupId = InventItemGroup.ItemGroupId

    Many SubBillSalesLine records → zero or one InventItemGroup record

  • CustTable → CustTable

    Join on ContactPersonId = CustTable.ContactPersonId

    Many SubBillSalesLine records → zero or one CustTable record

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many SubBillSalesLine records → zero or one ContactPerson record

  • SubBillUnbilledRevenueAccount → DimensionAttributeValueCombination

    Join on SubBillUnbilledRevenueAccount = DimensionAttributeValueCombination.RecId

    Many SubBillSalesLine records → zero or one DimensionAttributeValueCombination record

  • SubBillUnbilledRevenueOffsetAccount → DimensionAttributeValueCombination

    Join on SubBillUnbilledRevenueOffsetAccount = DimensionAttributeValueCombination.RecId

    Many SubBillSalesLine records → zero or one DimensionAttributeValueCombination record

  • SubBillCustomerSplit → SubBillCustomerSplitLine

    Join on CustomerSplitRecId = SubBillCustomerSplitLine.RecId

    Many SubBillSalesLine records → zero or one SubBillCustomerSplitLine record

  • TerminationScheduleLine → SubBillScheduleLine

    Join on TerminationScheduleLine = SubBillScheduleLine.RecId

    Many SubBillSalesLine records → exactly one SubBillScheduleLine record

Get this data out

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

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

Email sales@drdynamics.co.uk