Table

SalesBundleParent

Product bundle parent

Holds the parent line of a product bundle on a sales document, such as an order confirmation or an invoice. It is identified by a table ID, a record ID and an inventory transaction ID. It stores the item, quantity, price, discount, tax and amounts for the bundle. The amount fields come in transaction and accounting currency versions.

Table name
SalesBundleParent
Module
Sales and marketing
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
None
Replacement key
RefTableIdx
Key fields
RefTableId, RefRecId, InventTransId
Model
Bundle

Fields (44)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RefTableIdID of the table that holds the journal line.Integer
RefTableId
YesNone
RefRecIdSystem ID of the journal line this bundle belongs to.Int64
RefRecId
YesNone
InventTransIdLot ID of the bundle; points to the inventory transaction origin.String (20)
TradeInventTransId
YesInventTransOrigin.InventTransIdBundleSalesInvoiceBundleParentLineEntityBundleSalesInvoiceBundleParentLineEntityBundleSalesInvoiceBundleParentLineEntityand 7 more
CurrencyCodeCurrency code of the line.String (3)
CustCurrencyCode
NoCurrency.CurrencyCodeBundleSalesInvoiceBundleParentLineEntityBundleSalesOrderConfirmationBundleParentLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionPoints to the set of dimension values on the line.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdBundleSalesOrderConfirmationBundleParentLineEntity
DeliveryDateShip date of the line.Date
SalesShippingDate
YesBundleSalesOrderConfirmationBundleParentLineEntity
DeliveryTermThe terms of delivery for the line.String
SalesDlvTermId
NoDlvTerm.CodeBundleSalesOrderConfirmationBundleParentLineEntity
DeliveryTypeWhether the line is delivered from stock or by direct delivery.Enum
TradeLineDlvTypeId
TradeLineDlvType (enum)
NoNone
DiscountAmountDiscount amount on the line.Real
SalesDiscAmount
NoBundleSalesOrderConfirmationBundleParentLineEntity
DiscountPercentDiscount percentage on the line.Real
SalesDiscPercent
NoBundleSalesOrderConfirmationBundleParentLineEntity
ExternalItemIdThe item number used externally.String (20)
SalesExternalItemId
NoBundleSalesOrderConfirmationBundleParentLineEntity
InventDimIdPoints to the inventory dimensions of the line.String (20)
InventDimId
NoInventDim.inventDimIdBundleSalesInvoiceBundleParentLineEntity
InventQtyQuantity in the inventory unit.Real
InventQty
NoBundleSalesOrderConfirmationBundleParentLineEntity
ItemIdThe item of the bundle.String (20)
ItemId
YesInventTable.ItemIdBundleSalesOrderConfirmationBundleParentLineEntity
LineAmountLine amount; currency not stated in the metadata.Real
AmountCur
NoBundleSalesInvoiceBundleParentLineEntityBundleSalesOrderConfirmationBundleParentLineEntity
LineAmountMSTLine amount in the accounting currency.Real
AmountCur
NoNone
LineAmountTaxSales tax that is included in the line amount.Real
LineAmountTax
NoBundleSalesOrderConfirmationBundleParentLineEntity
LineAmountTaxMSTSales tax included in the amount, in the accounting currency.Real
LineAmountTaxMST
NoNone
LineDiscountLine discount amount per unit.Real
SalesLineDisc
NoBundleSalesOrderConfirmationBundleParentLineEntity
LineHeaderHeading text of the line.String (80)
LineHeader
YesNone
LineNumPosition number of the line.Real
LineNum
YesBundleSalesOrderConfirmationBundleParentLineEntity
LinePercentLine discount percentage.Real
SalesLinePercent
NoBundleSalesOrderConfirmationBundleParentLineEntity
MultiLineDiscountMultiline discount amount.Real
SalesMultiLnDisc
NoBundleSalesOrderConfirmationBundleParentLineEntity
MultiLinePercentMultiline discount percentage.Real
SalesMultiLnPercent
NoBundleSalesOrderConfirmationBundleParentLineEntity
NameDescription text of the line.String (1000)
ItemFreeTxt
YesBundleSalesInvoiceBundleParentLineEntityBundleSalesOrderConfirmationBundleParentLineEntity
OrderedOrdered quantity.Real
SalesQty
NoNone
ParentInventTransIdLot ID of the parent line.String (20)
TradeInventTransId
NoNone
ParentRefRecIdSystem ID of the parent bundle record.Int64
SalesBundleParentRefRecId
YesNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceUnitThe quantity that the price refers to.Real
PriceUnit
NoBundleSalesOrderConfirmationBundleParentLineEntity
QtyQuantity in the sales unit.Real
Qty
YesBundleSalesInvoiceBundleParentLineEntityBundleSalesOrderConfirmationBundleParentLineEntity
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
RootParentRefRecIdSystem ID of the top-level parent bundle record.Int64
SalesBundleParentRefRecId
YesNone
SalesCategoryPoints to the sales category.Int64
SalesCategory
NoEcoResCategory.RecIdNone
SalesPriceUnit price of the line.Real
SalesPrice
NoBundleSalesInvoiceBundleParentLineEntityBundleSalesOrderConfirmationBundleParentLineEntity
SalesUnitUnit of measure used for the sale.String
SalesUnit
YesUnitOfMeasure.SymbolBundleSalesInvoiceBundleParentLineEntityBundleSalesOrderConfirmationBundleParentLineEntity
SumLineDiscTotal line discount amount; currency not stated in the metadata.Real
SalesSumLineDiscAmount
NoBundleSalesInvoiceBundleParentLineEntity
SumLineDiscMSTTotal line discount in the accounting currency.Real
SalesSumLineDiscAmountMST
NoNone
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
TaxAmountSales tax amount; currency not stated in the metadata.Real
TaxAmountCur
NoBundleSalesOrderConfirmationBundleParentLineEntity
TaxAmountMSTSales tax amount in the accounting currency.Real
TaxAmount
NoNone

Indexes (3)

Relations (11)

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

  • CustConfirmJour → CustConfirmJour

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

    Zero or one SalesBundleParent record → zero or one CustConfirmJour record

  • CustInvoiceJour → CustInvoiceJour

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

    Zero or one SalesBundleParent record → zero or one CustInvoiceJour record

  • CustPackingSlipJour → CustPackingSlipJour

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

    Zero or one SalesBundleParent record → zero or one CustPackingSlipJour record

  • DeliveryTerm → DlvTerm

    Join on DeliveryTerm = DlvTerm.Code

    Many SalesBundleParent records → zero or one DlvTerm record

  • SalesCategory → EcoResCategory

    Join on SalesCategory = EcoResCategory.RecId

    Many SalesBundleParent records → zero or one EcoResCategory record

  • SalesUnit → UnitOfMeasure

    Join on SalesUnit = UnitOfMeasure.Symbol

    Many SalesBundleParent records → zero or one UnitOfMeasure record

  • InventTransId → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    One or more SalesBundleParent records → exactly one InventTransOrigin record

  • ItemId → InventTable

    Join on ItemId = InventTable.ItemId

    One or more SalesBundleParent records → exactly one InventTable record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many SalesBundleParent records → zero or one Currency record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many SalesBundleParent records → zero or one InventDim record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many SalesBundleParent records → zero or one DimensionAttributeValueSet record

Get this data out

Tables are not exposed directly. These public entities read from SalesBundleParent; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk