Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Need CoveredLevel PVO on OSMC algorithm with AssetId as query parameter

edited Nov 23, 2024 9:46AM in Subscription Management 2 comments

Dear experts,

I need to get max(EndDate) from Coveredlevel by passing CoveredAssetId as parameter in OSMC Algortihm ( I have code to get coveredassetid for the service line) equivalent to below query.

"Select max(EndDate) from oss_product_associations where covered_asset_id = 'xxxxxxxxx' "

To implement this I am to create a view object query function in the algorithm. But sadly there is no coveredlevel PVO available exposed to algorithm. Secondly there are certain VOs available in algo already for e.g. SubscriptionProductVO , ProductAssociationsOM etc. but these are not having any AssetId attribute.

Need your advise in this regard.

Thanks.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!