Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Release Products by Legal Entity

(0) ShareShare
ReportReport
Posted on by 15
I'm trying to find out what table there is that identifies what legal entity a product has been released to.  I do not want to go through each legal entity to try and find.  
  • Suggested answer
    sql-troubles@blogspot Profile Picture
    18 on at
    Release Products by Legal Entity
    You can use directly the dbo.InventTable table or the dbo.EcoResReleasedProductV2Entity entity. An entry is available for all the Legal entities the product is released to.
     
    SELECT ItemId
    , Max(CASE WHEN DataAreaId ='cnmf' THEN 1 ELSE 0 END) [cnmf]
    , Max(CASE WHEN DataAreaId ='demf' THEN 1 ELSE 0 END) [demf]
    , count(*) NoRecords
    FROM dbo.InventTable
    WHERE ItemId = 'D0001'
    GROUP BY ItemId
    ORDER BY NoRecords DESC
     
    If you have the System administrator role assigned in Dynamics 365, in many cases you can find the table behind a form by selecting from the menu: .. >> Options >> Page options >> Record info >> Record information >> Script >> (open file). The respective roles can be assigned at least on a Sandbox.


  • Dengliang Li Profile Picture
    Microsoft Employee on at
    Release Products by Legal Entity
    Hi,
     
    Please refer to the following threads which may be helpful.
    https://community.dynamics.com/forums/thread/details/?threadid=d3932deb-2eeb-437e-8f15-d79b7b7e7b60

    If it still doesn't solve your issue, it is recommended that you post it in the forum of the Dynamics application you are using, where experts will be able to provide more comprehensive solutions.
     
    Best Regards,
    Dengliang Li
     
     
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 181 Super User 2025 Season 1

#2
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 124 Super User 2025 Season 1

Product updates

Dynamics 365 release plans