Table
SalesBundleParentRelationship
Product bundle parent relations
Links a product bundle parent record to a document line, such as a confirmation, invoice or packing slip line. The link uses a table ID and a record ID. It also stores the parent and root parent bundle references.
- Table name
SalesBundleParentRelationship- Module
Sales and marketing- Table group
Reference- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
None- Replacement key
None- Key fields
None- Model
Bundle
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ParentRefRecIdPoints to the parent product bundle record. | Int64SalesBundleParentRefRecId | Yes | SalesBundleParent.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
RefRecIdSystem ID of the document line that is linked. | Int64RefRecId | Yes | None | |
RefTableIdID of the table that holds the linked document line. | IntegerRefTableId | Yes | None | |
RootParentRefRecIdPoints to the top-level product bundle record. | Int64SalesBundleParentRefRecId | Yes | SalesBundleParent.RecId | None |
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)
RefTableIdxUnique, alternate key.
RootParentIdxNot unique.
ParentIdxNot unique.
Relations (5)
Each relation joins SalesBundleParentRelationship to another table on the fields shown.
CustConfirmTrans→CustConfirmTransJoin on
RefTableId = CustConfirmTrans.TableId,RefRecId = CustConfirmTrans.RecIdZero or one SalesBundleParentRelationship record → zero or one CustConfirmTrans record
CustInvoiceTrans→CustInvoiceTransJoin on
RefTableId = CustInvoiceTrans.TableId,RefRecId = CustInvoiceTrans.RecIdZero or one SalesBundleParentRelationship record → zero or one CustInvoiceTrans record
CustPackingSlipTrans→CustPackingSlipTransJoin on
RefTableId = CustPackingSlipTrans.TableId,RefRecId = CustPackingSlipTrans.RecIdZero or one SalesBundleParentRelationship record → zero or one CustPackingSlipTrans record
BundleParent→SalesBundleParentJoin on
ParentRefRecId = SalesBundleParent.RecIdOne or more SalesBundleParentRelationship records → exactly one SalesBundleParent record
BundleRootParent→SalesBundleParentJoin on
RootParentRefRecId = SalesBundleParent.RecIdOne or more SalesBundleParentRelationship records → exactly one SalesBundleParent record
Get this data out
Tables are not exposed directly. These public entities read from SalesBundleParentRelationship; use one of them in Power BI, Power Platform or a data management project.
BundleSalesInvoiceLineEntity· 0 fields from this tableBundleSalesOrderConfirmationLineEntity· 0 fields from this table
Need help with SalesBundleParentRelationship in a report, an integration or a migration? Talk to Dr Dynamics.