This content has been marked as final. Show 2 replies
It seems this one is working:
<property name="inventoryLevel" data-type="long" writable="false" readable="true" category-resource="Info">
But still, I'm getting an UnsupportedFeatuerException, anyone knows what could be causing this exception?
If you refer to the API docs for atg.commerce.dp.InventoryLevelDerivation here:
Some methods are clearly mentioned to be as not supported. Based on all that I think derivePropertyValue(java.lang.Object pBean) and createQuery(..) methods are the most likely ones which can probably throw UnsupportedFeatuerException. See if your exception stack-trace contains any of these. I am not sure but you can try to add the attribute queryable="false" within your property declaration and see if it helps in avoiding UnsupportedFeatuerException.
Edited by: Nitin Khare on Nov 14, 2012 10:20 AM