Question: I have a model driven apps dataverse table in SMART Audit Customer with columns, art _ AccountManager ( lookup column to SMART Audit Auditors table
I have a model driven apps dataverse table in SMART Audit Customer with columns,
artAccountManager lookup column to SMART Audit Auditors table
artRep lookup column to SMART Audit Auditors table
OwnerId owner datatype column system required column
artCustomer lookup looking to Customers Vtable
Write JavaScript to change ownership and define Account Manager and Rep based on related D customer. If D Customer is not assigned, make Account manager Owner.
If assigned,
Account manager Customers V EMPLOYEERESPONSIBLENUMBER
Sales Rep 'Customer postal addresses' GROSALESREPGPOPERSONNELNUMBER
Use address where Primary true
Record ownership:
First use Account Manager, else Sales Rep
In JS check for nulls for Account manager and rep. If both are null, can't reassign the record.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
