on 03-31-2014 2:25 PM
Hi,
I copied 'My Agreements and contract document-Report',now I want to add one filter field status.How to modify this query to add this filter field status,so that I can get a report based on status.Can some throw light on this please?
Status are Draft/approved/executed/expired...
With Regards,
Jaheer.
Hi Jaheer,
Please refer below query
SELECT <%RESULTS%>
FROM <%SCHEMA%>.FCI_CONTRACT T2
LEFT OUTER JOIN <%SCHEMA%>.FCI_MAS_VALUE_LIST_VALUE T6
ON T2.STATUS_OBJECT_ID= T6.OBJECTID
LEFT OUTER JOIN <%SCHEMA%>.FCI_MAS_VALUE_LIST_TYPE T5
ON T6.PARENT_OBJECT_ID= T5.OBJECTID
WHERE T2.INACTIVE=0 AND T2.STATUS_OBJECT_ID=T6.OBJECTID AND
T6.OBJECTID=?
Jaheer you want filter as drop down or picker?
If drop down refer below screen shot
Please let us know if you need any further assistance.
Regards,
Raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jaheer,
Please include below query in your respective query so that only the owned agreements will be displayed in report.
WHERE DOC_OWNER_USER_OBJECT_ID =<%CURRENT_USER_ID%> or
WHERE DOC_OWNER_USER_OBJECT_NAME =<%CURRENT_USER_NAME%>
It will work for sure.
Please let us know if you have need further assistance
Regards,
Raj.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.