Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

CRM 2011 - Update attribute on Relative Entity Using oData/JavaScript

$
0
0

Hi Forum,

Is it possible to update related entity attribute using oData and javascript.

For example, I have following 2 entities with one to many relationship.

1. Apartment

2. Tenant

In CRM, on 'Apratment' form I have a lookup field  'Tenant'. In Tenant entity I have a attribute call "End Date".

Now, whenever user change the Tenant lookup field on Apartment form, value of the "End Date" in tenant entity should get change to todays date.

Is this possible by using oData ? If yes, any link or reference would be much appreciated. I know it can be done easily using pre and post image in plug-in

but would like to try with oData and JavaScript

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 8223

Trending Articles



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