Quantcast
Channel: Gemalto Sentinel Customer Discussions
Viewing all articles
Browse latest Browse all 1619

How to write a query that has expiration date on product?

$
0
0
Hi,

We're using Sentinel EMS LDK v.7.9 and I want to write a query in report that have entitlement info with expiration on each product included in a entitlement.

However, going over the schema. I cannot find the expiration date for the product. Where is it stored in SQL?

Note I'm not looking for expiry of the entitlement, but the expiry of each product under a entitlement.

An example of my query will be: 

SELECT EID, createDate, T_ENT.RefId1, T_ENT.RefId2, CSTMRName, BillAddrState, ProductKeyID, T_ENT_PRODUCT_KEY.isEnabled, T_ENT_LINE_ITEM_PRD_SUITE.PrdSuiteLineItemId, PRDIdentifier, PRDName
FROM T_ENT, T_CSTMR, T_ENT_PRODUCT_KEY, T_ENT_LINE_ITEM_PRD_SUITE, T_PRD, T_ENT_LINE_ITEM
WHERE T_ENT.CSTMRId = T_CSTMR.CSTMRId 
AND T_CSTMR.CSTMRId = T_ENT_PRODUCT_KEY.CSTMRId
AND T_ENT_PRODUCT_KEY.LineItemId = T_ENT_LINE_ITEM_PRD_SUITE.LineItemId
AND T_ENT_PRODUCT_KEY.LineItemId = T_ENT_LINE_ITEM.LineItemId
AND T_ENT_LINE_ITEM_PRD_SUITE.LineItemId = T_ENT_LINE_ITEM.LineItemId
AND T_ENT_LINE_ITEM_PRD_SUITE.PRDId = T_PRD.PRDId
AND CSTMRName = 'XYZ'

Viewing all articles
Browse latest Browse all 1619

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>