cancel
Showing results for 
Search instead for 
Did you mean: 

How to read specific BO item data in XBO using item UUID?

ghanshyam_kamani
Explorer
0 Kudos

Dear Expert,

Requirement is to give Quantity schedule functionality(like standard functionality “Revenue schedule”) to client.

1.Created opportunity. XBO & created Node “ItemQuantityPlan” & data structure to hold data under “ITEM” node

2.Created EC & Screen & Bind it with Opportunity TI

In Inport: User selected ITEMUUID is coming correctly

Questions:

1.How do I read Opportunity BO with only user selected item (I don’t want all items to be read)?

2. What should be the Datamodel to read user selected item only?

2.Also I want to display ItemQuantity (Node) data on screen(page 1) into DataList for user selected item. How to achieve it?

Thanks,

Ghanshyam

former_member299368
Participant
0 Kudos

Hi GHANSHYAM KAMANI,

I have same requirement can you share some screen shots how you read the opportunity Bo and logic.

Thanks in advance.

Kreddy.

ghanshyam_kamani
Explorer
0 Kudos

Follow below steps:

1. get ItemUUID from opportunityTI to your Embedded component

2. In you Inport event handler, use READ BO operation using ITEMUUID

3. Bind your ROOT -> Opporutnity.Item

you will be able to resolve issue in reading Item level data.

Accepted Solutions (1)

Accepted Solutions (1)

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Ghanshyam,

If the ITEMUUID is an Alternative Key (or you have access to the NodeID direct) you should be able to trigger a retrieve of the resp. Item node by simply mapping the inport parameter to the data element mapped to the UUID / NodeID.

HTH,
. Horst

ghanshyam_kamani
Explorer
0 Kudos

Thanks Horst,

ITEMUUID is an Alternative key whihc I am getting thru Inport in EC. I have also mapped inport parameter to the data element mapped to item UUID.

Still its always read complete BO with all items.

Can you please let me know, Is there anything missing? Please help me with data model binding.

As just started with C4C, Your help would be really appreciated.

Thanks,

Ghanshyam

Answers (1)

Answers (1)

ghanshyam_kamani
Explorer
0 Kudos

Thanks Horst.

Issue resolved.

Thanks,

Ghanshyam

RaviTejaGuptha
Active Participant
0 Kudos

Hi Ghanashyam,

Could you please provide more details on this topic?

I have added few fields in the Item node, and i want to show these custom fields in the new EC.

These details needs to get change according to selected Item.

Can we use the ItemUUID directly to read BO Operation?

Thanks,

Ravi Teja

ghanshyam_kamani
Explorer

Yes, you can use ItemUUID to read Opportunity Item. Implement Data Model in such a way so that it can only holds a single Item result.

RaviTejaGuptha
Active Participant
0 Kudos
2018-06-06-14h22-01.png

Hi Ghanshyam,

Thanks for your quick reply.

I have tried in the same way. But I am not able to read the Item details.

Please find the binding and event details

Can you please let me know where I am doing wrong?

I can see the inport is properly getting the details. After that it is not able to read the BO Item.

Regards,

Ravi Teja

RaviTejaGuptha
Active Participant
0 Kudos

Horst Schaude

GHANSHYAM KAMANI

Any comments/ideas?

Thank you.