Data entity
SalesVoidedSalesOrderLineEntity
Read-only lines of voided sales orders, keyed by inventory lot ID. Each line holds item, category, net amount, text and project. It also holds inventory dimensions and customer and invoice accounts from the voided order.
- Entity name
SalesVoidedSalesOrderLineEntity- Public entity name
VoidedSalesOrderLine- OData collection
VoidedSalesOrderLines- Category
Document- Module
Sales and marketing- Read-only
Yes- Data management enabled
Yes- Configuration key
LogisticsBasic- Keys
InventoryLotId- Staging table
SalesVoidedSalesOrderLineStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/VoidedSalesOrderLines- Dataverse virtual table
mserp_salesvoidedsalesorderlineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
SalesLineDelete· rootInventDim· InnerJoin toSalesLineDeleteSalesTableDelete· InnerJoin toSalesLineDeleteSalesCategory(tableEcoResCategory) · OuterJoin toSalesLineDelete· read-onlyPCClass· Derived toSalesCategory
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ProjectActivityNumberNumber of the activity linked to the voided line. | String (50)ProjActivityNumber | No | Yes | smmActivities.ActivityNumber | SalesLineDelete.ActivityNumber |
ItemNumberItem number on the voided line. | String (20)ItemIdSmall | Yes | Yes | InventTable.ItemId | SalesLineDelete.ItemId |
LineAmountNet amount of the voided line. | RealSalesLineAmount | No | Yes | SalesLineDelete.LineAmount | |
LineNumberPosition of the line in the order. | RealLineNum | No | Yes | SalesLineDelete.LineNum | |
LineDescriptionFree text for the line. | String (1000)ItemFreeTxt | No | Yes | SalesLineDelete.Name | |
ProjectCategoryIdProject category linked to the line. | String (30)ProjCategoryId | No | Yes | ProjCategory.CategoryId | SalesLineDelete.ProjCategoryId |
ProjectIdProject linked to the line. | String (20)ProjId | No | Yes | ProjTable.ProjId | SalesLineDelete.ProjId |
SalesOrderNumberID of the voided sales order. It is the key of the table. | String (20)SalesIdDelete | Yes | Yes | SalesTable.SalesId | SalesTableDelete.SalesId |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
ItemBatchNumberBatch number of the inventory. | String (20)InventBatchId | No | Yes | InventDim.inventBatchId | |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ShippingWarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
ShippingSiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
OrderedInventoryStatusIdInventory status of the stock. | StringWHSInventStatusId | No | Yes | WHSInventStatus.InventStatusId | InventDim.InventStatusId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | Yes | EcoResVersion.Name | InventDim.InventVersionId |
SalesProductCategoryNameName of the category. | String (254)EcoResCategoryName | Yes | Yes | EcoResCategory.Name | |
InventoryLotIdLot ID that identifies the voided order line. It is the key of the table. | String (20)TradeInventTransId | Yes | Yes | InventTransOrigin.InventTransId | SalesLineDelete.InventTransId |
InvoiceCustomerAccountNumberCustomer account that would be invoiced. | String (20)CustInvoiceAccount | No | Yes | CustTable.AccountNum | SalesTableDelete.InvoiceAccount |
OrderingCustomerAccountNumberCustomer account of the voided order. | String (20)CustAccount | No | Yes | CustTable.AccountNum | SalesTableDelete.CustAccount |
Foreign keys (16)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
ProjectActivityNumber→smmActivities.ActivityNumber(key of smmActivities)Many SalesLineDelete records → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
ItemNumber→InventTable.ItemId(key of InventTable)Many SalesLineDelete records → exactly one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
ProjectCategoryId→ProjCategory.CategoryId(key of ProjCategory)Many SalesLineDelete records → zero or one ProjCategory record
ProjCategory details: see ProjectCategoryEntity, ProjControlCostGroupCategoriesEntity, ResResourceSetupDataEntity
ProjectId→ProjTable.ProjId(key of ProjTable)Many SalesLineDelete records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
SalesOrderNumber→SalesTable.SalesId(key of SalesTable)Cardinality not set in the metadata.
SalesTable details: see SalesOrderHeaderV3Entity, SalesOrderHeaderV2Entity, SalesOrderHeaderV4Entity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
ShippingWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
ShippingSiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
OrderedInventoryStatusId→WHSInventStatus.InventStatusId(key of WHSInventStatus)Many InventDim records → zero or one WHSInventStatus record
WHSInventStatus details: see WHSInventoryStatusEntity, WHSInventStatusCDREntity
ProductStyleId→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
ProductVersionId→EcoResVersion.Name(key of EcoResVersion)Many InventDim records → zero or one EcoResVersion record
EcoResVersion details: see EcoResProductMasterVersionEntity, EcoResProductMasterVersionTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
InventoryLotId→InventTransOrigin.InventTransId(key of InventTransOrigin)Exactly one SalesLineDelete record → exactly one InventTransOrigin record
InventTransOrigin details: see WHSOrderCommittedLicensePlateReservationEntity, InventTransOriginBiEntity, InventTransOriginCDREntity
InvoiceCustomerAccountNumber→CustTable.AccountNum(key of CustTable)Many SalesTableDelete records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
OrderingCustomerAccountNumber→CustTable.AccountNum(key of CustTable)Many SalesTableDelete records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
Need help with SalesVoidedSalesOrderLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.