on 12-30-2014 12:57 PM
Hi all
I have added new facet to Opportunity TI screen. I am trying to get the 'ProductID' from the Opportunity overview page.
Product ID in oppt overview page is associated with 'Opportunity/Item/ItemProduct/MaterialV1/InternalID' in BO Browser. But when I create a new tab using Extensibility explorer --> Add view to embedded component, it asks for binding. There I couldn't find the Opportunity outport with the same name.
In PublicOutportECOpportunityItem, there is no fields that matches with my inport. Is there any other approach to handle this? Or is this the standard outports we could access? If so there is a possibility to get ProductID or not??
Pls give your suggestions.
Thanks in advance
Regards
Swadini Sujanaranjan
Hi Swadini,
Get the Opportunity ID from the Public Outport and create an event to read the Opportunity from the ID to fill the BO model of EC. After this you can create the binding between your data model and BO model.
Hope you are looking for the same.
For more details with the screenshots
Thanks,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes Ravi. The parameter for ProductID is there but I couldnt get value by following the steps I did for Opportunity.
When I tried with the BObrowser/Datamodel for the standard ProductId its shows the corresponding field 'Opportunity/Item/ItemProduct/MaterialV1/InternalID' . But I am unable to find the same field in outport. That's where I got struck.
Your inputs pls.
Thanks in advance
Regards
Swadini Sujanaranjan
Yeah Ravi.
My requirement is to get the ProductID in my custom tab added in Opportunity. From this ProductID I need to use web service to get the bom details from on premise system.
Initially I need ProductID of the opportunity which is in the Overview page of Opportunity(ref screenshot at the original post).
This is the overview of my requirement Ravi. I am not clear whether I could get this or not.
Kindly provide your inputs.
Regards
Swadini Sujanaranjan
Hi Swadini,
If we have multiple products what should be displayed in your tab??
Here try with the option lazy loading while binding. May be it may fill the public outport parameters.
Otherwise we cannot modify the hyper link properties which you have shown in the screenshot(My understanding).
As a work around we can have a table view in the new tab which will show all products BOM details.
In this scenario we can use the Opportunity ID from the outport and in the events we can read the "Items" node and send these details through webservice and get the result and display them.
Thanks,
Ravi
Hi Swadini,
Here you need create a custom BO which can map with the Opportunity ID(Key) in the header level.
Add an action where you can write your custom logic.And create a node with the product along BOM parameters.
1) Create an EC and select the BO as your custom BO.
2) So in the inbound plug event, you need to create an event to read the custom BO.
3)If there is no entry in the DB , then you need to create an instance with the Opportunity ID.
4)Next event will be calling the BO-Action, inside that you can call the webservice.
5)In the same action you need to fill the BO->BOM node values.
6)In the EC you can bind the custom BO parameters to BO->BOM node parameters.
I hope it will work.
Best Regards,
Ravi
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.