Table

SubBillSalesLineConsolidated

Subscription billing sales line consolidated

Consolidated view of subscription billing schedule lines, shaped like sales lines. It combines schedule line, detail line, customer, item, address, deferral, revenue split, termination and project data in one row. It has no defined key. It links to customers, items, dimensions, billing schedule lines and customer split lines.

Table name
SubBillSalesLineConsolidated
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 (100)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AddressBillingScheduleNumberBilling schedule number used with the address.String (20)
SubBillBillingScheduleNumber
NoNone
BillingClassificationBilling classification code.String (15)
BillingClassification
YesNone
BillingCodeBilling code of the line.String
BillingCode
NoNone
BillingDetailLineSalesOrderRecIdRecord ID of the billing invoice line sales order row.Int64
RefRecId
NoSubBillDetailLineSalesOrder.RecIdNone
ContactPersonIdContact person ID, pointing to the contact record.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdNone
CustAccountCustomer account, pointing to the customer record.String (20)
CustAccount
NoCustTable.AccountNumNone
CustBillingClassificationRecord ID of the customer billing classification.Int64
RefRecId
NoNone
CustCurrencyCodeCurrency code of the customer.String (3)
CustCurrencyCode
NoNone
CustomerLineNumCustomer line number.Integer
CustLineNum
NoNone
CustomerRefCustomer reference text.String (60)
CustRef
NoNone
CustomerRequisitionCustomer requisition or purchase order number at header level.String (20)
CustPurchaseOrder
NoNone
CustomerRequisitionLineCustomer requisition or purchase order number at line level.String (20)
CustPurchaseOrder
NoNone
CustomerSplitLinePercentPercentage on the customer split line.Real
Percent
NoNone
CustomerSplitPercentPercentage share for the customer split.Real
Percent
NoNone
CustomerSplitRecIdRecord 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
DeliveryNameHeaderDelivery name taken from the header.String (100)
LogisticsDeliveryName
NoNone
DeliveryPostalAddressDelivery postal address, stored as a record ID.Int64
LogisticsPostalAddressRecId
NoNone
DeliveryPostalAddressHeaderDelivery postal address from the header, stored as a record ID.Int64
LogisticsPostalAddressRecId
NoNone
DiscountAmountTotal discount amount.Real
Amount
NoNone
EmailEmail address.String (80)
Email
NoNone
EndDateDate the line ends.Date
EndDate
NoNone
ExternalItemIdExternal item number.String (20)
SalesExternalItemId
NoNone
InventDimIdInventory dimension number, pointing to the inventory dimension record.String (20)
InventDimId
NoInventDim.inventDimIdNone
InvoiceAccountCustomer account that receives the invoice.String (20)
CustInvoiceAccount
NoNone
IsSplitBillingYes or no flag showing whether the line uses split billing.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
IsTerminationYes or no flag showing whether the line is a termination.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
IsTerminationCustomerSplitYes or no flag for a termination that involves a customer split.low confidenceEnum
NoYes (enum)
NoNone
IsTerminationProrateYes or no flag for a prorated termination.low confidenceEnum
NoYes (enum)
NoNone
ItemGroupIdItem group, pointing to the item group record.String
ItemGroupId
NoInventItemGroup.ItemGroupIdNone
ItemIdItem number, pointing to the item record.String (20)
ItemId
NoInventTable.ItemIdNone
LineCustomerRefCustomer reference held at line level.String (60)
CustRef
NoNone
LineNumLine number of the row.Real
LineNum
NoNone
LogisticsDeliveryNameDelivery name.String (100)
LogisticsDeliveryName
NoNone
MatchingAgreementRecord ID of the matching agreement header.Int64
AgreementHeaderRecId
NoNone
MatchingAgreementLineRecord ID of the matching agreement line.Int64
AgreementLineRecId
NoNone
ParmIdParameter ID of the invoice processing run, pointing to the billing invoice processing header.String (20)
ParmId
NoSubBillInvoiceParmUpdate.ParmIdNone
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, pointing to the payment method record.String
CustPaymMode
NoCustPaymModeTable.PaymModeNone
PaymSchedPayment schedule, pointing to the payment schedule record.String (30)
PaymSchedId
NoPaymSched.NameNone
PaymTermIdTerms of payment.String (100)
CustPaymTermId
NoNone
PriceUnitQuantity that the price applies to.Real
InventPriceUnitQty
NoNone
ProjCategoryIdProject category.String (30)
ProjCategoryId
NoNone
ProjIdProject ID linked to the line.String (20)
ProjId
NoNone
ProjLinePropertyIdProject line property.String
ProjLinePropertyId
NoNone
ProjTaxGroupSales tax group for the project.String
TaxGroup
NoNone
ProjTaxItemGroupItem sales tax group for the project.String
TaxItemGroup
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
RefundAmountAmount to be refunded.Real
Amount
NoNone
SalesLineAmountNet amount of the line.Real
SalesLineAmount
NoNone
SalesOrderedQtyQuantity on the line.Real
SalesOrderedQty
NoNone
SalesPricePrice per unit on the line.Real
SalesPrice
NoNone
SalesUnitUnit of measure for the quantity.String
SalesUnit
NoNone
ScheduleLineDetailRecIdRecord ID of the schedule line detail row.Int64
RefRecId
NoNone
ScheduleLineRecIdRecord ID of the billing schedule line. The label is empty in the metadata.Int64
SubBillScheduleLineRecId
NoNone
SortingEndDateEnd date used for sorting.Date
EndDate
NoNone
StartDateDate the line starts.Date
StartDate
NoNone
SubBillAddressPostal address, stored as a record ID.Int64
LogisticsPostalAddressRecId
NoNone
SubBillAddressNameDelivery name on the address.String (100)
LogisticsDeliveryName
NoNone
SubBillAllocHdrIdRecord ID of the related allocation header.low confidenceInt64
RefRecId
NoNone
SubBillAllocLineIdRecord ID of the related allocation line.low confidenceInt64
RefRecId
NoNone
SubBillAllocMEATypeType of multiple element arrangement: none, single or multiple.Enum
SubBillAllocMEAType (enum)
NoNone
SubBillBillingScheduleNumberNumber of the billing schedule the line belongs to.String (20)
SubBillBillingScheduleNumber
NoNone
SubBillCopyBillingScheduleNumberBilling schedule number, probably of a copied schedule.low confidenceString (20)
SubBillBillingScheduleNumber
NoNone
SubBillCreditDeferralAdjMethodDeferral adjustment method for credits: unrecognized periods or complete schedule.Enum
SubBillCreditDeferralAdjMethod (enum)
NoNone
SubBillDefaultDimensionDefault financial dimension values for the line, stored as a record ID.Int64
InventSiteLinkedDimensionValueSet
NoNone
SubBillDeferralEndDateDate the deferral ends.Date
SubBillDeferralEndDate
NoNone
SubBillDeferralStartDateDate the deferral starts.Date
SubBillDeferralStartDate
NoNone
SubBillDeferralTransactionLineDeferralRecIdRecord ID of a related deferral transaction line.low confidenceInt64
RefRecId
NoNone
SubBillEndUserAccountAccount of the end user.String (20)
SubBillEndUserAccount
NoNone
SubBillFrequencyHow often the line is billed, for example one-time, monthly or annually.Enum
SubBillFrequency (enum)
NoNone
SubBillInvoicedAmountAmount that has been invoiced.Real
Amount
NoNone
SubBillInvoiceSeparatelyYes or no flag showing whether the line is invoiced on its own.Enum
SubBillInvoiceSeparately
NoYes (enum)
NoNone
SubBillMainAccountMain account, stored as a link to a ledger dimension combination.Int64
SubBillMainAccount
NoDimensionAttributeValueCombination.RecIdNone
SubBillMarkdownAmountDiscount amount on the line.Real
SubBillMarkdownAmount
NoNone
SubBillOriginalSalesIdNumber of the original sales order.String (20)
SubBillOriginalSalesId
NoNone
SubBillPreviewSalesIdSales order number used for preview.String (20)NoNone
SubBillPricingMethodPricing method of the line: standard, flat, tier or flat tier.Enum
SubBillPricingMethod (enum)
NoNone
SubBillProrateTerminationDailyYes or no flag for prorating a termination by day.Enum
SubBillProrateDaily
NoYes (enum)
NoNone
SubBillRetailVariantIdProduct variant number of the item.String
RetailVariantId
NoNone
SubBillRevenueSplitYes or no flag marking the item as a revenue split parent.Enum
SubBillRevenueSplit
NoYes (enum)
NoNone
SubBillRevenueSplitAllocationMethodMethod used to allocate a revenue split, such as variable amount, percentage or equal amount.Enum
SubBillRevenueSplitAllocationMethod (enum)
NoNone
SubBillRevenueSplitParentAmountAmount of the revenue split parent.Real
Amount
NoNone
SubBillRevenueSplitParentLineRecIdRecord ID of the parent line in a revenue split.Int64
RefRecId
NoNone
SubBillScheduleLineFreeTextDescShort description of the schedule line.String (60)
Description
NoNone
SubBillScheduleLineInvoiceSeparatelyYes or no flag showing whether the schedule line is invoiced separately.Enum
SubBillInvoiceSeparately
NoYes (enum)
NoNone
SubBillScheduleLineInvoiceSeparatelyRecIdRecord ID of the schedule line linked to the separate-invoice setting. The label is empty.low confidenceInt64
SubBillScheduleLineRecId
NoNone
SubBillScheduleLineRecIdRecord ID of the billing schedule line.Int64
RefRecId
NoSubBillScheduleLine.RecIdNone
SubBillScheduleLineTextFree text on the schedule line.String (1000)
ItemFreeTxt
NoNone
SubBillSortingLineNumLine number used for sorting.Real
LineNum
NoNone
SubBillTerminationCreditLineYes or no flag labelled Hold, tied to termination credit lines.low confidenceEnum
SubBillTerminationCreditLine
NoYes (enum)
NoNone
SubBillUnbilledRevenueAccountUnbilled revenue account, stored as a link to a ledger dimension combination.Int64
SubBillUnbilledRevenueAccount
NoDimensionAttributeValueCombination.RecIdNone
SubBillUnbilledRevenueOffsetAccountOffset account for unbilled revenue, stored as a link to a ledger dimension combination.Int64
SubBillUnbilledRevenueOffsetAccount
NoDimensionAttributeValueCombination.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxItemGroupHeadingItem sales tax group, pointing to the tax group record.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
TerminationScheduleLineRecord ID of the billing schedule line affected by a termination.Int64
RefRecId
NoSubBillScheduleLine.RecIdNone
UnbilledRevenueCreditYes or no flag for an unbilled revenue credit.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
URLInternet address.String (255)
URL
NoNone

