on 03-07-2013 4:26 PM
Hi all.
I need to create an OData service from an already existing GenIL dynamic query for CRM Activity objects.
I've followed a couple of tutorials found here on SDN, but I still need some more information since those documents are too general and don't cover this specific scenario.
When going to 'Redefine -> GenIL service', I choose the GenIL component 'BT', as it is the model for all Business Transactions.
After filling the classes names in the next screen, I am prompted to choose the Entities and associations I want to include in the service, and here is my problem. This window doesn't show the query I need, it only shows a few others not relevant to this case.
The query I need to run is BTQAct. Any idea on how to create a service from that Dynamic query?
Thanks in advance for your help.
I've gone through almost all online documentation so far, but I'm new in the topic, can't find the answer on my own so far!
Hi Federico,
In GenIL query objects are associated with a root/access/dependent object. So, during the generation process, only root/access/dependent object are converted into entities and not the query objects.
If the generation is successful, in your generated Metadata class, in method ~GET_DEFAULT_QUERY , you will find that each of the entities will have a default query(simple/dynamic) associated with it, which subsequently helps retrieving the data from CRM.
Please check the following link:
Best regards,
Aakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.