Table
SubBillDetailLineSalesOrder
Billing invoice line sales orders table
Links a billing detail line to a sales order line. The key is the billing detail line record ID plus the sales line record ID. It also keeps the invoice, customer account, project proposal and customer split references for that sales line.
- Table name
SubBillDetailLineSalesOrder- Module
Subscription billing- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
SalesLineRecId- Replacement key
SalesLineRecId- Key fields
BillingDetailLineRecId, SalesLineRecId- Model
SubscriptionBilling
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BillingDetailLineRecIdSystem record ID of the billing detail line. | Int64RefRecId | No | SubBillDetailLine.RecId | SubBillDetailLineSalesOrderBiEntity |
SalesLineRecIdSystem record ID of the sales order line. | Int64RefRecId | No | SalesLine.RecId | SubBillDetailLineSalesOrderBiEntity |
CustAccountCustomer account of the billing schedule, pointing to a customer record. | String (20)CustAccount | Yes | CustTable.AccountNum | SubBillDetailLineSalesOrderBiEntity |
CustomerInvoiceTransRecIdSystem record ID of the customer invoice line. | Int64RefRecId | No | CustInvoiceTrans.RecId | SubBillDetailLineSalesOrderBiEntity |
CustomerSplitRecIdSystem record ID of the customer split line. | Int64RefRecId | No | SubBillCustomerSplitLine.RecId | SubBillDetailLineSalesOrderBiEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | SubBillDetailLineSalesOrderBiEntity | |
InvoiceDateDate of the invoice. | DateTransDate | No | SubBillDetailLineSalesOrderBiEntity | |
InvoiceIdInvoice identifier, related to the customer invoice journal. | String (20)CustInvoiceId | No | SubBillDetailLineSalesOrderBiEntity | |
MEADeferredRevenueAmountAmount of deferred revenue linked to the line.low confidence | RealSubBillMEADefRevAmount | No | SubBillDetailLineSalesOrderBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjectInvoiceItemRecIdSystem record ID of the project invoice item. | Int64RefRecId | No | ProjInvoiceItem.RecId | SubBillDetailLineSalesOrderBiEntity |
ProjectProposalIdIdentifier of the project invoice proposal. | String (50)ProjProposalId | No | ProjProposalJour.ProposalId | SubBillDetailLineSalesOrderBiEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | SubBillDetailLineSalesOrderBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | SubBillDetailLineSalesOrderBiEntity | |
SalesIdSales order number, pointing to a sales order. | String (20)SalesId | No | SalesTable.SalesId | SubBillDetailLineSalesOrderBiEntity |
SalesLineAmountNet amount of the sales line. | RealSalesLineAmount | No | SubBillDetailLineSalesOrderBiEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
SalesLineNot unique.
SalesLineRecIdPrimary indexReplacement keyBillingDetailLineRecId,SalesLineRecIdUnique, alternate key.
SalesIdLineAmountNot unique.
Relations (9)
Each relation joins SubBillDetailLineSalesOrder to another table on the fields shown.
DetailLine→SubBillDetailLineJoin on
BillingDetailLineRecId = SubBillDetailLine.RecIdMany SubBillDetailLineSalesOrder records → exactly one SubBillDetailLine record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany SubBillDetailLineSalesOrder records → zero or one SalesTable record
SalesLine→SalesLineJoin on
SalesLineRecId = SalesLine.RecIdMany SubBillDetailLineSalesOrder records → zero or one SalesLine record
CustInvoiceJour→CustInvoiceJourJoin on
InvoiceId = CustInvoiceJour.InvoiceIdMany SubBillDetailLineSalesOrder records → zero or one CustInvoiceJour record
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany SubBillDetailLineSalesOrder records → zero or one CustTable record
CustInvoiceTrans→CustInvoiceTransJoin on
CustomerInvoiceTransRecId = CustInvoiceTrans.RecIdZero or one SubBillDetailLineSalesOrder record → zero or one CustInvoiceTrans record
ProjInvoiceItem→ProjInvoiceItemJoin on
ProjectInvoiceItemRecId = ProjInvoiceItem.RecIdZero or one SubBillDetailLineSalesOrder record → zero or one ProjInvoiceItem record
ProjProposalJour→ProjProposalJourJoin on
ProjectProposalId = ProjProposalJour.ProposalIdZero or one SubBillDetailLineSalesOrder record → zero or one ProjProposalJour record
CustomerSplitLine→SubBillCustomerSplitLineJoin on
CustomerSplitRecId = SubBillCustomerSplitLine.RecIdMany SubBillDetailLineSalesOrder records → zero or one SubBillCustomerSplitLine record
Get this data out
Tables are not exposed directly. These public entities read from SubBillDetailLineSalesOrder; use one of them in Power BI, Power Platform or a data management project.
SubBillDetailLineSalesOrderBiEntity· 15 fields from this table
Need help with SubBillDetailLineSalesOrder in a report, an integration or a migration? Talk to Dr Dynamics.