<cfcomponent>
	<cffunction name="DeletePayRoll" returntype="any" access="remote"  hint="delete the payroll" >
		<cfargument name="Payroll_ID" required="true" >		
		<cftry>
        	<cfquery  datasource="#Application.DataSrc#">
				Delete from #Request.prefix_db_agency#.Employee_Payroll where EmpPay_ID = '#Payroll_ID#'
			</cfquery>    
			<cfreturn 'Deleted'>    
        <cfcatch type="Any" >
			 <cfreturn #cfcatch.QueryError#>
        </cfcatch>       	
        </cftry>        
	</cffunction>
</cfcomponent>