Indexes (4)

Relations (17)

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

  • SubBillInvoiceParmUpdate → SubBillInvoiceParmUpdate

    Join on ParmId = SubBillInvoiceParmUpdate.ParmId

    Many SubBillSalesLineConsolidated records → exactly one SubBillInvoiceParmUpdate record

  • InventItemGroup → InventItemGroup

    Join on ItemGroupId = InventItemGroup.ItemGroupId

    Many SubBillSalesLineConsolidated records → zero or one InventItemGroup record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many SubBillSalesLineConsolidated records → zero or one CustTable record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many SubBillSalesLineConsolidated records → zero or one InventTable record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many SubBillSalesLineConsolidated records → zero or one InventDim record

  • InventDimCombination → InventDimCombination

    Join on SubBillRetailVariantId = InventDimCombination.RetailVariantId

    Many SubBillSalesLineConsolidated records → zero or one InventDimCombination record

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many SubBillSalesLineConsolidated records → zero or one ContactPerson record

  • CustPaymModeTable → CustPaymModeTable

    Join on PaymMode = CustPaymModeTable.PaymMode

    Many SubBillSalesLineConsolidated records → zero or one CustPaymModeTable record

  • PaymSched → PaymSched

    Join on PaymSched = PaymSched.Name

    Many SubBillSalesLineConsolidated records → zero or one PaymSched record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroupHeading = TaxItemGroupHeading.TaxItemGroup

    Many SubBillSalesLineConsolidated records → zero or one TaxItemGroupHeading record

  • SubBillMainAccount → DimensionAttributeValueCombination

    Join on SubBillMainAccount = DimensionAttributeValueCombination.RecId

    Many SubBillSalesLineConsolidated records → zero or one DimensionAttributeValueCombination record

  • SubBillUnbilledRevenueAccount → DimensionAttributeValueCombination

    Join on SubBillUnbilledRevenueAccount = DimensionAttributeValueCombination.RecId

    Many SubBillSalesLineConsolidated records → zero or one DimensionAttributeValueCombination record

  • SubBillUnbilledRevenueOffsetAccount → DimensionAttributeValueCombination

    Join on SubBillUnbilledRevenueOffsetAccount = DimensionAttributeValueCombination.RecId

    Many SubBillSalesLineConsolidated records → zero or one DimensionAttributeValueCombination record

  • SubBillDetailLineSalesOrder → SubBillDetailLineSalesOrder

    Join on BillingDetailLineSalesOrderRecId = SubBillDetailLineSalesOrder.RecId

    Many SubBillSalesLineConsolidated records → exactly one SubBillDetailLineSalesOrder record

  • ScheduleLine → SubBillScheduleLine

    Join on SubBillScheduleLineRecId = SubBillScheduleLine.RecId

    Many SubBillSalesLineConsolidated records → exactly one SubBillScheduleLine record

  • CustomerSplitLine → SubBillCustomerSplitLine

    Join on CustomerSplitRecId = SubBillCustomerSplitLine.RecId

    Many SubBillSalesLineConsolidated records → zero or one SubBillCustomerSplitLine record

  • TerminationScheduleLine → SubBillScheduleLine

    Join on TerminationScheduleLine = SubBillScheduleLine.RecId

    Many SubBillSalesLineConsolidated records → exactly one SubBillScheduleLine record

Get this data out

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

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

Email sales@drdynamics.co.uk