Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

When releasing products only for few legal entities showing values for custom display method other legal entities does not showing values.

Posted on by 148

Hello everyone,

My scenario : 

I have 4 legal entities like MH01, MHQA, MHOM, MHBH.

I created one item named as ApntTest in MH01 legal entity.

I have one customized field category name (display method).

when releasing above item to other legal entities only for MH01 and MHQA showing that category name remaining two legal doesn't showing values.

I checked in sql Item is creating for all legal entities but category is created only in 2 legal enitties. consider below image.

pastedimage1676373804143v1.png

  • Prasanth Profile Picture
    Prasanth 148 on at
    RE: When releasing products only for few legal entities showing values for custom display method other legal entities does not showing values.

    Thank u for repsonding André Arnaud de Calavon

    I fixed above issue, in parameters set up missing so it's not coming for few lwgal entities.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: When releasing products only for few legal entities showing values for custom display method other legal entities does not showing values.

    Hi Prasanth123,

    The EcoRes tables are global, so it should be related to the InventParameters table. Have you checked if the value of the custom field ApntCategoryHierarchy has the correct value in all legal entities?

  • Prasanth Profile Picture
    Prasanth 148 on at
    RE: When releasing products only for few legal entities showing values for custom display method other legal entities does not showing values.

     public display EcoResCategoryName apntGetProductCategoryName()
        {
            EcoResProductCategory   ecoResProductCategory;
            EcoResCategory          ecoResCategory;
            InventParameters        inventParameter = InventParameters::find();
    
            select firstonly ecoResCategory
                join ecoResProductCategory
                where ecoResProductCategory.Category            == ecoResCategory.RecId
                   && ecoResProductCategory.CategoryHierarchy   == inventParameter.ApntCategoryHierarchy
                   && ecoResProductCategory.Product             == this.Product;
    
            return ecoResCategory.Name;
        }

    above is the display method.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans