Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Can we make a field private at code level in data entity?

(0) ShareShare
ReportReport
Posted on by 162

Hi ,

I am trying to export a data entity containing all the legal entity records. There are few columns which should be visible only for X legal entity records while few should be visible for Y legal entity records. Is there any way by which I can do it at code level?

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,552 Super User 2024 Season 1 on at
    RE: Can we make a field private at code level in data entity?

    Hi Harshal, Instead of managing it code level, you can create two Data Export Projects (one for legal entity X and another for Y). Use Applicable legal entity to apply the legal entity and remove fields in View map.

    pastedimage1686647102405v2.png

  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: Can we make a field private at code level in data entity?

    Hi Harshal Jain,

    I am not sure this can be done via code. But you can try using country region code property at field level on data entity.

    https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/lcs-solutions/apply-country-context

    Thanks,

    Girish S.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans