When I try database-show query I get the following error
could not open data folder, data folder does not exist, it is not a timberline data folder, or the current operator does not have access.
after that I get the following sql
tsControlData ({@tsDataFolder},"Name" ,"I" )
This is in the record selection but I don't see where it fits in as a where clause?
{PJD_DOCUMENT__SUBMITTAL.Submittal_State} = "Awaiting Receipt" and
{PJD_DOCUMENT__DOCUMENT_CONTACT.Document_Type} = tsCustomDescription ({@tsDataFolder}, 605, ""

and
{PJD_DOCUMENT__DOCUMENT_CONTACT.Contact_Usage} = "Received From" and
{PJD_DOCUMENT__SUBMITTAL.Current_Revision_Sequence} = 1and
{PJM_MASTER__JOB.Job}={?Specific Job}
There isn't anything in the group section