I am creating a GI which will list all the lines and their columns from the relations tab for each opportunity record.
The following tables have been used for the GI: CRRelations, CR Contact, CR Opportunitiy, CR Leads, BAccount, So Sales Orders.
I am having difficulty showing the status of each line, as this could come form a number of tables (i.e. sales order, leads, customer, etc.) I have tried using the ‘Target Type’ from the Relations table in an IF statement, but I don’t seem to be getting the name of the type ‘name’ correct.
Does anyone know how this can be achieved in possibly a simpler way?
Thank you.
Best answer by hkabiri
@suemackeown13 Regarding the status, the status should be derived from each target type corresponding table. Like Sales Order SOOrder.Status and…
Below is the mapping for Target entity Table name and Value on CRRelation.TargetType.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.