Hi Wasim,
Use qs.appendWhere(sc,new int[]{ 0 }); and cast qs with (StatementSpec) when you are using Persistencehelper.manager.find
To get container reference from WTContainer you can use cont.getContainerReference(); also.
Thanks and Regards,
Kaushik
Message was edited by: kaushik das