Quantcast
Channel: Sam's Activities
Viewing all articles
Browse latest Browse all 3363

CRM 2016 -- JavaScript OnLoad: Set Field based on different Entity Field

$
0
0

Problem:

Entity 1: Contains a Two Options field that, when set, effects the data in a related entity (Sub-Grid, N:N relationship entity (Entity 2))

Entity 2: Contains a Two Options field that I wish to have set to what the Entity 1 Two Options field is OnLoad*

I can't use a workflow to update this data because I need the data present OnLoad, before creation of the record.

I need this field set so that I can process some Business Rules on the record before the creation of the record, restricting or enabling fields based on the Entity 1 Two Options field.

To explain differently, I need to pass the Entity 1 Field to the Entity 2 Field on the load of the screen, using JavaScript.


Viewing all articles
Browse latest Browse all 3363

Trending Articles



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