1

*** Troubleshooting Steps (please include screenshots / do you have a VMAS machine to share?)
With Repro Steps
Steps to reproduce
1. Open Visual Studio as Admin
2. Go to AOT/ Data Model/ Data Entities and find RetailTransactionDiscountLineEntity
3. Go to AOT/ Data Model/ Views and find RetailTransactionDiscountTransView
 
*** Actual Result:
Go to AOT/ Data Model/ Views and find RetailTransactionDiscountTransView
 
This view doesn’t contain information like SalesOrderId and InvoiceId but contains info like SaleOrderSalesStatus.
There is no Data entity based on this view.
 
*** Expected result:
This view should additionally contain information like SalesOrderId and InvoiceId.
There should be Data entity based on this view.

STATUS DETAILS
Declined
Ideas Administrator

This appears to be a product defect and should not be logged in the Ideas forum. If you are still having this issue, please log a case with the support team through LCS for triage and review. - Boyce Zhu, Principal Product Manager for Dynamics 365 Commerce