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.