anchor.diff:  			SELECT *
   			FROM tblEPOS_Account
   			WHERE eaTillPayment = 'Yes'
  +			AND eaActive=1
   			ORDER BY eaOrder ASC, eaID ASC
   		</cfquery>
   
  
positive.code: 					<cfset loc.result.msg = "#barcode# barcode not found">
  				</cfif>
  			</cfif>
  			
  		<cfcatch type="any">
  			 <cfdump var="#cfcatch#" label="cfcatch" expand="yes" format="html" 
  
negative.code: 	<cffunction name="SearchProductByName" access="public" returntype="array" hint="load products and stock items for items actually stocked and active.">
  		<cfargument name="args" type="struct" required="yes">
  		<cfset var loc = {}>
  		<cfset loc.products = []>
  		<cftry>
  		
  			<cfquery name="loc.prods" datasource="#args.datasource#">
  				SELECT tblProducts.*, siUnitSize,siOurPrice, soDate, epcKey
  				FROM tblProducts
  				INNER JOIN tblStockItem ON prodID = siProduct
  				AND tblStockItem.siID = (
  					SELECT MAX( siID )
  					FROM tblStockItem
  					WHERE prodID = siProduct 
  					AND siStatus NOT IN ('returned','inactive','promo'))
  				INNER JOIN tblEPOS_Cats ON prodEposCatID=epcID
  				INNER JOIN tblStockOrder ON siOrder=soID
  				WHERE prodTitle LIKE '%#args.form.title#%'
  				AND soDate > #DateAdd("d",-365,Now())#	<!--- DATE_ADD(CURDATE(), - INTERVAL 365, DAYS)--->
  				ORDER BY prodTitle ASC, siUnitSize ASC, soDate DESC
  			</cfquery>
  			 <cfdump var="#loc.prods#" label="prods" expand="yes" format="html" 
  			 	output="#application.site.dir_logs#epos\dump-#DateFormat(Now(),'yyyymmdd')#-#TimeFormat(Now(),'HHMMSS')#.htm">
  
  		<cfcatch type="any">
  			 <cfdump var="#cfcatch#" label="cfcatch" expand="yes" format="html" 
  