Hi Experts,
I have two entities say A and B with relation of (A)1:N(B).
I have an option set O with values 1, 2, 3, 4 and sits on entity A. This value of O can change anytime on a particular record.
Now i want same option set on entity B, and want to map and change the value of O on B with the same value as on A.
eg.
Say on a record to begin with, A--> O = 2 then I want on all related records of B to be set as O = 2
When on the same record, value changes to say 1, A-> O = 1 then all related records of B--> O must change to 1.
Any suggestions please.
Note: we are d365 on-premise
Thanks,
PS
Great! You're welcome!
Thanks for your reply Charan, keeping it out of box, Quick view form worked.
Hi Dian,
Thank you for your reply, that's what i did and it worked.
Thanks,
PS
It looks like the option set of the B table needs to have the same value as the option set on the A table. Instead of building a separate option set on the B table and having to update the value, why don't you create a quick view form with the optionset field from the A table and place the form on the 'B' table? This way you'll be able to see the value. You can also create views for the 'B' table where you pull in the option set from the 'A' table.
Hi PS10,
Create plug-in steps which triggers on update of option set field O on entity A and on create of entity B.
Plug-in step which triggers on update of field on entity A sets the option set field O on all child records of B entity from parent record of entity A.
Plug-in step which triggers on create of entity B record will set the option set field O on record of B entity (which is being created) from parent record of entity A. This create plug-in step can also be replaced by field mapping under the N:1 relationship on entity B.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,963 Most Valuable Professional
nmaenpaa 101,156