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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RefTableIdID of the table that holds the journal line. | IntegerRefTableId | Yes | None | |
RefRecIdSystem ID of the journal line this bundle belongs to. | Int64RefRecId | Yes | None | |
InventTransIdLot ID of the bundle; points to the inventory transaction origin. | String (20)TradeInventTransId | Yes | InventTransOrigin.InventTransId | BundleSalesInvoiceBundleParentLineEntityBundleSalesInvoiceBundleParentLineEntityBundleSalesInvoiceBundleParentLineEntityand 7 more |
CurrencyCodeCurrency code of the line. | String (3)CustCurrencyCode | No | Currency.CurrencyCode | BundleSalesInvoiceBundleParentLineEntityBundleSalesOrderConfirmationBundleParentLineEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionPoints to the set of dimension values on the line. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | BundleSalesOrderConfirmationBundleParentLineEntity |
DeliveryDateShip date of the line. | DateSalesShippingDate | Yes | BundleSalesOrderConfirmationBundleParentLineEntity | |
DeliveryTermThe terms of delivery for the line. | StringSalesDlvTermId | No | DlvTerm.Code | BundleSalesOrderConfirmationBundleParentLineEntity |
DeliveryTypeWhether the line is delivered from stock or by direct delivery. | EnumTradeLineDlvTypeIdTradeLineDlvType (enum) | No | None | |
DiscountAmountDiscount amount on the line. | RealSalesDiscAmount | No | BundleSalesOrderConfirmationBundleParentLineEntity | |
DiscountPercentDiscount percentage on the line. | RealSalesDiscPercent | No | BundleSalesOrderConfirmationBundleParentLineEntity | |
ExternalItemIdThe item number used externally. | String (20)SalesExternalItemId | No | BundleSalesOrderConfirmationBundleParentLineEntity | |
InventDimIdPoints to the inventory dimensions of the line. | String (20)InventDimId | No | InventDim.inventDimId | BundleSalesInvoiceBundleParentLineEntity |
InventQtyQuantity in the inventory unit. | RealInventQty | No | BundleSalesOrderConfirmationBundleParentLineEntity | |
ItemIdThe item of the bundle. | String (20)ItemId | Yes | InventTable.ItemId | BundleSalesOrderConfirmationBundleParentLineEntity |
LineAmountLine amount; currency not stated in the metadata. | RealAmountCur | No | BundleSalesInvoiceBundleParentLineEntityBundleSalesOrderConfirmationBundleParentLineEntity | |
LineAmountMSTLine amount in the accounting currency. | RealAmountCur | No | None | |
LineAmountTaxSales tax that is included in the line amount. | RealLineAmountTax | No | BundleSalesOrderConfirmationBundleParentLineEntity | |
LineAmountTaxMSTSales tax included in the amount, in the accounting currency. | RealLineAmountTaxMST | No | None | |
LineDiscountLine discount amount per unit. | RealSalesLineDisc | No | BundleSalesOrderConfirmationBundleParentLineEntity | |
LineHeaderHeading text of the line. | String (80)LineHeader | Yes | None | |
LineNumPosition number of the line. | RealLineNum | Yes | BundleSalesOrderConfirmationBundleParentLineEntity | |
LinePercentLine discount percentage. | RealSalesLinePercent | No | BundleSalesOrderConfirmationBundleParentLineEntity | |
MultiLineDiscountMultiline discount amount. | RealSalesMultiLnDisc | No | BundleSalesOrderConfirmationBundleParentLineEntity | |
MultiLinePercentMultiline discount percentage. | RealSalesMultiLnPercent | No | BundleSalesOrderConfirmationBundleParentLineEntity | |
NameDescription text of the line. | String (1000)ItemFreeTxt | Yes | BundleSalesInvoiceBundleParentLineEntityBundleSalesOrderConfirmationBundleParentLineEntity | |
OrderedOrdered quantity. | RealSalesQty | No | None | |
ParentInventTransIdLot ID of the parent line. | String (20)TradeInventTransId | No | None | |
ParentRefRecIdSystem ID of the parent bundle record. | Int64SalesBundleParentRefRecId | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceUnitThe quantity that the price refers to. | RealPriceUnit | No | BundleSalesOrderConfirmationBundleParentLineEntity | |
QtyQuantity in the sales unit. | RealQty | Yes | BundleSalesInvoiceBundleParentLineEntityBundleSalesOrderConfirmationBundleParentLineEntity | |
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 | |
RootParentRefRecIdSystem ID of the top-level parent bundle record. | Int64SalesBundleParentRefRecId | Yes | None | |
SalesCategoryPoints to the sales category. | Int64SalesCategory | No | EcoResCategory.RecId | None |
SalesPriceUnit price of the line. | RealSalesPrice | No | BundleSalesInvoiceBundleParentLineEntityBundleSalesOrderConfirmationBundleParentLineEntity | |
SalesUnitUnit of measure used for the sale. | StringSalesUnit | Yes | UnitOfMeasure.Symbol | BundleSalesInvoiceBundleParentLineEntityBundleSalesOrderConfirmationBundleParentLineEntity |
SumLineDiscTotal line discount amount; currency not stated in the metadata. | RealSalesSumLineDiscAmount | No | BundleSalesInvoiceBundleParentLineEntity | |
SumLineDiscMSTTotal line discount in the accounting currency. | RealSalesSumLineDiscAmountMST | No | 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 | |
TaxAmountSales tax amount; currency not stated in the metadata. | RealTaxAmountCur | No | BundleSalesOrderConfirmationBundleParentLineEntity | |
TaxAmountMSTSales tax amount in the accounting currency. | RealTaxAmount | No | None |
Indexes (3)
RefTableIdxReplacement keyRefTableId,RefRecId,InventTransIdUnique, alternate key.
ParentIdxNot unique.
RootParentIdxNot unique.
Relations (11)
Each relation joins SalesBundleParent to another table on the fields shown.
CustConfirmJour→CustConfirmJourJoin on
RefTableId = CustConfirmJour.TableId,RefRecId = CustConfirmJour.RecIdZero or one SalesBundleParent record → zero or one CustConfirmJour record
CustInvoiceJour→CustInvoiceJourJoin on
RefTableId = CustInvoiceJour.TableId,RefRecId = CustInvoiceJour.RecIdZero or one SalesBundleParent record → zero or one CustInvoiceJour record
CustPackingSlipJour→CustPackingSlipJourJoin on
RefTableId = CustPackingSlipJour.TableId,RefRecId = CustPackingSlipJour.RecIdZero or one SalesBundleParent record → zero or one CustPackingSlipJour record
DeliveryTerm→DlvTermJoin on
DeliveryTerm = DlvTerm.CodeMany SalesBundleParent records → zero or one DlvTerm record
SalesCategory→EcoResCategoryJoin on
SalesCategory = EcoResCategory.RecIdMany SalesBundleParent records → zero or one EcoResCategory record
SalesUnit→UnitOfMeasureJoin on
SalesUnit = UnitOfMeasure.SymbolMany SalesBundleParent records → zero or one UnitOfMeasure record
InventTransId→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdOne or more SalesBundleParent records → exactly one InventTransOrigin record
ItemId→InventTableJoin on
ItemId = InventTable.ItemIdOne or more SalesBundleParent records → exactly one InventTable record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany SalesBundleParent records → zero or one Currency record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany SalesBundleParent records → zero or one InventDim record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany 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.
BundleSalesInvoiceBundleParentLineEntity· 11 fields from this tableBundleSalesOrderConfirmationBundleParentLineEntity· 25 fields from this tableBundleSalesInvoiceLineEntity· 2 fields from this tableBundleSalesOrderConfirmationLineEntity· 2 fields from this table
Need help with SalesBundleParent in a report, an integration or a migration? Talk to Dr Dynamics.