web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Create a record with ownerid mapped in relationship

(0) ShareShare
ReportReport
Posted on by

Hello,

I've mapped the field ownerid on a N:1 relationship on my entity.

It works fine, it affects well the ownerid, owneridtype, owningbusinessunit. And in the PrincipalObjectAccess, there is no record.

But why if i don't map the ownerid and i just create a new record, a record is created in the PrincipalObjectAccess table, do you know why ?

Is-it permit to map the ownerid ?

Thanks,

Sebastien

*This post is locked for comments

I have the same question (0)
  • tw0sh3ds Profile Picture
    5,600 on at

    Hi,

    There can be quadrillion reasons for such behaviour, you have to be more specific:

    1) what is the behaviour of this relationship  - Parental/Referental/Cascading?

    2) how are you creating the related record? From parent record or somehow independently?

    3) what says this POA record? For which object it was created, with what AccessRightMask, InheritedAccessRight, what is the PrincipalId?

    Maybe provide some screenshots to make it easier to understand what you are doing

  • Suggested answer
    Tushar2016CRM Profile Picture
    1,130 on at

    HI ,

    Mapping only will work if you create the records from the parent entity and thus you might not be seeing this behaviour when your creating the records directly as the ownerid is not copied over from previous screen .

    Thanks

  • Community Member Profile Picture
    on at

    Hi,

    1) parental

    2) from parent record

    3) f i map ownerid from parent to my entity, there is no new record in POA. If i don't map the ownerid, there is a new record insert in POA, and i understand why these difference ?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans