Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Plugin: Obtaining information from related entity

$
0
0

Hi experts - I am writing a plugin.  We have a 1:N relationship between contract (one) to contract change (many)

Scenario: on create of a contract change I need to get information from the related contract in order to populate a field on the contract change.

As I am writing my first plugin I'm unsure how to proceed. How do I get a reference to the related contract entity so that I might obtain the value of the "documenturl" attribute on the contract entity?

All the samples I'm finding via google are creating the "N" side of the relationship whereas I am trying to obtain reference to the 1: side of the relationship.

Any guidance would be greatly appreciated.

Diane


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>