SELECT Wi.ReferenceNumber AS workflowinstancereference, System.Fn_FormatDate(MeetingDate,'dd MMM yyyy') AS meetdate, Ard.ApplicationNumber
				FROM App.ApplicationDetails Ard
				INNER JOIN Wf.WorkflowInstances Wi ON Ard.WorkflowInstanceID = Wi.WorkflowInstanceID
				LEFT JOIN App.AdjudicationDetails ad ON ad.AdjudicationDetailID = Ard.AdjudicationDetailID
				WHERE  Ard.ApplicationDetailID = [[applicationdetailid]]