I'm trying to do kind of an onSave data validation script on the Incident entity. I want to check a value on the Incident's parent customer (Account) to see if they're authorized for the type of Incident the user is trying to create. If yes, the Incident will save. If no, the save will be interrupted and an alert will inform the user that the customer is not authorized.
So, my question is... what function can I use to check the value of the field on the parent Account? Is there something like Xrm.Page.Parent.GetAttribute ?
I appreciate any guidance.
*This post is locked for comments
I have the same question (0)