on 08-02-2013 5:16 PM
Hi,
I am facing a problem while listing the current/active collaborators by MA(Master Agreement) and AG(Sub Agreement). collaborators are in the header record.
while joining table FCI_DOC_COLLABORATOR and FCI_CONTRACT on PARENT_OBJECT_ID=OBJECTID,
the resulted reports shows all the collaborators both active and inactive.
I want to filter only active collaborators, but I can't find a field to filter it.
Could you please suggest?
Thanks In Advance,
Roopesh Vardhan
Hi Roopesh,
You might also want to join on User Account to be able to retrieve user inactive status.
Sample query:
SELECT <%RESULTS%>
FROM <%SCHEMA%>.FCI_CONTRACT T1
INNER JOIN <%SCHEMA%>.FCI_DOC_COLLABORATOR T2 ON T2.PARENT_OBJECT_ID = T1.OBJECTID
INNER JOIN <%SCHEMA%>.FCI_UPP_USER_ACCOUNT T3 ON T2.USER_NAME_OBJECT_ID = T3.OBJECTID
WHERE
T3.INACTIVE = 0
Results: (I selected these columns to be able to see the desired results)
T1.UNIQUE_DOC_NAME
T2.DISPLAY_NAME
T3.INACTIVE
This will give the active collaborators. However, you may want to change the where clause to add more filtering according to your requirements.
Hope this helps!
Thanks and regards,
Bindu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bindu,
This was really a helpful answer,
I have one more doubt adding a extension definition by hiding the original comment field which we will find after reviewing the contract document and adding a Extension TEXT field in the place of the original.
I Did it by adding "Workflow Approval Wizard", but I could not find data from that which we get from the database
But I could not find any data from the table FCI_DYN_2147482848.
Can you please help !!
Thanks,
Roopesh
Hi Roopesh,
If you observe your screenshots carefully then,
Could you pls recheck and let me know.
Regards,
Vignesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.