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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ParentRefRecIdPoints to the parent product bundle record.Int64
SalesBundleParentRefRecId
YesSalesBundleParent.RecIdNone
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
RefRecIdSystem ID of the document line that is linked.Int64
RefRecId
YesNone
RefTableIdID of the table that holds the linked document line.Integer
RefTableId
YesNone
RootParentRefRecIdPoints to the top-level product bundle record.Int64
SalesBundleParentRefRecId
YesSalesBundleParent.RecIdNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (5)

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

  • CustConfirmTrans → CustConfirmTrans

    Join on RefTableId = CustConfirmTrans.TableId, RefRecId = CustConfirmTrans.RecId

    Zero or one SalesBundleParentRelationship record → zero or one CustConfirmTrans record

  • CustInvoiceTrans → CustInvoiceTrans

    Join on RefTableId = CustInvoiceTrans.TableId, RefRecId = CustInvoiceTrans.RecId

    Zero or one SalesBundleParentRelationship record → zero or one CustInvoiceTrans record

  • CustPackingSlipTrans → CustPackingSlipTrans

    Join on RefTableId = CustPackingSlipTrans.TableId, RefRecId = CustPackingSlipTrans.RecId

    Zero or one SalesBundleParentRelationship record → zero or one CustPackingSlipTrans record

  • BundleParent → SalesBundleParent

    Join on ParentRefRecId = SalesBundleParent.RecId

    One or more SalesBundleParentRelationship records → exactly one SalesBundleParent record

  • BundleRootParent → SalesBundleParent

    Join on RootParentRefRecId = SalesBundleParent.RecId

    One 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.

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

Email sales@drdynamics.co.uk