cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve/Query data from BO?

former_member187270
Participant
0 Kudos

Hi Experts,

Is it possible to Query/Retrieve the data from standard BO like AddressSnapshot, UsedAddress, Party, PartnerAddress. I find no option to execute the query in repository explorer.

Thanks,

Quddus.

View Entire Topic
former_member186648
Active Contributor
0 Kudos

Hi Quddus,

You should be able to retrieve it.

Syntax:

var result = <BOName>.Retrieve(<Collection of alternative keys>);

Thanks, Pradeep.

former_member187270
Participant
0 Kudos

Hi Pradeep,

I am trying to retrieve the data as suggested by you.

In script file i have imported the name space and looking for retrieve method but no success.

Thanks,

Quddus.

former_member186648
Active Contributor
0 Kudos

Because, UsedAddress doesn't have alternative key on the Root node.

It works for Party BO.

former_member187270
Participant
0 Kudos

Yes Pradeep, It is working for party BO. Initially i was looking for UsedAddress BO. I found no query in Repository Explorer and then i check for retrieve method in ABSL there also no success and was looking further and i came across the other BO which do not have query in Repository explorer. So i post directly the BO name which out cross checking it in script. Sorry for that

 

But i was working specifically for used address. Could you shade some light on that.

Thanks,

Quddus.

former_member187270
Participant
0 Kudos

Thanks Pradeep. Is there any way to get the data from UsedAddress BO either from script or from UI.

Thanks,

Quddus.

former_member186648
Active Contributor
0 Kudos

Hi Quddus,

UsedAddress doesn't have query and it doesn't have any alternative key, so you cannot directly retrive data for this BO.
You can navigate from Host BO to this BO via association only.

Thanks, Pradeep.