Skip to Content
avatar image
Former Member

How to get ProductID in my custom facet

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

Oppt-mytab.PNG (53.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 31, 2014 at 04:06 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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